Hi, I’m trying to download a program to the romi robot without using wifi. This is because for a competition (robot tour) they disallow the use of wifi to run programs. Is there a way I can do this? Is it possible to run it directly on the raspberry pi?
Hello.
It sounds like you’re using the WPILib software and want to load a new program onto the Raspberry Pi (leaving the Romi 32U4 Control Board loaded with the WPILib program, which they refer to as firmware). If that’s the case, please note that we are not involved with the software side of the WPILib project, so you would need to contact the WPILib team for software-related questions. My understanding of the WPILib software is that the code is not uploaded to the Raspberry Pi directly and is instead running on your computer and communicating with the Raspberry Pi through WiFi.
An alternative to the WPILib software might be to load our Raspberry Pi slave library for Arduino onto the Romi 32U4 Control Board, which allows you to control the robot from a Raspberry Pi through I2C.
- Patrick
Could I instead remove the Raspberry Pi and use the Arduino IDE instead? I was reading the guide for the 32U4 control board, and it had it listed as one of the options. Does it download the code directly onto the control board? Do I only need to connect the control board via the micro USB port (?) to my computer and it will work? Alternatively, for the slave library, do I need to buy any additional physical components? Also does the control board come with this a-star thing?
Hello.
Yes; if you do not need the Raspberry Pi, removing it and programming the Romi 32U4 Control Board via the Arduino IDE to directly control the robot is another option. You can refer to the “Programming the Romi 32U4 Control Board” section of the Romi 32U4 Control Board user’s guide for instructions. Additionally, you can use our Romi32U4 library and refer to the examples there for reference. You can find information about that in the “Romi 32U4 Arduion LIbrary” section of the same guide.
Brandon