Ask Your Question
0

Additional topics in ROS kinetic

asked 2021-07-02 14:47:34 -0500

hoangdung2000 gravatar image
  • I use the rostopic command on my ROS and get the following output:

had@had-HP-Pavilion-Laptop-15-cs0xxx:~$ rostopic list

/rosout

/rosout_agg

  • I'm looking at a tutorial and they also use "rostopic list" but there are more topics in it:

/gazebo/set_model_state

/initialpose

/joint_state

/map

/map_metadata

/mobile_base/commands/velocity

/mobile_base_nodelet_manager/bond

/move_base_simple/goal

/odom

/rosout

/rosout_agg

/slam_gmapping/entropy

/tf

/tf_static

etc...

=> So please tell me if I am missing something and if so, how should I add those topics?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2021-07-02 15:54:50 -0500

rugved gravatar image

They must be launching few other nodes and then using the rostopic list command.

edit flag offensive delete link more

Comments

thank you ,

hoangdung2000 gravatar image hoangdung2000  ( 2021-07-04 09:22:41 -0500 )edit
1

answered 2021-07-03 03:40:47 -0500

photon gravatar image

The rostopic list command is used to display the current topics that are currently being published by the nodes they are running. So if there are no nodes publishing any topic, there would not be any additional topics displayed in the list.

You can try cloning the example repository into your current workspace & running the examples: https://github.com/ros/ros_tutorials. (Make sure to compile the packages & source the workspace beforehand.)

edit flag offensive delete link more

Comments

thank you very much

hoangdung2000 gravatar image hoangdung2000  ( 2021-07-04 09:22:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-07-02 14:47:34 -0500

Seen: 40 times

Last updated: Jul 03 '21