f110_planning.misc package¶
Submodules¶
f110_planning.misc.dummy_planner module¶
Dummy planner module.
- class f110_planning.misc.dummy_planner.DummyPlanner¶
Bases:
BasePlannerA dummy planner that always returns a constant action.
f110_planning.misc.flippy_planner module¶
Flippy planner module.
- class f110_planning.misc.flippy_planner.FlippyPlanner(flip_every: int = 1, steer: float = 2, speed: float = 1)¶
Bases:
BasePlannerPlanner designed to exploit integration methods and dynamics. For testing only. To observe this error, use single track dynamics for all velocities >0.1
f110_planning.misc.hybrid_planner module¶
Hybrid planner module combining manual and autonomous control.
- class f110_planning.misc.hybrid_planner.HybridPlanner(manual_planner: ManualPlanner, auto_planner: BasePlanner)¶
Bases:
BasePlannerArbitrator that delegates control based on human input.
The Hybrid Planner monitors the keyboard state. If any movement keys (‘W’, ‘A’, ‘S’, ‘D’) are active, it hands over control to the human operator. Otherwise, it defaults to the provided autonomous planner.
f110_planning.misc.manual_planner module¶
Manual planner module for keyboard control.
- class f110_planning.misc.manual_planner.ManualPlanner(s_min: float = -0.4189, s_max: float = 0.4189, v_min: float = -5.0, v_max: float = 20.0, accel: float = 8.0, decel: float = 15.0, steer_rate: float = 1.5, dt: float = 0.01)¶
Bases:
BasePlannerKeyboard-based control interface with simplified vehicle dynamics.
This planner allows a human operator to control the vehicle using ‘WASD’ or Arrow keys. It simulates realistic steering and acceleration rates by integrating inputs over the simulation timestep.
f110_planning.misc.random_planner module¶
Random planner module.
- class f110_planning.misc.random_planner.RandomPlanner(s_min: float = -0.4189, s_max: float = 0.4189, v_min: float = 0.5, v_max: float = 5.0)¶
Bases:
BasePlannerExperimental planner that yields stochastic control actions.
Used primarily for environment stress-testing and data diversity generation.
Module contents¶
Miscellaneous planners for F1TENTH.
- class f110_planning.misc.DummyPlanner¶
Bases:
BasePlannerA dummy planner that always returns a constant action.
- class f110_planning.misc.FlippyPlanner(flip_every: int = 1, steer: float = 2, speed: float = 1)¶
Bases:
BasePlannerPlanner designed to exploit integration methods and dynamics. For testing only. To observe this error, use single track dynamics for all velocities >0.1
- class f110_planning.misc.HybridPlanner(manual_planner: ManualPlanner, auto_planner: BasePlanner)¶
Bases:
BasePlannerArbitrator that delegates control based on human input.
The Hybrid Planner monitors the keyboard state. If any movement keys (‘W’, ‘A’, ‘S’, ‘D’) are active, it hands over control to the human operator. Otherwise, it defaults to the provided autonomous planner.
- class f110_planning.misc.ManualPlanner(s_min: float = -0.4189, s_max: float = 0.4189, v_min: float = -5.0, v_max: float = 20.0, accel: float = 8.0, decel: float = 15.0, steer_rate: float = 1.5, dt: float = 0.01)¶
Bases:
BasePlannerKeyboard-based control interface with simplified vehicle dynamics.
This planner allows a human operator to control the vehicle using ‘WASD’ or Arrow keys. It simulates realistic steering and acceleration rates by integrating inputs over the simulation timestep.
- class f110_planning.misc.RandomPlanner(s_min: float = -0.4189, s_max: float = 0.4189, v_min: float = 0.5, v_max: float = 5.0)¶
Bases:
BasePlannerExperimental planner that yields stochastic control actions.
Used primarily for environment stress-testing and data diversity generation.