All Questions
5 questions
0
votes
1
answer
843
views
ROS2 cpp file, colcon build is getting failed all the time
I got the following error:
ros2_ws$ colcon build --packages-select my_cpp_pkg Starting >>> my_cpp_pkg --- stderr: my_cpp_pkg
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-...
2
votes
0
answers
646
views
note: format string is defined here (ROS2 C++)
Hi I get an error when I build this ros2 services cpp file what is wrong? Is it about %d which is prints the value of the int variable.
EDİT: I have changed %d to %ld but then I got different error ...
1
vote
1
answer
137
views
Drake-Ros2: Multibody Plant returns wrong values or node dies in subscriber
I am trying to use Drake in Ros2. The problem is that after defining my robot plant in my class constructor, some weird behavior occurs in the subscriber callback and I can't call any plant functions ...
0
votes
0
answers
2k
views
Using Each Thread As Separate Publisher in Ros2 Node
I am trying to make a node with multiple publisher in it and each publisher will be work own separate thread.
When I try to basic idea implementation gives me this error;
2022-07-02 13:14:16.757 [...
0
votes
1
answer
806
views
Issues with having both subscriber and publisher in the same node
Currently, I have a node that has to have both the subscriber and publisher. However, I am having certain errors when I catkin build.
#include <geometry_msgs/Twist.h>
#include <ros/ros.h>
#...