| 55 | | 4. Run trunk/sim/revision2/frontend.py. You should see a visualization of the robot |
|---|
| 56 | | 5. Run trunk/sim/revision2/backend.py. This will start the devices and / or simulation. |
|---|
| 57 | | 6. Activate the frontend window and press 'm' to run in manual mode (wasd). Press 'o' to run the obstacle avoidance code |
|---|
| | 57 | 4. Edit trunk/config/devices.config to select the comm ports you are using for each device |
|---|
| | 58 | 5. Run trunk/sim/revision2/real_s12.py to test the S12. The first test is the "send test" -- it changes the PWM signal. The second test is the "receive test" and should print the sonar and encoder values. If the program crashes, make sure the S12 is connected to the computer and that the correct comm port was selected in step 4. |
|---|
| | 59 | 6. Run trunk/sim/revision2/real_imu.py to test the IMU. If the program crashes, make sure the IMU is connected to the computer and that the correct comm port was selected in step 4. |
|---|
| | 60 | 7. Run trunk/sim/revision2/frontend.py. You should see a visualization of the robot |
|---|
| | 61 | 8. Run trunk/sim/revision2/backend.py. This will start the devices and / or simulation. |
|---|
| | 62 | 9. Activate the frontend window and press 'm' to run in manual mode (wasd). Press 'o' to run the obstacle avoidance code |
|---|