Skip to content

Commit

Permalink
Slew MORE
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminwp18 committed Jun 21, 2024
1 parent 58a00f8 commit dabe736
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

CONTROLLER_MODE_PARAM = "controller_mode"

NEXT_INSTR_FRAC = 0.1
NEXT_INSTR_FRAC = 0.05
PREV_INSTR_FRAC = 1 - NEXT_INSTR_FRAC


Expand Down Expand Up @@ -152,6 +152,8 @@ def joystick_to_pixhawk(self, msg: Joy) -> None:
author=PixhawkInstruction.MANUAL_CONTROL
)

self.previous_pixhawk_instruction = smoothed_instruction

self.rc_pub.publish(smoothed_instruction)

@staticmethod
Expand Down

0 comments on commit dabe736

Please sign in to comment.