2
votes
How do ROS2 nodes find each other on the same computer?
I will try to answer it in steps :
As you might know the middleware used in ROS2 for communication is DDS which creates different logical networks to share a Physical network.
These different logical ...
2
votes
Accepted
[ROS2][std_msgs::msg::Int8] publisher and create_publisher
I think I know the answer, sorry for the rash question.
I forgot to add the header file. Although clang plug-in will automatically add a fake header file for me, it cannot replace the header file I ...
1
vote
Accepted
Get data from Hardware Component to other package outside of ros2_control
I suggest writing a custom controller and pass the values as state interfaces. Joints vs GPIO is only a matter of semantic naming, in fact they are handled equally inside the ros2_control stack (...
1
vote
How do ROS2 nodes find each other on the same computer?
The exact discover protocol/mechanism depends on the used DDS.
For Fast DDS the default mechanism is called Simple Discovery:
From the Fast DDS docs:
"[...] each RTPSParticipant [ROS2 node] must ...
1
vote
UM7 Orientation Sensor IMU not Publishing at 255 Hz. It is around 20-45 Hz, How to fix?
Have you updated the baudrate? It may be targeting your desired update rate but be limited by the baudrate. See the discussion here: https://github.com/ros-drivers/um7/issues/17#issuecomment-363263312
1
vote
Accepted
Oriented Bounding Box in RVIZ
I found that publishWireframeCuboid has the ability to publish a bounding box with different length/width/height values:
...
1
vote
Oriented Bounding Box in RVIZ
The tool that builds on Rviz Visual Tools is Moveit Visual Tools. MoveIt Visual Tools is more high-level and focused on MoveIt-related debugging and visualization. That being said, MVT extends RVT ...
1
vote
How to copy the Python variable to inside another class?
EDIT after seeing the formatted code:
In MinimalPublisher.ticks = counter you are referencing a Class variable. So to make it work you can make 'ticks' a Class ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
publisher × 326ros × 276
ros-kinetic × 29
topic × 25
roscpp × 23
navigation × 21
python × 21
ros2 × 20
rospy × 18
node × 18
c++ × 17
callback × 17
ros-melodic × 15
rosserial × 13
rviz × 11
subscribe × 10
message × 10
arduino × 9
messages × 9
rosjava × 7
ubuntu × 6
image × 6
ros-hydro × 6
odometry × 5
mapping × 5