We just had our first in-person meeting in a very long time. It was great seeing people and getting to work with a full-sized robot again. Most of the robot was in great shape, but we could not get our code onto the bot (or to connect to it to see what was on it).
We tried wirelessly first, and got connected but no code, then we tried to deploy, but could not find the robot. We tried using a cable, but still could not find the robot.
Then, we noticed that it had an IP address of 10.Te.Am.90 rather than .2. So, at this point, we knew we probably needed to use the USB cable and go directly to the Rio, but we did not have one (we were in a new room due to Covid protocols, and I could not go get one.
Moving forward, we will have one, and go that route. However, this question has come up a few times with us. How do we deploy code to a robot that is on a non-standard IP?
We are between Java and Python right now. Our mini bots are all programmed in Java, but as we are transitioning, the main robot is programmed in RobotPy.
So, the question is, if your robot is not on a standard IP address, is it possible to specify that in Gradle (for Java), or as a flag (in python)?
Or, is this not something that can be done?