-
-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
the antennas have a movement range of about 30 degrees. to change to 180 degrees modify the antennas.py file in mini_bdx_runtime/mini_bdx_runtime/
change the value to dutycycle function:
def value_to_duty_cycle(v):
pulse_width_ms = 1.5 + (v - .5)*2 # now .5 to 2.5ms was 1ms to 2ms = 1.5 + (v * 0.5)
duty_cycle = int((pulse_width_ms / 20) * 65535)
return min(max(duty_cycle, 1637), 6553) # was 3277, 6553)
Metadata
Metadata
Assignees
Labels
No labels