Changes between Version 27 and Version 28 of Other/Summer/2025/self-driving


Ignore:
Timestamp:
Jun 25, 2025, 4:55:43 PM (9 days ago)
Author:
MichelleGutwein
Comment:

Legend:

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

    v27 v28  
    3030[https://docs.google.com/presentation/d/10KDlyMXHnCqYHTe5A6nhevLICf3jup91HIhf3qXCt6U/edit?slide=id.g369586f805a_0_10#slide=id.g369586f805a_0_10 Week 4 slides]//
    3131
     32== Week 5
     33Trained model on making right and left turns in the city environment[[BR]]
     34Started training on turns at the intersection[[BR]]
     35Created a new model called gps which will allow users to give the car commands on the direction to turn at an intersection before running the car[[BR]]
     36\\
     37[https://docs.google.com/presentation/d/1_Utb2f8qbcjIbTonJ2XXRmijsZU6iXQUkLB3nwDeOGs/edit?slide=id.p#slide=id.p Week 5 slides]//
     38
    3239== Connecting to Rascal
    3340First connect to Zerotier if you're using a personal computer. (If you are not using a personal computer, then plug the car directly into a monitor to access the car).
     
    60677. Go back to **/upcar** and move your data to /rascaltraining/data: **mv dataProcessing/sessions/<your file name here> rascaltraining/data [[BR]]
    61688. If you go into **/rascaltraining/data** you should see your file listed [[BR]]
    62 9. Go back to **/rascaltraining** and type the command: **python trainModel.py -m fisheye --center_width 30 --num_bins 3 --use_labels 1.0 -s labels** [[BR]]
     699. Go back to **/rascaltraining** and type the command: **python trainModel.py -m fisheye --use_labels 1.0 -s labels** [[BR]]
    637010. Now your model is being trained [[BR]]
    647111. To stop training press enter [[BR]]
    657212. Remember to stop training when the validation loss doesn't seem to be decreasing by a significant amount anymore to avoid overfitting [[BR]]
    66 13. To push your newly made model to gitlab, go to **/rascaltraining/savedModels** and type **git add -f <your model number here>** [[BR]]
    67 14. Next type the command **git commit -m "<give it a name>"** [[BR]]
    68 15. Next type the command **git push origin main** [[BR]]
    69 16. Finally, back in the car's terminal type **git pull origin main** [[BR]]
     7313. To check what number model you just created, go to **/savedModels** and type **ls** (yours will be the most recent number)
     7414. To push your newly made model to gitlab, type **git add -f <your model number here>** [[BR]]
     7515. Next type the command **git commit -m "<give it a name>"** [[BR]]
     7616. Next type the command **git push origin main** [[BR]]
     7717. Finally, back in the car's terminal go to **/savedModels** and type **git pull origin main** [[BR]]
    7078
    7179You're now ready to start testing! [[BR]]
     
    7381== Testing Rascal
    7482To test rascal: [[BR]]
    75 1. Enter **./launch_with_model.sh pure_pursuit** in the car's terminal (not the server anymore) [[BR]]
    76 2. Open up the web display [[BR]]
    77 3. Run these commands in the web display: [[BR]]
    78     a. data_loader/load [[BR]]
     831. Go to /upcar in the car's terminal (not the server) [[BR]]
     842. Enter **./launch_with_model.sh pure_pursuit** [[BR]]
     853. Open up the web display [[BR]]
     864. Run these commands in the web display: [[BR]]
    7987    b. sim_camera/set_enable (set to true) [[BR]]
    8088    c. ml/imgDisp (set to true) [[BR]]
    8189    d. ml/0/enable (click enable) [[BR]]
    82     e. ml/0/reset [[BR]]
    83 Watch the car move on it's own!
     90Watch the car move on it's own! [[BR]]
    8491Make sure it doesn't crash!