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

Waypoints with orientation + Smooth trajectory

asked 2012-10-31 11:20:50 -0600

updated 2014-01-28 17:14:07 -0600

ngrennan gravatar image

Hello,

I have a ground robot ( 4 wheels like a car) a I have my missions defined by a set of waypoints ( x, y, yaw (position and orientation)). I want that my robot moves through these waypoints with the specified orientation in each waypoints. The path should be smooth (using splines or Bezier curve) but intersect the waypoints.

Does anyone known any package for this purpose?

Regards, Filipe

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-10-31 11:52:12 -0600

The pose_follower is a local planner that implements the BaseLocalPlanner interface and tries to follow a given plan (AFAIK with orientation per waypoint) as closely as possible. It will only follow a given plan and not modify it, so if you have sparse waypoints the tracking might not look smooth (then you would have to first generate a smoothed trajectory in a preceding step). It might has to be modified to work well with a Ackermann-steered vehicle, however.

If you really want to plan for a Ackermann-Steering vehicle I can recommend looking into the SBPL lattice planner. It uses lattice (motion primitive) based plans and thus also can plan for Ackermann steering vehicles. The existing ROS package is not able to consider multiple waypoints though, so you'd have to write code yourself that creates a plan between two of your waypoints and then concatenates those small plans into a single large one. Note that this solution provides obstacle avoidance capabilities.

If you do not want to consider obstacles, you could probably implement spline/bezier curver interpolation yourself, I'm not sure there is a package available that does this.

edit flag offensive delete link more

Comments

thanks Stefan :) your suggestions are good and I will try use them. But if anyone's knows other package that implements spliner/bezier curve, that suggestions are welcome. (because i wan't to try a navigation with this curves and provably I will try to implement them)

Filipe Santos gravatar image Filipe Santos  ( 2012-10-31 12:09:40 -0600 )edit

Has any extra information been found by either of you (or anyone else on this matter). I myself have already modified SBPL Lattice Planner and made have an overhead waypoint system, but need the local planner that can generate the desired paths. Currently making my own, but another may be better.

orion gravatar image orion  ( 2014-01-21 13:04:12 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2012-10-31 11:20:50 -0600

Seen: 2,943 times

Last updated: Oct 31 '12