Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
943391db
Commit
943391db
authored
Sep 19, 2013
by
Hyon Lim (Retina)
Browse files
Motor order has been determined
parent
8b1f5624
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/QGCXPlaneLink.cc
View file @
943391db
...
@@ -329,18 +329,11 @@ void QGCXPlaneLink::updateControls(uint64_t time, float rollAilerons, float pitc
...
@@ -329,18 +329,11 @@ void QGCXPlaneLink::updateControls(uint64_t time, float rollAilerons, float pitc
qDebug
()
<<
"MAV_TYPE_QUADROTOR"
;
qDebug
()
<<
"MAV_TYPE_QUADROTOR"
;
// Individual effort will be provided directly to the actuators on Xplane quadrotor.
// Individual effort will be provided directly to the actuators on Xplane quadrotor.
#if 1
p
.
f
[
0
]
=
yawRudder
;
p
.
f
[
0
]
=
rollAilerons
;
p
.
f
[
1
]
=
pitchElevator
;
p
.
f
[
2
]
=
yawRudder
;
p
.
f
[
3
]
=
throttle
;
#endif
#if 0
p.f[0] = throttle;
p
.
f
[
1
]
=
rollAilerons
;
p
.
f
[
1
]
=
rollAilerons
;
p.f[2] =
pitchElevator
;
p
.
f
[
2
]
=
throttle
;
p.f[3] =
yawRudde
r;
p
.
f
[
3
]
=
pitchElevato
r
;
#endif
isFixedWing
=
false
;
isFixedWing
=
false
;
}
}
else
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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