Project after ROS

asked 2017-07-08 02:47:41 -0500

vlad gravatar image

I consider to use of ROS to build prototype of my robot. But I worry how easy it will be to port my project to another system after succesfull prototyping. Would it be possible to rebuild/rewrite my project out of the ROS (like naked Ubuntu with certain open libraries)? Will I be able to find libraries that ROS uses?

edit retag flag offensive close merge delete

Comments

Why do you want to remove ROS after prototyping?

NEngelhard gravatar image NEngelhard  ( 2017-07-08 03:52:34 -0500 )edit

It's an interesting question, and one we see more often, but we're going to need some more information I think. As @NEngelhard already asks: what is your primary motivation for wanting to take ROS out? Is it for licensing reasons, lack of trust in the code, performance concerns regarding the ..

gvdhoorn gravatar image gvdhoorn  ( 2017-07-08 05:04:24 -0500 )edit

.. middleware, regarding process scheduling, predictability / determinism of the entire system, application specific requirements ((hard) real-time requirements fi), etc, etc?

Without more info, the answer is obviously: yes, that can be done, but whether it makes sense is something else.

gvdhoorn gravatar image gvdhoorn  ( 2017-07-08 05:06:25 -0500 )edit

There is several reasons. First, I consider to port my project to some cheap microcontroller, so I need to have only libraries that I use. ROS is the big system and I don't need all of its components. I like minimalistic systems. Also, ROS is complex and huge (which is good for prototyping): I will

vlad gravatar image vlad  ( 2017-07-08 13:17:53 -0500 )edit

never understand whole system. So, for self education I prefer to use separate libraries and implement my own message/event simple system. Actually, I only need good support for my depth camera and some working SLAM library, but I can not (don't know how to) extra only these components from ROS (ok,

vlad gravatar image vlad  ( 2017-07-08 13:18:38 -0500 )edit

...I found some SLAM lib in ROS is wrap of open source library). If and when I need to improve performance (it is ubuntu and not real time) or make system easier, I doubt I could do it in ROS.

vlad gravatar image vlad  ( 2017-07-08 13:18:58 -0500 )edit

Using a cheap microcontroller for your depth camera and work with SLAM might be hard. Did you think about using ROS in a Raspberry Pi? I know it isn't exactly a microcontroller, but is cheap and easy to install&run. Consider it as an option!

More info: http://wiki.ros.org/ROSberryPi

Enriq gravatar image Enriq  ( 2017-07-08 14:25:13 -0500 )edit

Furthermore, implementing your own message/event system might be a pain. I don't know how it works on Raspberry, but I run ROS in VirtualBox (in an old PC) and doesn't give me performance issues, as long as I don't use RVIZ or Gazebo, for example (any GUI tool)

Enriq gravatar image Enriq  ( 2017-07-08 14:40:49 -0500 )edit