Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philip A Levis
EE185
Commits
ee060a61
Commit
ee060a61
authored
Dec 06, 2021
by
Vidisha Srivastav
Browse files
fixed PWM command orientation for right wing accel orientation
will need to change this for left wing as well for final flyer design
parent
6edbb7fe
Changes
1
Show whitespace changes
Inline
Side-by-side
software/firmware/circuitpython-main/ports/atmel-samd/common-hal/motor_control/PID.c
View file @
ee060a61
...
...
@@ -186,8 +186,12 @@ float get_wing_angle(bool left){ ///Will take in sensor values from WING acceler
float
angle_degrees
=
angle_rads
*
180
/
3
.
14
;
// TODO: Why bird_angle different here than python?
if
(
left
){
return
angle_degrees
*
-
1
;
}
else
{
return
angle_degrees
;
}
}
extern
void
common_hal_time_delay_ms
(
uint32_t
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment