-
Notifications
You must be signed in to change notification settings - Fork 0
Initialize a Device
Depending on the device you are programming you might need a different image. Our robots use Jetsons so we will flash them with Jetpack
During the install you will need to fill out some information about the machine. The username should be cu-robotics the password can be found in our google drive. The hostname is edgeX where x is a number unique to the other devices.
Now in a terminal run:
sudo apt update
There is technically two ways to initialize a device for installs.
Now connect the device to your development machine either with an ethernet cable or over the same wifi. This can be tested with ping, on your development machine run:
ping edgeX.local
Next on the development machine build and run the deployment:
buffpy --build debug
buffpy --installKeys # (allows you to install without re-entering the password)
buffpy --initialize # currently broken, use --install. when this is fixed the next step will be unnecessary
Next ssh into edgeX and run the install
source buffpy/scripts/install.bash
This will install all our dependencies and requirements on the edge device.
Instead of installing from a development machine, if your device has an internet connection you can clone git and run then the install scripts like above. Although, this not recommend because you will end up with all the source and tools which are not needed on the robot.