User Tools

Site Tools


getting_started:tutorials:systemros1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
getting_started:tutorials:systemros1 [2023/02/09 10:57] – [Publishing] ursgrafgetting_started:tutorials:systemros1 [2023/02/09 11:00] – [Subscribing] ursgraf
Line 106: Line 106:
 and logs its transported message values into the console. Alternatively you could publish a single message from the command line with  and logs its transported message values into the console. Alternatively you could publish a single message from the command line with 
 <code> <code>
-rostopic pub /rosNodeTalker/val std_msgs/Float64 -- -2.3 +ros2 topic pub /rosNodeTalker/val std_msgs/msg/Float64 "data: -2.3" 
-rostopic pub /rosNodeTalker/vector std_msgs/Float64MultiArray "{layout: {dim: [], data_offset: 0}, data: [2.5, 1.76]}"+ros2 topic pub /rosNodeTalker/vector std_msgs/msg/Float64MultiArray "{layout: {dim: [], data_offset: 0}, data: [2.5, 1.76]}"
 </code> </code>
  
getting_started/tutorials/systemros1.txt · Last modified: 2023/02/27 14:00 by ursgraf