Changes between Version 11 and Version 12 of RasLow

Show
Ignore:
Author:
flesher (IP: 192.168.0.42)
Timestamp:
11/11/06 15:39:50 (3 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RasLow

    v11 v12  
    5050 
    5151== Running Python Rev2 Code == 
     52First make sure you have installed all of the necessary software on your computer. There is a README file in trunk/sim that explains all of the Python packages you will need in order to run the code. 
     53 
    5254 1. Remote desktop into RasLow 
    5355 2. Edit trunk/config/comm.config to make sure the networking settings are correct 
    5456 3. Edit trunk/config/main.config to select whether you want to run the system in simulation mode or not 
    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 
    5863 
    5964== Troubleshooting == 
    6065 1. '''import serial''' fails when using real sensors ( because python serial is not install see SoftwareSetup 
    61  2. '''cannot find "filters"'''  
    62     * This is the error we are stuck on, any thoughts ?  
    6366 
    6467Hopefully everything should work. If you get errors open the code you want to debug in a python editor and enter: