You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
428 B
13 lines
428 B
#include "Blimp.h" |
|
/* |
|
* Init and run calls for manual flight mode |
|
*/ |
|
|
|
// Runs the main manual controller |
|
void ModeManual::run() |
|
{ |
|
motors->right_out = channel_right->get_control_in() / float(RC_SCALE); |
|
motors->front_out = channel_front->get_control_in() / float(RC_SCALE); |
|
motors->yaw_out = channel_yaw->get_control_in() / float(RC_SCALE); |
|
motors->down_out = channel_down->get_control_in() / float(RC_SCALE); |
|
}
|
|
|