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

How to display the trajectory of a mobile agent?

asked 2021-09-11 14:04:52 -0500

kane_choigo gravatar image

updated 2022-03-05 17:53:45 -0500

lucasw gravatar image

Hello, I'm using ROS kinetic on Ubuntu 16.04.

My work has something to do with social navigation through a method kind of machine learning, and I've already gotten some results saying the agent can properly get to the destination without collision.

But I only have reward-plottings during each training, so I think it may not be enough to persuade my supervisors.

I also think it would be more helpful if I suggest the entire trajectory with them.

The agent should be operated with Gazebo simulator and RViZ, so I'm planning to mark them on the RViZ sheet.

In this case, how can I show the trajectories?

In my understanding, it seems that I can just plot some marks on the position of the agent at every timestamp.

Unfortunately, being not familiar with these Gazebo or RViZ, I don't have any ideas what should I do.

And also I'm not sure whether my way would go well; that is I might be wrong.

So if anyone is familiar with SLAM or the navigation of mobile agents, I think they've ever done this kind of marking work on the agent's trajectories.

Would you please give me helpful advice?

Thanks :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-09-13 03:24:42 -0500

James NT gravatar image

updated 2021-09-13 03:28:52 -0500

You might like to look at LINE_STRIP .
There are other marker types as well.

edit flag offensive delete link more

Comments

Thank you for sharing. Pretty cool

osilva gravatar image osilva  ( 2021-09-16 06:10:12 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-09-11 14:04:52 -0500

Seen: 70 times

Last updated: Sep 13 '21