kabot-io / kabot-s3-firmware

scratchpad repo of new release of Kabot firmware
1 stars 0 forks source link

Research if it is possible to use two microros transports at once #3

Open kpochwala opened 10 months ago

kpochwala commented 10 months ago

We need a way to set up SSID and PSK on the robot without recompiling firmware. One possible way is to use two transports for ROS2: one using serial, which would expose ROS service for setting up those secrets, and then user could use UDP transport over wifi for legit ROS topics.

DoD: Is it possible to use two microros transports at once? If so, create two topics, and show that you can send some messages over USB and UDP.

https://github.com/micro-ROS/micro_ros_platformio https://docs.ros.org/en/humble/Tutorials/Beginner-CLI-Tools/Understanding-ROS2-Services/Understanding-ROS2-Services.html

kpochwala commented 8 months ago

Maybe instead of using USB transport with microros, add USB mass storage device driver, so when kabot is connected via USB, a storage with file network-configuration.txt is seen and user can input secrets there. Seems pretty elegant and straightforward in implementation.