Skip to content

Commit

Permalink
Mid run changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennett-Petzold committed Aug 11, 2024
1 parent f89c927 commit b0521a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/missions/gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ pub fn adjust_logic<
ActionChain::new(
TupleSecond::new(ActionConcurrent::new(
ActionDataConditional::new(
act_nest!(
wrap_action(ActionConcurrent::new, FirstValid::new),
DetectTarget::<Target, YoloClass<Target>, Offset2D<f64>>::new(Target::Blue),
DetectTarget::<Target, YoloClass<Target>, Offset2D<f64>>::new(
Target::Middle
),
),
//act_nest!(
//wrap_action(ActionConcurrent::new, FirstValid::new),
DetectTarget::<Target, YoloClass<Target>, Offset2D<f64>>::new(Target::Blue),
//DetectTarget::<Target, YoloClass<Target>, Offset2D<f64>>::new(
//Target::Middle
//),
//),
ActionSequence::new(SetSideBlue::new(), Terminal::new()),
ActionDataConditional::new(
DetectTarget::<Target, YoloClass<Target>, Offset2D<f64>>::new(Target::Red),
Expand Down
4 changes: 2 additions & 2 deletions src/missions/octagon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ pub fn octagon<
const FALSE_COUNT: u32 = 3;
const ADJUST_COUNT: u32 = 2;

const OCTAGON_SPIN: f32 = 60.0 * POOL_YAW_SIGN;
const OCTAGON_SPIN: f32 = 50.0 * POOL_YAW_SIGN;

const MISSION_END_TIME: f32 = ((INIT_TIME + BLIND_TIME) * 2.0) + 13.0;
const MISSION_END_TIME: f32 = ((INIT_TIME + BLIND_TIME) * 2.0) + 13.0 + 6.0;

RaceAction::new(
act_nest!(
Expand Down

0 comments on commit b0521a1

Please sign in to comment.