ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

peigong's profile - activity

2021-09-05 10:32:10 -0500 received badge  Student (source)
2019-05-20 02:23:52 -0500 marked best answer how to rostopic pub msg with array members

When i want to publish msg like this:

Header header
  uint32 seq
  time stamp
  string frame_id
Point point
  float64 x
  float64 y
  float64 z

i can use the following cmd:

rostopic pub pt geometry_msgs/PointStamped '{stamp: now, frame_id: base_link}' '[1.0, 2.0, 3.0]'

or rostopic pub pt geometry_msgs/PointStamped '{stamp: now, frame_id: base_link}' '[1.0, 2.0, 3.0]'

what command should i use to publish msgs with array members like:

std_msgs/Header header
string[] joint_names
trajectory_msgs/MultiDOFJointTrajectoryPoint[] points 
       geometry_msgs/Transform[] transforms
       geometry_msgs/Twist[] velocities
       geometry_msgs/Twist[] accelerations
       duration time_from_start
2019-05-20 02:22:10 -0500 marked best answer using hector_trajectory_server to show trajectory in Rviz

I want to show trajectory of the quadcopter simulated in gazebo using Rviz.

I have learned that ‘hector_trajectory_server’ could be used to solve this problem, refer to this old Q&A.

Since i am totally new in this field, anyone could give me some guidance on how to use this node (or Tutorial on using this node)?

Any help will be appreciated. Thanks a lot.

2018-06-06 23:23:27 -0500 received badge  Famous Question (source)
2017-11-30 02:43:15 -0500 received badge  Notable Question (source)
2017-11-03 14:24:02 -0500 received badge  Popular Question (source)
2017-10-05 02:32:08 -0500 received badge  Famous Question (source)
2017-09-24 02:37:17 -0500 received badge  Notable Question (source)
2017-08-31 07:51:26 -0500 commented answer displaying the robot's actual trajectory in RViz

Could you give me some guidance on how to use this node (or Tutorial on using this node)?@Stefan

2017-08-31 07:48:52 -0500 edited question using hector_trajectory_server to show trajectory in Rviz

using hector_trajectory_server to show trajectory in Rviz I want to show trajectory of the quadcopter simulated in gazeb

2017-08-31 07:47:37 -0500 asked a question using hector_trajectory_server to show trajectory in Rviz

using hector_trajectory_server to show trajectory in Rviz I want to show trajectory of the quadcopter simulated in gazeb

2017-08-28 06:09:18 -0500 received badge  Popular Question (source)
2017-08-28 04:00:12 -0500 commented answer how to rostopic pub msg with array members

Thank you for your kind reply. it works.

2017-08-28 01:59:31 -0500 asked a question how to rostopic pub msg with array members

how to rostopic pub msg with array members When i want to publish msg like this: Header header uint32 seq time sta