You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: demo_box/doc/demo_box_tutorial.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Micro-ROS Power and Distance Sensors Demo
2
2
3
-
This demo illustrates micro-ROS capabilities and showcases the integration of micro-ROS with ROS 2 tools. Besides, it enables the comparison of micro-ROS and ROS 2 outcomes.
3
+
This demo illustrates the micro-ROS capabilities and showcases the integration of micro-ROS with ROS 2 tools. Besides, it enables the comparison of micro-ROS and ROS 2 outcomes.
4
4
5
5
The use-case consists in a ROS2-controlled [Raspberry Pi 4](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/?resellerType=home) with a [TFMini](https://www.sparkfun.com/products/14588) sensor that measures the <spanstyle="color:magenta">distance</span> to a target object and a micro-ROS-controlled [Olimex STM32-E407](https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware) board with the similar TFMini sensor, which measures the <spanstyle="color:magenta"> distance</span> to the same object. The demo explores another micro-ROS-controlled Olimex STM32-E407 board, which measures the <spanstyle="color:magenta">power consumption</span> of both Raspberry Pi 4 and Olimex STM32-E407 boards for distance measurements, using [INA219](https://www.antratek.com/ina-219-dc-current-sensor) sensors. The last component, a tablet display, visualizes measurement results using standard ROS 2 tools (rqt).
6
6
@@ -86,7 +86,7 @@ The following is a list of the demo hardware:
86
86
87
87
88
88
## How to build the micro-ROS demo system on Olimex STM32-E407
89
-
Use a PC workstation with the Docker installation to prepare the environment for setting up Demo Box applications in a docker container:
89
+
The environment for setting up the Demo Box applications will be perform within a docker:
90
90
- Download the micro-ROS base Foxy image from [the Docker Hub](https://hub.docker.com/), then run a docker container
- Connect ST-Link/V2 to Olimex STM32-E407 JTAG interface and flash the firmware
141
135
142
136
```
143
137
ros2 run micro_ros_setup flash_firmware.sh
144
138
```
145
139
140
+
- Repeat the procedure _Build the application_ with the Olimex used for monitoring the current consumption but before, the configuration needs to be changed as follow:
141
+
142
+
```
143
+
CFG_PROFILE=demo_power_romfs
144
+
```
145
+
146
+
146
147
## How to build the ROS 2 demo system on a tablet
147
148
148
149
Use a tablet with Ubuntu 20.04 LTS (Focal Fossa) installation:
0 commit comments