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

Can ROS be used for real time orbital flight simulation?

asked 2020-05-11 07:42:34 -0600

JaysonJT gravatar image

updated 2022-08-23 16:51:27 -0600

tfoote gravatar image

I'm currently using Matlab for simulating a rocket launch into orbit. Is there any reason using ROS is a bad idea? I need to improve on my graphics (I could use rviz) and make it real time - bring in sensor data. ROS seems ideal but I don't see anyone using it for rocketry?

edit retag flag offensive close merge delete

Comments

If it's just for simulation and/or visualisation, it should be possible.

Not sure whether Gazebo/Webots/etc is capable of faithfully simulating orbital mechanics and related dynamics, but you are probably capable of making that determination yourself.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-11 12:29:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-08-23 16:50:53 -0600

tfoote gravatar image

There's a few layers to this. Overall ROS is a software framework for robotic systems. It is likely that you will find packages in the ROS ecosystem that would be valuable for you to use in controlling your rocket model in simulation.

On the otherside what gvdhoorn mentions for the actual simulation you will want to use a simulation engine. I'm most familiar with Gazebo so I'll talk about that one. It is capable of simulating physics, rendering sensors including cameras and has been used in many domains in space including simulating things on the ISS as well as Lunar and Mars environments and satellite modelling. There are elements specific to launching rockets that are quite specific and there will likely need to be spcific plugins for elements such as the rocket engines and the air drag on your rocket. However if you have that in matlab you can likely port those elements of the simulation model. The benefit of using something like Gazebo is that you'll get integration with the rendering engine for both simulating sensors as well as your rocket in space. The only main limitation is that you should not expect to be able to integrate would be computation fluid dynamics. It's a rigid body simulator. However, if you're looking for realtime simulation I don't think that CFD approaches are expected to be in scope anyway.

As with almost all projects. The more effort you put into it the better the outcome will be. You can invest in improving the parts of the simulation that are most critical to your use case and leverage the rest of the existing systems. And you can leverage a lot of the integrations with ROS for debugging and development such as the aformentioned rviz.

Without a much more detailed requirements I can't guarentee that it will work for you. But in general there's not a reason not to use it for rocketry unless you require full CFD.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-05-11 07:42:34 -0600

Seen: 620 times

Last updated: Aug 23 '22