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

How can UAVs be simulated using ROS?

asked 2011-02-19 11:23:44 -0600

updated 2014-01-28 17:09:11 -0600

ngrennan gravatar image

I was wondering what approach (if at all) people are using for simulating UAVs using ROS. For example, it should be possible to simulate quadrotors using gazebo. Has anybody already tried this? Are there any other working solutions interfacing other simulators?

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
6

answered 2011-02-20 03:08:17 -0600

It might help to know what capabilities you are looking for in a simulator. Kinematics, dynamics, sensor models, validation, real-time vs. non-real-time, graphics, multi-vehicle ...?

The flyer_sim package in starmac-ros-pkg has a very basic simulator implemented as a node written in Python. At present there is a simple nonlinear dynamics and sensor model that is not meant to exactly simulate a particular quadrotor, but rather to simply have 'quadrotor-like' dynamics so that the rest of the system can safely be tested (and learned). In the near future we expect to have more accurate models based on system identification implemented in the flyer_sim package.

While not strictly speaking part of the simulator, the overall package also has a means of visualizing the simulation in rviz (see the end of this tutorial for a screenshot).

edit flag offensive delete link more

Comments

I'd use simulation for the complete package e.g. more towards high level control (path planning, sensors, navigation etc.) with plausible, if not perfect dynamics of the simulated vehicle. But I really asked the question out of interest what other people are doing / what is possible.
Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2011-02-20 17:18:19 -0600 )edit
5

answered 2012-04-17 21:28:44 -0600

As announced here, the hector_quadrotor stack provides a quadrotor model that is usable in gazebo. It does not support the new plugin API in fuerte yet, but we're looking into making it compatible.

edit flag offensive delete link more
2

answered 2011-02-19 22:31:10 -0600

tom gravatar image

updated 2011-02-19 22:32:01 -0600

I've once been looking for a quadrotor simulation using ROS myself. I gave it up and created one myself in Simulink 3D back then, but found this one before. Maybe you might give it a try and use it, I don't know if it works, though. Of course, let know if you have any success, please :).

Cheers, Tom

edit flag offensive delete link more
2

answered 2011-06-08 00:17:24 -0600

KoenBuys gravatar image

To complete the answer of Bemfica. MORSE actually supports direct communication over ROS middleware to any platform in simulation, there is no need to go over matlab/simulink and UDP (although this is also a perfectly good solution). You can connect directly with your existing ROS nodes. At our lab my colleagues also have used Blender for simulation of their UAV's and in LAAS/ONERA they also use Blender.

edit flag offensive delete link more
2

answered 2011-06-07 05:11:15 -0600

Bemfica gravatar image

I am working on AirRobots project and we are using the Blender game engine and the MORSE project as simulator/visualizer. Actually the control is done by using matlab/simulink which communicates with Blender through an UDP bus.

We are founding some problems with collisions scenes and force detection because seams that the Bullet engine is not extremely precise, especially when you have a multi rigid-body composition, like a manipulator for example.

cheers, Jeferson

edit flag offensive delete link more

Question Tools

6 followers

Stats

Asked: 2011-02-19 11:23:44 -0600

Seen: 4,498 times

Last updated: Apr 25 '12