Ask Your Question
0

I want to implement a simple pathfinding algorithm (A star) on RVIZ

asked 2014-05-14 18:03:22 -0500

brandonlee503 gravatar image

Hi, I want to create an environment in RVIZ incorporating some form of pathfinding (such as A star).

Currently I just have an interactive marker moving around in the environment freely. I want to have it follow some sort of waypoint through some sort of path planning.

I would also like to hopefully implement obstacles between point A and point B to test this path planning.

Can someone help suggest how I would approach this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-05-14 18:22:47 -0500

ahendrix gravatar image

RVIZ isn't a simulator; it's a visualizer and, in the case of interactive markers, it can be used as an user interface, but it's primarily designed to display data from other sources.

If you're interested in path planning, you should write a node or a set of nodes which contain a map representation, do some planning on that map, and publish the things that you would like to visualize as ROS topics.

A few of the message types that RVIZ can visualize natively are occupancy grids (nav_msgs/OccupancyGrid), paths (nav_msgs/Path), poses (geometry_msgs/Pose), and interactive markers.

edit flag offensive delete link more

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: 2014-05-14 18:03:22 -0500

Seen: 1,119 times

Last updated: May 14 '14