Open stanlew7531 opened 2 years ago
I have the full lcm_to_ros
+ rosbridge
-> mbot_app
working. I am able to run a lcm log on the pi and update odom values in the browser. It runs slower than realtime over WiFi, but locally is realtime. This may be an issue since we want to cut out NoMachine from the course.
The current Botlab code relies on LCM to communicate with various systems/subsystems. As we move to the Pico, we want to remove Docker and the notions of Flask/Webserver/etc. in favor of a self-contained app that runs in students browsers. Towards that end, we would like that webapp to simply communicate via JSON requests to the robot and receive all of its information that way. Step 1 to making that happen is to update the image on the bots to allow for ROSBridge to run there - the webapp would then become a basic webpage that students would point to in their browser, that then opens a TCP socket to the robot for info exchange.