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
getting_started:tutorials:systemros1 [2024/12/06 13:07] – [Publishing] ursgrafgetting_started:tutorials:systemros1 [2024/12/06 18:53] (current) ursgraf
Line 20: Line 20:
 IMPORTANT You have to run a program using real time threads with root privileges.  IMPORTANT You have to run a program using real time threads with root privileges. 
 ==== Publishing ==== ==== Publishing ====
-This example runs your EEROS application as a ROS node under the name ///eerosNode//. It publishes three topics+This example runs your EEROS application as a ROS node under the name ///eerosNode//. It publishes six topics
   * /test/analogSignal          (of type eeros_msgs/msg/AnalogSignal with a single double value)   * /test/analogSignal          (of type eeros_msgs/msg/AnalogSignal with a single double value)
   * /test/analogSignalVector    (of type eeros_msgs/msg/AnalogSignal with a vector of 7 entries of type double)   * /test/analogSignalVector    (of type eeros_msgs/msg/AnalogSignal with a vector of 7 entries of type double)
Line 39: Line 39:
 Open another shell to show the messages sent by EEROS, e.g. Open another shell to show the messages sent by EEROS, e.g.
 <code> <code>
-$ rostopic echo /test/vector+$ rostopic echo /test/analogSignalVector
 </code> </code>
 With  With 
 <code> <code>
-$ rostopic hz /test/val+$ rostopic hz /test/analogSignalVector
 </code> </code>
 you can easily check how often data is sent from out ROS node. Try to plot the data with you can easily check how often data is sent from out ROS node. Try to plot the data with
 <code> <code>
-$ rqt_plot /test/val /test1/vector/data[0] /test/vector/data[1] /test/safetyLevel+$ rqt_plot /test/analogSignal /test/analogSignalVector/val[0] /test/analogSignalVector/val[1] /test/safetyLevel
 </code> </code>
  
getting_started/tutorials/systemros1.txt · Last modified: 2024/12/06 18:53 by ursgraf