[ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 …

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: William Woodall via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 on embedded platform



No one at OSRF has had time lately to work on embedded platforms recently, but we are still really interested in them.

I'm not 100% certain what OS primitives mbed-OS gives you, but you might consider trying to get one of the DDS/RTPS implementations to compile for it, though it might not meet your needs. The other option would be to try and write the RTPS protocol yourself, potentially borrowing code from @codebot's FreeRTPS project as needed:

https://github.com/ros2/freertps

The RTPS wire format is described in the "DDSI-RTPS" document:

http://www.omg.org/spec/DDSI-RTPS/2.2/

Once you have an RTPS (or DDS) implementation going, you need to use it to implement the "rmw" (ROS Middleware Interface), see:

- Interface declaration (headers): https://github.com/ros2/rmw/blob/master/rmw/include/rmw/rmw.h
- FastRTPS implementation: https://github.com/ros2/rmw_fastrtps

After that you just need to be able to compile the rcl and then optionally the rclcpp libraries on top. There has been some discussions lately with how to build these parts of the stack into static libraries, which I imagine you'd need to do:

https://github.com/ament/ament_tools/pull/128

And finally, we're using C++14 now, so if that's something you cannot handle with the mbed-os then, you might want to chime in here:

https://discourse.ros.org/t/rfc-using-c-14/921






---
[Visit Topic](https://discourse.ros.org/t/ros-2-on-embedded-platform/1034/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>