ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-11-17 02:06:06 -0500 | received badge | ● Famous Question (source) |
2021-03-19 15:06:24 -0500 | received badge | ● Notable Question (source) |
2020-12-16 14:29:04 -0500 | received badge | ● Enthusiast |
2020-12-14 08:53:45 -0500 | marked best answer | Trouble loading Custom Controller with Suscriber Hi! I have been trying to implement my own controller for a 6 wheel robot. I have been using various examples to implement the code, notably the Valkyrie and Packt tutorials, as well as the diff_drive_controller. I am running ROS_Melodic on Ubuntu 18.04 on a Jetson TX2. Using gazebo for the robot simulation. When adding the suscribe line "sub_command_ = n.subscribe("/ground_truth/state", 1, &Controller_6202::ground_truth_Callback, this);" , the launch file fails to load the controller with the error: This is the cpp file implementation for the callback When the suscribe line is removed, there is no error and the controller seems to work fine (without the subscription to the ground truth of course. sub_command_ and ground_truth_Callback have both been defined in the .h file: My package.xml has these included: CMakeLists ... (more) |
2020-12-14 08:53:45 -0500 | received badge | ● Scholar (source) |
2020-12-14 08:53:41 -0500 | commented answer | Trouble loading Custom Controller with Suscriber Can't believe I missed it! Thanks it works now. |
2020-12-14 08:53:10 -0500 | received badge | ● Supporter (source) |
2020-12-13 18:55:06 -0500 | received badge | ● Popular Question (source) |
2020-12-13 18:48:57 -0500 | commented question | Trouble loading Custom Controller with Suscriber Updated! I have just tried changing the message type to geometry_msg_twist, and it does not work either, with the messag |
2020-12-13 18:08:48 -0500 | edited question | Trouble loading Custom Controller with Suscriber Trouble loading Custom Controller with Suscriber Hi! I have been trying to implement my own controller for a 6 wheel ro |
2020-12-13 16:39:23 -0500 | edited question | Trouble loading Custom Controller with Suscriber Trouble loading Custom Controller with Suscriber Hi! I have been trying to implement my own controller for a 6 wheel ro |
2020-12-13 16:39:23 -0500 | received badge | ● Editor (source) |
2020-12-13 15:41:25 -0500 | edited question | Trouble loading Custom Controller with Suscriber Trouble loading Custom Controller with Suscriber Hi! I have been trying to implement my own controller for a 6 wheel ro |
2020-12-08 09:55:14 -0500 | commented question | Trouble loading Custom Controller with Suscriber What do you mean by linking to all required libraries? I have added the packages "std_msgs" and "nav_msgs" to both CMake |
2020-12-08 01:56:49 -0500 | asked a question | Trouble loading Custom Controller with Suscriber Trouble loading Custom Controller with Suscriber Hi! I have been trying to implement my own controller for a 6 wheel ro |