Checklist for head-to-head phase
March 19, 2024 ยท View on GitHub
F1TENTH autonomous grand prix (ICRA'23 London) - ForzaETH
Roles
- [Control_MissionControl]
- [Localization_MissionControl]
- [MissionControl]
- [Pilot]
- [Orbiters] (as many as possible)
Procedure
Precheck [MissionControl]:
- Use a fully charged battery and turn on the car
- Check all walkie-talkie batteries
- Check if you are in the correct branch (
master) on the car. catkin buildandsauce- No wires in the way, battery is firmly positioned with tape
- Wheel nuts tightened and pin checked
- Walkie-Talkie connection is established between mission control [Localization_MissionControl] and [Pilot].
- Make sure [Pilot] knows the normal and overtaking sectors of the track, as well as the raceline
- [Orbiters] are equidistant along the track
- [Orbiter] get ready to countdown laps into walkie-talkie
Strategy
- If we don't expect to overtake, put trailing distance higher (eg 2.0)
- If opponent is very slow (30% laptime slower) also higher trailing distance
- Otherwise keep 1.5m trailing distance
- Set
ratio_to_glob_pathindynamic_tracker_serverto expected opponent speed
Head To Head
- Launch
roscoreandbase_systemon the car - Locally, launch
pit_rvizXandpitX rqt. - [MissionControl] Check all
rqtdynamic reconfigure parameters are good. - Launch head-to-head:
roslaunch stack_master headtohead.launch racecar_version:=<VERSION> LU_table:=<LU_table_name> overtake_mode:=spliner od_mode:=sami
- Check that the
Perception DetectandPerception Trackingprinted outReadyin the terminal - Check that
Perception Detect noMemorymodeis set! - [MisisonControl] Check if localization is good. If needed, correct the position either telling the [Pilot] to localize or with the pose estimation button in RViz.
- When all MissionControl parameters are OK, [Localization_MissionControl] gives a thumbs-up. When [Pilot] sees this, start autonomous driving.
- Ready check: "pit ready" --> "orbiter ready" --> "driver ready"
Procedure in case of a Crash
- The two closest [Orbiters] run to the crash site.
- One student raises the barriers while the [Driver] drives the car back onto the track.
- [Driver] drives manually around the track while the barriers are repaired.
- When localization is ready, [Localization_MissionControl] informs the [Driver].
- The driver must return to the position of the crash.
- When the driver receives the signal from the referees, resume autonomous driving.
- Check-Uncheck the
force_GBTRACKoption indynamic_statemachine_serverto ensure we restart the race inGB_FREEmode