Skip to content

Commit

Permalink
all 3 switches
Browse files Browse the repository at this point in the history
  • Loading branch information
flybook4@flybook4 committed Feb 10, 2018
1 parent 099b27a commit af7aca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mavros/src/plugins/rc_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class RCIOPlugin : public MavRosPlugin {
}

//force switches to be in extreme positions
for(size_t i = 4; i < 6; ++i){
for(size_t i = 4; i < 7; ++i){
//1 is active so we are a bit conservative here
if(inputs[i] < 0.5){
inputs[i] = -1.0;
Expand Down

0 comments on commit af7aca5

Please sign in to comment.