-
Notifications
You must be signed in to change notification settings - Fork 6
Running the Rover
Attach the ethernet cable from the robot (or the antenna's bullet through POE) to your computer. Run ssh rover in a terminal. This may take a few attempts before it connects. Type nvidia for the password once it successfully connects.
Run ./rover.sh <periphery> and substitute for the mounted periphery (arm|science) or leave empty.
In a new terminal, run ./start_mission_control.sh. Ctrl + Click on the link labeled “Local” or open a browser and go to http://localhost:3000/.
Press Ctrl + C in both terminals to stop them.
Run sudo shutdown now in a terminal. If it asks for the password, it's the same from before: nvidia
Once the Jetson spins down and the green power light is no longer on, hit the main breaker on the Rover to cut power.
Attach the ethernet cable from the robot to your computer. Run ssh rover in a terminal. This may take a few attempts before it connects. Type nvidia for the password once it successfully connects.
In the SSH connection, run cd Resurgence and run ./enable_CAN_and_GPS to enable CAN and GPS. GPS errors are expected.
In the SSH connection, run mkdir -p build && cd build to create the build directory. Run cmake ../src to initialize the cmake tools. The default world interface is the real world interface, but you can add -DWORLD_INTERFACE=REAL|SIMULATOR as necessary. Then run make -j Rover to make only the Rover executable or make -j to make all of the tests as well.
Then run ./Rover to start the rover code.
If a periphery is mounted (arm|science), then run ./Rover -p <periphery> and substitute in for the corresponding peripheral.
In a new terminal, run cd mission-control, then git status to check the current branch. Make sure you are in the main branch; if not, run git checkout main to change branches. If needed, run git pull to update the current code. Run npm run build && serve -s build to run the Mission Control code.
The after running the command, the console will display the URL to access the Mission Control. Open that link in the Chromium.