|
upkie
12.0.0
Open-source wheeled biped robots
|
The prerequisites for this stage are:
upkie repository from 1) Getting startedChange directory to your local copy of the upkie repository:
In the following instructions, we will run everything from this directory.
Go to the tools directory on the robot and run the servo configuration script:
Check that the output lines are only OK or AOK.
In your local copy of upkie, build the pi3hat spine for the robot by:
Running this for the first time requires an Internet connection.
Connect to the robot's Wi-Fi network, then from the upkie directory run:
This will create a remote directory (also named upkie) on the Raspberry Pi with a copy of all the build files necessary to run the spine and agents on the robot.
This rule connects to the upkie host from your SSH configuration, which we set up in 3) Raspberry Pi setup. If you use a different nickname for your robot, run make upload UPKIE_HOST=your_nickname instead.
Make sure the USB controller is connected to the Raspberry Pi. The controller has two functions:
Always keep the emergency stop around when you run a new agent on the robot, and don't hesitate to press it if the beast misbehaves 😉
Connect via SSH to the robot and start the pi3hat spine:
The spine is a fast program in charge of two-way communications between your agent's code (for us it will be the joystick controller here) and the robot's actuators.
Take the Raspberry Pi in your hand (only touching the sides of the board) and put it upside-down (as it will be when the assembled robot stands upright). In a separate shell on the robot, run the joystick controller from the upkie directory:
Rotate the Raspberry Pi in your hands: the qdd100 servos should stay still while the two mj5208 servos turn in opposite directions.
Ask questions about this step in Software discussions.
Previous: 4) Electronics testing — Next: 6) Assembly