Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
cf8fd0d9
Commit
cf8fd0d9
authored
Sep 04, 2011
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor compile fixes, added velocities to simulation
parent
034c8afe
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
120 additions
and
112 deletions
+120
-112
qgroundcontrol.xml
files/flightgear/qgroundcontrol.xml
+44
-0
MAVLinkSimulationWaypointPlanner.cc
src/comm/MAVLinkSimulationWaypointPlanner.cc
+0
-5
QGCFlightGearLink.cc
src/comm/QGCFlightGearLink.cc
+5
-0
UAS.cc
src/uas/UAS.cc
+70
-106
UAS.h
src/uas/UAS.h
+1
-1
No files found.
files/flightgear/
ardupilot
.xml
→
files/flightgear/
qgroundcontrol
.xml
View file @
cf8fd0d9
...
...
@@ -52,6 +52,50 @@
</chunk>
<!-- Velocities -->
<chunk>
<name>
v_n
</name>
<type>
float
</type>
<format>
%2.3f
</format>
<node>
/velocities/speed-north-fps
</node>
</chunk>
<chunk>
<name>
v_e
</name>
<type>
float
</type>
<format>
%2.3f
</format>
<node>
/velocities/speed-east-fps
</node>
</chunk>
<chunk>
<name>
v_d
</name>
<type>
float
</type>
<format>
%2.3f
</format>
<node>
/velocities/speed-down-fps
</node>
</chunk>
<chunk>
<name>
rate_roll
</name>
<type>
float
</type>
<format>
%2.3f
</format>
<node>
/orientation/roll-rate-degps
</node>
</chunk>
<chunk>
<name>
rate_pitch
</name>
<type>
float
</type>
<format>
%2.3f
</format>
<node>
/orientation/pitch-rate-degps
</node>
</chunk>
<chunk>
<name>
rate_yaw
</name>
<type>
float
</type>
<format>
%2.3f
</format>
<node>
/orientation/yaw-rate-degps
</node>
</chunk>
<chunk>
<name>
airspeed-kt
</name>
<type>
float
</type>
...
...
src/comm/MAVLinkSimulationWaypointPlanner.cc
View file @
cf8fd0d9
...
...
@@ -449,13 +449,8 @@ MAVLinkSimulationWaypointPlanner::MAVLinkSimulationWaypointPlanner(MAVLinkSimula
protocol_timeout
(
1000
),
timestamp_last_send_setpoint
(
0
),
systemid
(
sysid
),
<<<<<<<
HEAD
compid
(
MAV_COMP_ID_MISSIONPLANNER
),
setpointDelay
(
10
),
=======
compid
(
MAV_COMP_ID_WAYPOINTPLANNER
),
setpointDelay
(
1000
),
>>>>>>>
master
yawTolerance
(
0.4
f
),
verbose
(
true
),
debug
(
false
),
...
...
src/comm/QGCFlightGearLink.cc
View file @
cf8fd0d9
...
...
@@ -217,6 +217,11 @@ void QGCFlightGearLink::readBytes()
roll
=
values
.
at
(
3
).
toDouble
();
pitch
=
values
.
at
(
4
).
toDouble
();
yaw
=
values
.
at
(
5
).
toDouble
();
vx
=
values
.
at
(
6
).
toDouble
();
vy
=
values
.
at
(
6
).
toDouble
();
vz
=
values
.
at
(
6
).
toDouble
();
// FIXME Accelerations missing
...
...
src/uas/UAS.cc
View file @
cf8fd0d9
This diff is collapsed.
Click to expand it.
src/uas/UAS.h
View file @
cf8fd0d9
...
...
@@ -159,7 +159,7 @@ protected: //COMMENTS FOR TEST UNIT
int
timeRemaining
;
///< Remaining time calculated based on previous and current
int
mode
;
///< The current mode of the MAV
int
status
;
///< The current status of the MAV
in
t
navMode
;
///< The current navigation mode of the MAV
uint32_
t
navMode
;
///< The current navigation mode of the MAV
quint64
onboardTimeOffset
;
bool
controlRollManual
;
///< status flag, true if roll is controlled manually
...
...
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