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
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,29 @@ More details about this firmware can be found in [documentation](https://jkaflik
8
8
## Features
9
9
10
10
-[x] ROS2 node using Micro-ROS
11
+
-[x] Auto-reconnect
12
+
-[ ] Power-related publishers
13
+
-[ ] IMU publisher
11
14
-[x] Charging
12
15
-[x] LED status
13
16
-[x] IMU
14
17
-[ ] Emergency mode
15
18
19
+
## Usage
20
+
21
+
### LED Status Indicators
22
+
23
+
The firmware uses onboard NeoPixel LED(s) to display the current system status. Multiple status conditions can be active simultaneously and will be displayed in sequence.
24
+
25
+
**LED Status Colors:**
26
+
-**Green**: ROS connected
27
+
-**Yellow**: Battery charging
28
+
-**Magenta**: Battery discharging
29
+
-**Red**: Battery low
30
+
-**Blue**: IMU sensor failure
31
+
32
+
When multiple statuses are active, each status will be shown for approximately 800ms with a 200ms black separator between them. The sequence will continue to cycle through all active statuses.
33
+
16
34
## Build
17
35
18
36
### Prepare environment
@@ -44,3 +62,17 @@ platformio run -t upload
44
62
45
63
Use your IDE integration to debug the code. You can use `pio debug` command as well.
46
64
This will run the same bash script as in the upload command, but it will not upload the firmware. You can use `pio debug -t upload` to upload the firmware and start debugging.
65
+
66
+
## Micro-ROS agent for testing
67
+
68
+
You can use the Micro-ROS agent container to test the firmware. To run it a remote RaspberryPi device run the following command:
69
+
70
+
```bash
71
+
make agent_remote
72
+
```
73
+
74
+
If you have an access to the Pico's UART0 directly on your host machine run:
0 commit comments