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

Path Planning in ROS.

asked 2018-02-19 23:10:03 -0500

malharjajoo gravatar image

Hi,

I am currently working on a project that involves 2 external stereo cameras and a Parrot AR drone. I wish to 3D map (in progress) and then plan a path, avoiding static obstacles, for the Parrot AR drone.

I have come across several options but am unable to find the correct one (based on above scenario) -

  1. ROS Navigation stack - From what I have seen, it only makes sense to use this for moving robots with a kinect on them (note: Kinect has a small range). Hence this is NOT suitable for my use case. (Please correct me if I am wrong).
  2. Open Motion Planning Library (OMPL) - It seems that RRT (Rapidly exploring Random Tree) algorithm or it's modifications are being used in several places ( see this example ) for path planning. I have heard that the library is hard to deal with, in terms of documentation, etc. Is that correct ? Are there other alternative libraries that might fit in nicely with Gazebo + ROS ?

Kindly provide

Thanks a lot !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-20 01:23:40 -0500

mgruhler gravatar image
  1. I don't see why the ROS Navigation stack should only be used with robots with a kinect. The most common usecase is actually having a robot with laser scanners. You can configure the costmap (this is where sensor data is used) the way you want, also specifiying a maximum range to use. So this should work for your use case as well. The question is rather if this is really suitable for 3D path planning (which I am assuming you want to do). IMO, the ROS navigation stack is mainly for 2D, though some experiments have been made with 3D. Googling led me to the two following links, which look promising: 1, 2 (please note though, that I personally don't have any experience there).

  2. Personally, I have good experience with OMPL. However, I cannot judge was is considered "hard to deal with", as this is highly subjective, IMO. An alternative would be sbpl

edit flag offensive delete link more

Comments

Hi @mig, thank you for your help and advice. The 1st link ( https://www.wilselby.com/research/ros... ) you provided looks quite promising. However, most of the example use onboard sensors (kinect, laser,etc ).

malharjajoo gravatar image malharjajoo  ( 2018-02-25 11:01:18 -0500 )edit

My key concern is whether it's applicable to my use case. I am using 2-3 external stereo camera setup to provide the depth and point cloud map.

malharjajoo gravatar image malharjajoo  ( 2018-02-25 11:01:46 -0500 )edit

So you don't have any onboard sensors? I assumed you do. Do you use the external Stereo sensors to track the position as well? You could still make that work, given that your drone (i.e. whereever the navigation happens) has access to the point clouds, a correct tf, as well the drone is filtered out

mgruhler gravatar image mgruhler  ( 2018-02-26 06:04:28 -0500 )edit

HI @mig, I am using the external stereo cameras to track 3D coordinates (using triangulation). I am currently working on 3D mapping (if even possible to a good level using calibrated external stereo cameras). I don't have any sensors onboard the drone, only the built in ones (IMU, 2 cameras,etc)

malharjajoo gravatar image malharjajoo  ( 2018-02-26 09:16:52 -0500 )edit

Hi @mig, would you recommend using ROS moveit! framework ?

malharjajoo gravatar image malharjajoo  ( 2018-03-31 01:38:15 -0500 )edit

ROS moveit seems to be working for laser scan and depth cameras, i am working with obstacle avoidance with mono cam and indeed do not want to scan the environment prior. In my opinion ROS moveit is not an option , although if someone knows any path planning tool for image_raw info it will be good

zubair gravatar image zubair  ( 2018-08-04 18:39:31 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2018-02-19 23:10:03 -0500

Seen: 2,274 times

Last updated: Feb 20 '18