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
0047d46b
Commit
0047d46b
authored
Apr 21, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor modifications to sim value display, not optimal yet
parent
11006e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
UAS.cc
src/uas/UAS.cc
+8
-8
No files found.
src/uas/UAS.cc
View file @
0047d46b
...
...
@@ -2734,14 +2734,14 @@ void UAS::sendHilState(uint64_t time_us, float roll, float pitch, float yaw, flo
{
if
(
sensorHil
)
{
// Emit attitude for cross-check
emit
attitudeChanged
(
this
,
201
,
roll
,
pitch
,
yaw
,
time_us
/
1000
);
emit
valueChanged
(
uasId
,
"roll sim"
,
"rad"
,
roll
,
time_us
/
1000
);
emit
valueChanged
(
uasId
,
"pitch sim"
,
"rad"
,
pitch
,
time_us
/
1000
);
emit
valueChanged
(
uasId
,
"yaw sim"
,
"rad"
,
yaw
,
time_us
/
1000
);
emit
valueChanged
(
uasId
,
"roll rate sim"
,
"rad/s"
,
rollspeed
,
time_us
/
1000
);
emit
valueChanged
(
uasId
,
"pitch rate sim"
,
"rad/s"
,
pitchspeed
,
time_us
/
1000
);
emit
valueChanged
(
uasId
,
"yaw rate sim"
,
"rad/s"
,
yawspeed
,
time_us
/
1000
);
emit
attitudeChanged
(
this
,
201
,
roll
,
pitch
,
yaw
,
getUnixTime
()
);
emit
valueChanged
(
uasId
,
"roll sim"
,
"rad"
,
roll
,
getUnixTime
()
);
emit
valueChanged
(
uasId
,
"pitch sim"
,
"rad"
,
pitch
,
getUnixTime
()
);
emit
valueChanged
(
uasId
,
"yaw sim"
,
"rad"
,
yaw
,
getUnixTime
()
);
emit
valueChanged
(
uasId
,
"roll rate sim"
,
"rad/s"
,
rollspeed
,
getUnixTime
()
);
emit
valueChanged
(
uasId
,
"pitch rate sim"
,
"rad/s"
,
pitchspeed
,
getUnixTime
()
);
emit
valueChanged
(
uasId
,
"yaw rate sim"
,
"rad/s"
,
yawspeed
,
getUnixTime
()
);
}
else
{
mavlink_message_t
msg
;
mavlink_msg_hil_state_pack
(
mavlink
->
getSystemId
(),
mavlink
->
getComponentId
(),
&
msg
,
...
...
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