Changes between Version 56 and Version 57 of Other/Summer/2025/self-driving


Ignore:
Timestamp:
Jul 30, 2025, 1:59:39 PM (8 days ago)
Author:
MichelleGutwein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Other/Summer/2025/self-driving

    v56 v57  
    88881. In the car's terminal, run the command: **roslaunch rascal pure_pursuit.launch** to launch all the nodes [[BR]]
    89892. In a web page type **10.244.114.238:5000** to open the web display where you can record data [[BR]]
    90 3. Press **bagrecorder/enable** on the web display to start recording [[BR]]
    91 4. Use the joystick or keys on the keyboard (wasd) to move the car around[[BR]]
    92 5. Press **bagrecorder** again to stop recording [[BR]]
    93 6. When finished, press ctrl+c in the terminal to save the recorded session [[BR]]
    94 7. You can record multiple segments within a single session, but note that it's better to keep sessions short— record a few segments, save the session, and then start a new one. This helps prevent data loss in case the car malfunctions or the Wi-Fi connection drops. [[BR]]
    95 8. Go to **/opt/upcar/dataProcessing** and type **python bag2AllData.py** in the terminal to access all recorded sessions [[BR]]
    96 9. Select the number that you want to download (should be the most recent one)[[BR]]
    97 10. Open a new terminal and connect to the rascal server [[BR]]
    98 11. Open **/upcar/dataProcessing** on the server and type **./copyFromCar.sh** which will get the files from the car and bring them over to the server [[BR]]
    99 12. It will ask you to select a host. Choose **1) rascal@172.24.114.238** which is the car's IP address [[BR]]
    100 13. If it asks for a password it's always **si2022sdc** [[BR]]
    101 14. It will ask you which sessions you want to copy over (enter the indices of the sessions you want to copy) [[BR]]
    102 15. In **/sessions** change the file name to something relevant to keep track of your data (using **mv**)
     903. Make sure **wideFOV** is set to true for the fisheye camera [[BR]]
     914. Press **bagrecorder/enable** on the web display to start recording [[BR]]
     925. Use the joystick or keys on the keyboard (wasd) to move the car around[[BR]]
     936. Press **bagrecorder** again to stop recording [[BR]]
     947. When finished, press ctrl+c in the terminal to save the recorded session [[BR]]
     958. You can record multiple segments within a single session, but note that it's better to keep sessions short— record a few segments, save the session, and then start a new one. This helps prevent data loss in case the car malfunctions or the Wi-Fi connection drops. [[BR]]
     969. Go to **/opt/upcar/dataProcessing** and type **python bag2AllData.py** in the terminal to access all recorded sessions [[BR]]
     9710. Select the number that you want to download (should be the most recent one)[[BR]]
     9811. Open a new terminal and connect to the rascal server [[BR]]
     9912. Open **/upcar/dataProcessing** on the server and type **./copyFromCar.sh** which will get the files from the car and bring them over to the server [[BR]]
     10013. It will ask you to select a host. Choose **1) rascal@172.24.114.238** which is the car's IP address [[BR]]
     10114. If it asks for a password it's always **si2022sdc** [[BR]]
     10215. It will ask you which sessions you want to copy over (enter the indices of the sessions you want to copy) [[BR]]
     10316. In **/sessions** change the file name to something relevant to keep track of your data (using **mv**)
    103104
    104105== Editing and labeling the Data
     
    1481493. Open up the web display [[BR]]
    1491504. Run these commands in the web display: [[BR]]
    150     a. ml/imgDisp (set to true) [[BR]]
    151     b. ml/0/enable (click enable) [[BR]]
     151    a. wideFOV (set to true) [[BR]]
     152    b. ml/imgDisp (set to true) [[BR]]
     153    c. ml/0/enable (click enable) [[BR]]
    152154Watch the car move on it's own! [[BR]]
    153155Make sure it doesn't crash!