MicroROS Reclaiming STDIO

MicroROS Reclaiming STDIO

MicroROS demo on Raspberry Pi Pico uses STDIO to communicate from the Pico to the MicroROS Agent on the host. So we lose STDIO for any telemetry. I miss it for telemetry for my development.

In this video I use the two STDIO drivers the Pico SDK provides that I have previously talked about. To drive the MicroROS over USB while also having STDIO telemetry over UART.

This demo is just an evolution of the MicroROS Pico Demo I showed in a previous video. The code used in this video can be on GitHub.

There is one issue with the code, I’ve had to place a 0.5milisecond delay after reading from STDIO USB to make the code stable. This feels just wrong. I have not as yet managed to work out what is causing the instability. This goes down to the complexities of USB driver I think.

Leave a comment