Soccer A robot - Hardware setup
Hardware setup
If not done so already, install MRMS_ESP32.ino. Make sure that setup() function looks like this:
void setup() {
robot = new RobotSoccer(); // RobotLine, RobotSoccer, or Your custom robot
robot->run();
}
. Notice "RobotSoccer()" part. It must be RobotSoccer, not RobotLine or some other choice.
Checking hardware
Program displays all the predefined commands.
You can use them to check Your sensors and motors.
Type "can" in the input box above the displayed text and hit "Send" button.
The result will be a list of all the CAN Bus devices in Your robot. If some are missing, they are either incorrectly wired or use the same address.
Enter command "li2" and watch lidars displaying distances in mm. Stop display by entering command "x".