Skip to content

Commit d4b99f2

Browse files
authored
Merge pull request #47 from micro-ROS/comparison
Comparison to rosserial
2 parents 2862fd4 + ba9ba5e commit d4b99f2

4 files changed

Lines changed: 29 additions & 2 deletions

File tree

‎_docs/comparison.md‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Comparison to other approaches to put ROS onto small embedded devices
3+
---
4+
5+
This page compares micro-ROS to a few alternative approaches.
6+
7+
## micro-ROS compared to ROSSerial
8+
9+
In ROS1, small embedded devices are brought into the system using `rosserial`.
10+
11+
Differences are:
12+
13+
| | rosserial | micro-ROS |
14+
|-------|-----------|-----------|
15+
| OS | bare-metal | POSIX (currently NuttX) |
16+
| Communications architecture | Bridged | Bridged |
17+
| Message format | ROS1 | CDR (from DDS) |
18+
| Communication links | UART | UART, SPI, IP (UDP), 6LowPAN, ... |
19+
| Communication protocol | Custom | XRCE-DDS (or any rmw implementation) |
20+
| Code Base | Independent implementation | Standard ROS2 stack up to RCL (RCLCPP coming) |
21+
| Node API | Custom rosserial API | RCL (soon RCLCPP) |
22+
| Callback execution | Sequential, in order of messages | Choice of ROS2 executors or MCU optimized executors |
23+
| Timers | Not included | Normal ROS2 timers |
24+
| Time sync to host | Custom | NTP/PTP |
25+
| Lifecycle | Not supported | Partial, full coming |

‎_docs/index.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ We're basically following the ROS2 architecture and make use of its middleware p
1515

1616
![](/img/micro-ROS_architecture.png)
1717

18+
We have also prepared a [comparison](/docs/comparison) to other approaches, to see the important differences quickly.
19+
1820
## Concept Documentation
1921

2022
- Predictable scheduling and execution: [real-time_executor](/docs/real-time_executor/)

‎_includes/topnav.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
<div id="navbar" class="collapse navbar-collapse">
1515
<ul class="nav navbar-nav">
16-
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs/home/" | prepend: site.baseurl }}">Docs</a></li>
16+
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs/home" | prepend: site.baseurl }}">Docs</a></li>
1717
<li {% if page.sectionid=='posts' %} class="active" {% endif %}><a href="{{ site.posts.first.url | prepend: site.baseurl }}">Updates</a></li>
1818
</ul>
1919
<ul class="nav navbar-nav navbar-right">

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<h1>micro-ROS</h1>
1010
<p><a href="https://cordis.europa.eu/project/rcn/213167_en.html">micro-ROS</a>
1111
puts ROS2 onto microcontrollers, making them first class participants of the ROS 2 environment.</p>
12-
<p><a class="btn btn-primary btn-lg" href="{{ "/docs/home/" | prepend: site.baseurl }}" role="button">Learn more</a></p>
12+
<p><a class="btn btn-primary btn-lg" href="{{ "/docs/home" | prepend: site.baseurl }}" role="button">Learn more</a></p>
1313
</div>
1414
</div-->
1515

0 commit comments

Comments
 (0)