Skip to content

Turning on the Robot and Running Rover Code

Geeoon Chung edited this page Apr 12, 2024 · 8 revisions

How to Turn on the Robot

With the Power Supply

Step 1: Grounding yourself

Touch the metal frame of the robot to ground yourself and prevent any static electricity from breaking the robot.

Step 2: Connecting the power supply to the robot

Connect the power cable to the robot. It has two wires, black and red with a yellow tip. This connects to a similar cable on the robot.

Step 3: Turning on the power supply

Flip the switch at the face of the power supply so that that vertical line (|) is pushed down. Once the power supply has powered on completely, tap the "Output" button so that the current voltage is displayed. The voltage should be greater than 24 Volts but less than 29 Volts, preferably 25 Volts.

Step 4: Turning on the breaker

Ground yourself again. On the left side of the robot, there is a black breaker with a small black lever protruding from the top of it. Push that down so that it is flush with the breaker. Power is now going to the robot and you should see some lights on the Jetson.

Step 5: Powering on the Jetson

Ground yourself again. Push the red button on the Jetson closest to the Husky logo until some green lights come on then let go.

How to Connect to the Robot

Step 1: Connecting to the Jetson

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.

Step 2: Enabling CAN and GPS

In the SSH connection, run cd Resurgence and run ./enable_CAN_and_GPS to enable CAN and GPS. GPS errors are expected.

Step 3: Running the Rover Code

In the SSH connection, run cd build && make -j Rover to build the rover code. Then run ./Rover to start the rover code.

Step 4: Running the Mission Control

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.

Step 5: Displaying the Mission Control

The after running the command, the console will display the URL to access the Mission Control. Open that link in the Chromium.