ROS and APM using MAVlink

This summer I am in a program of students developing collision avoidance algorithms for UAVs.  They are testing/writing these algorithms in the ROS environment.  My goal this summer is to have the ability to communicate between then APM and the ROS environment so that we can use the algorithms on our planes.  The idea is to be able to send waypoints, calculated by the algorithms, up to the planes from the ROS environment and to have the planes send back GPS coordinates to ROS.  I believe the easiest way achieve this is with the serial_mavlink_ros package.  I have read through most of the pages on http://qgroundcontrol.org/mavlink/start but this MAVlink stuff still seems a little hazy.

Idealy, the ArduPlane code shouldn't have to be  altered except to make the plane send GPS coordinates to ROS every so often.  Hopefully, most of the changes will be on the ROS side, so that the collision waypoint information can be sent to the plane and the plane will just fly there.  This can be achieved in MAVlink commands, right?  If so, how do you format a message to do that?  Also, how would you format the message to send GPS information back?

Futhermore, does it seem like I am on the right track to get my project off to a start?  In my mind, it seems like once a communication is established between ROS and the APM then I should be able to send/receive most any data.  Therefore, if MAVlink is capable to send/receive waypoint/GPS info then I should be able to accomplish my goal.

Thanks,

David Jones

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • You should read up on ADSB.  There's no reason we shouldn't have ADSB in on our GCS.  If you make a reasonable attempt at making a real world system I'm sure it would see use.

    If you get something working I'd also seriously think about putting in a request to the FAA for them to mandate it in the new drone laws when released.

    Check out...

    http://microadsb.com

    image004.jpg

    You can already get a cheap (73 euro) ADSB receiver, so there's no real reason we're not already using this stuff, other than the fact that we don't fly in the commercial airspace anyways.

    I've always said that if you can show a system that will prevent the chance of collisions we'll be far more likely to get more access to the airspace and less prohibitive regulations.

    I don't really see where the ROS fits in though?

     

  • 3D Robotics

    You might want to post this in the ROS User Group here:

    http://diydrones.com/group/rosusergroup

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…