ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

zhazha's profile - activity

2022-01-30 12:18:41 -0500 received badge  Famous Question (source)
2021-09-10 05:19:06 -0500 received badge  Famous Question (source)
2021-08-09 19:16:31 -0500 received badge  Famous Question (source)
2021-06-22 20:28:28 -0500 received badge  Notable Question (source)
2021-06-22 20:28:28 -0500 received badge  Popular Question (source)
2021-05-19 10:47:43 -0500 marked best answer actionlib shutdown beacuse of getState()

the code is be like:

return this->moveBaseClient->getState();

while moveBaseClient is:

typedef actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> MoveBaseClient;
std::shared_ptr<MoveBaseClient> moveBaseClient;

calling at 20hz and this happened:

robot_decision_node: /opt/ros/kinetic/include/actionlib/managed_list.h:168: const T& actionlib::ManagedList<T>::Handle::getElem() const [with T = boost::shared_ptr<actionlib::CommStateMachine<move_base_msgs::MoveBaseAction_<std::allocator<void> > > >]: Assertion `valid_' failed.

Am i using getState wrong?

i chage the frequency to 10hz, now it works fine.

but it's still a bug?

2021-05-11 09:42:39 -0500 received badge  Famous Question (source)
2021-05-11 07:17:13 -0500 received badge  Notable Question (source)
2021-03-31 03:42:25 -0500 asked a question When using cartographer, the tf between base_link and map rotated and transformed a lot after add imu

When using cartographer, the tf between base_link and map rotated and transformed a lot after add imu Without imu, carto

2021-03-28 21:39:22 -0500 asked a question roslog not in time

roslog not in time hi,roslog didn't write log in time. When i start a node, the log file contains nothing for a few mi

2021-03-18 02:51:50 -0500 received badge  Popular Question (source)
2021-02-25 03:52:45 -0500 received badge  Notable Question (source)
2021-02-01 20:20:14 -0500 edited question couldn't kill node through rosnode kill with moditied (rosnode kill)XMLRPC callback

couldn't kill node through rosnode kill with moditied (rosnode kill)XMLRPC callback trying to copy the code from here

2021-02-01 20:10:26 -0500 received badge  Organizer (source)
2021-02-01 20:09:07 -0500 asked a question couldn't kill node through rosnode kill with moditied (rosnode kill)XMLRPC callback

couldn't kill node through rosnode kill with moditied (rosnode kill)XMLRPC callback trying to copy the code from here

2021-02-01 19:59:48 -0500 received badge  Notable Question (source)
2020-12-06 21:10:53 -0500 edited question actionlib shutdown beacuse of getState()

actionlib shutdown beacuse of getState() the code is be like: return this->moveBaseClient->getState(); while

2020-12-06 19:11:19 -0500 commented answer actionlib shutdown beacuse of getState()

i have initialized the pointer like this: if (!moveBaseClient.get()) { moveBaseClient = std::make_shared<mov

2020-12-06 05:43:01 -0500 received badge  Popular Question (source)
2020-12-01 19:56:16 -0500 commented question actionlib shutdown beacuse of getState()

hi,i have updated the question with defination of moveBaseClient

2020-12-01 19:54:40 -0500 edited question actionlib shutdown beacuse of getState()

actionlib shutdown beacuse of getState() the code is be like: return this->moveBaseClient->getState(); while

2020-12-01 19:54:40 -0500 received badge  Editor (source)
2020-12-01 03:58:43 -0500 commented answer Can I just get odom from imu integral?

thank you!

2020-12-01 03:58:33 -0500 received badge  Supporter (source)
2020-11-30 20:53:26 -0500 asked a question actionlib shutdown beacuse of getState()

actionlib shutdown beacuse of getState() the code is be like: return this->moveBaseClient->getState(); callin

2020-10-14 22:49:59 -0500 received badge  Popular Question (source)
2020-09-22 14:59:03 -0500 received badge  Student (source)
2020-08-31 21:26:50 -0500 received badge  Notable Question (source)
2020-08-31 21:23:44 -0500 asked a question Fail to get current configuration from inflation_layer using dynamic_reconfigure

Fail to get current configuration from inflation_layer using dynamic_reconfigure hi,i'm trying to use dynamic_reconfigur

2020-06-12 03:03:00 -0500 received badge  Enthusiast
2019-08-02 14:58:17 -0500 received badge  Famous Question (source)
2019-02-14 01:54:24 -0500 received badge  Notable Question (source)
2019-01-04 02:45:43 -0500 received badge  Popular Question (source)
2018-12-21 04:28:15 -0500 edited question having problems with subscribe when using boost::bind

having problems with subscribe when using boost::bind here is my code #include <ros/ros.h> #include "costmap/co

2018-12-21 04:16:05 -0500 asked a question having problems with subscribe when using boost::bind

having problems with subscribe when using boost::bind here is my code #include <ros/ros.h> #include <sensor_

2018-11-01 20:34:45 -0500 received badge  Popular Question (source)
2018-10-31 07:45:07 -0500 asked a question Can I just get odom from imu integral?

Can I just get odom from imu integral? The odom is very unaccurate and I have tired of testing it. But i get a accurate