Changes between Version 48 and Version 49 of Other/Summer/2025/self-driving


Ignore:
Timestamp:
Jul 18, 2025, 12:01:38 AM (9 days ago)
Author:
MichelleGutwein
Comment:

Legend:

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

    v48 v49  
    66662. Connect to the network: rascalstonesdc's 1st network **(ID: d3ecf5726d1a9fcd)** [[BR]]
    67673. Now you can open a terminal and connect to the IP address of the rascal using the command: **ssh rascal@10.244.114.238 [[BR]]**
    68 4. Next, run the command: **roslaunch rascal pure_pursuit.launch** to launch all the nodes [[BR]]
    69 5. In a web page type **10.244.114.238:5000** to open the web display where you can record data [[BR]]
    70 6. In a separate terminal, enter **ssh rascaltrain@10.244.176.240** to connect to the rascal server [[BR]]
    71 7. If you get an error message that says: **access denied public key** then connect through ORBIT (instructions below) to add your public key to the /.ssh file titled **authorized_keys** [[BR]]
    72 8. Now you should be able to connect to the server through Zerotier [[BR]]
     684. In a separate terminal, enter **ssh rascaltrain@10.244.176.240** to connect to the rascal server [[BR]]
     695. If you get an error message that says: **access denied public key** then connect through ORBIT (instructions below) to add your public key to the /.ssh file titled **authorized_keys** [[BR]]
     706. Now you should be able to connect to the server through Zerotier [[BR]]
    7371
    7472Through ORBIT: [[BR]]
     
    8078== Collecting Data
    8179To record data:[[BR]]
    82 1. Press **bagrecorder/enable** on the web display to start recording [[BR]]
    83 2. Use the joystick or keys on the keyboard (wasd) to move the car around[[BR]]
    84 3. Press **bagrecorder** again to stop recording [[BR]]
    85 4. You can record multiple segments in a loaded session [[BR]]
    86 5. When finished, press ctrl+c in the terminal to save the recordings [[BR]]
    87 6. Go to **/opt/upcar/dataProcessing** and type **python bag2AllData.py** in the terminal to access all recorded sessions [[BR]]
    88 7. Select the number that you want to download (should be the most recent one)[[BR]]
    89 8. Open a new terminal and connect to the rascal server [[BR]]
    90 9. 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]]
    91 10. It will ask you to select a host. Choose **1) rascal@172.24.114.238** which is the car's IP address [[BR]]
    92 11. If it asks for a password it's always **si2022sdc** [[BR]]
    93 12. It will ask you which sessions you want to copy over (enter the indices of the sessions you want to copy) [[BR]]
     801. In the car's terminal, run the command: **roslaunch rascal pure_pursuit.launch** to launch all the nodes [[BR]]
     812. In a web page type **10.244.114.238:5000** to open the web display where you can record data [[BR]]
     823. Press **bagrecorder/enable** on the web display to start recording [[BR]]
     834. Use the joystick or keys on the keyboard (wasd) to move the car around[[BR]]
     845. Press **bagrecorder** again to stop recording [[BR]]
     856. You can record multiple segments in a loaded session [[BR]]
     867. When finished, press ctrl+c in the terminal to save the recordings [[BR]]
     878. Go to **/opt/upcar/dataProcessing** and type **python bag2AllData.py** in the terminal to access all recorded sessions [[BR]]
     889. Select the number that you want to download (should be the most recent one)[[BR]]
     8910. Open a new terminal and connect to the rascal server [[BR]]
     9011. 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]]
     9112. It will ask you to select a host. Choose **1) rascal@172.24.114.238** which is the car's IP address [[BR]]
     9213. If it asks for a password it's always **si2022sdc** [[BR]]
     9314. It will ask you which sessions you want to copy over (enter the indices of the sessions you want to copy) [[BR]]
    9494
    9595== Editing and labeling the Data
     
    98983. In the web display you can click **replayer/pause-play** to run through all of the data segments [[BR]]
    9999
    100 **Deleting bad segments of data:**
     100**Deleting bad segments of data:** [[BR]]
    101101When portions of the recorded data are messy or irrelevant for training, they can be excluded to improve model performance [[BR]]
    1021021. To jump between different segments that the web display automatically divides the data into, click **replayer/nextSeg** or **replayer/prevSeg**
     
    1131132. Click **replayer/setLvalid, replayer/setRvalid, replayer/setSvalid** to indicate which paths are possible at that intersection. This will be used later when training.[[BR]]
    114114
    115 Once you are finished editing you MUST save the data by running the **data_loader/smoothen** command
     115IMPORTANT: Once you are finished editing you MUST save the data by running the **data_loader/smoothen** command
    116116
    117117== Training Rascal