ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2020-05-11 07:54:57 -0500 | received badge | ● Student (source) |
2014-10-07 10:55:19 -0500 | received badge | ● Famous Question (source) |
2014-06-19 08:53:36 -0500 | received badge | ● Notable Question (source) |
2014-06-18 13:42:19 -0500 | received badge | ● Popular Question (source) |
2014-05-28 17:32:37 -0500 | received badge | ● Editor (source) |
2014-05-28 17:30:33 -0500 | asked a question | Callback of actionlib_msgs::GoalStatusArray fails Hi, I am writing a node that subscribes to an actionlib_msgs::GoalStatusArray message. The callback code is: I am able to read the header of the GoalStatusArray, but unable to read the status_list array. I get a segmentation fault when doing so. I seem to be doing an error when trying to access the first element of status_array.status_list. Do you see any syntax error in my code? The GoalStatusArray and GoalStatus messages definitions can be found on: My callback function is subscribing to the /move_base/status topic. The messages on this topic look like the following: My setup:
Do you have a clue why my code is failing? |
2014-05-28 17:00:12 -0500 | received badge | ● Famous Question (source) |
2014-03-09 00:35:11 -0500 | received badge | ● Self-Learner (source) |
2014-03-09 00:35:11 -0500 | received badge | ● Teacher (source) |
2014-03-02 19:07:12 -0500 | answered a question | How to use humanoid_localization with stereo cameras? I managed to get rid of the issue. I was using the following parameter setting: By setting the For my system, the It seems like another property of |
2014-03-02 18:09:40 -0500 | received badge | ● Enthusiast |
2014-02-24 12:33:28 -0500 | received badge | ● Notable Question (source) |
2014-02-20 11:33:55 -0500 | received badge | ● Popular Question (source) |
2014-02-19 18:27:09 -0500 | asked a question | How to use humanoid_localization with stereo cameras? Hi, I started using the humanoid_localization node for localizing my robot using stereo cameras. I give the node a sensor_msgs/PointCloud2 as input, but I don't provide any sensor_msgs/LaserScan. According to the humanoid_localization wiki page, this setup should be fine. I am able to run the node and the particle filter is working, but for every particle filter update, the following error gets printed on the console hundreds of times: The error message is generated when calling the What am I missing to have the node running without errors? Do I need to create a "fake" LaserScan message from my stereo image data to get rid of the errors? Do I need to change the parameter setting in my launch file? Reading a paper from the authors of the humanoid_localization algorithms, I found out that they implemented a setup similar to mine using a depth camera. So the code has been used with cameras only, but I could not find out which adaptations were necessary. See:
My setup:
Extract of my launch file: EDIT: (for AHornung's answer) I was using humanoid_navigation code downloaded from the APT repo ros-fuerte-humanoid-navigation. Now, I downloaded the recent version of humanoid_navigation from GitHub, ran the humanoid_localization node and had the same issues as before. The point cloud input for the humanoid_localization node has no NaNs. I am not sure what other values could be invalid as input... could points in the origin (0,0,0) cause the error? The width of my point cloud is 1 and the height is unequal to 1, so it seems to be ordered. An extract of my console output: (more) |