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
27618df8
Commit
27618df8
authored
Feb 06, 2011
by
pixhawk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of github.com:pixhawk/qgroundcontrol into experimental
parents
74d21a64
15ce5ef8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
MAVLinkSimulationMAV.cc
src/comm/MAVLinkSimulationMAV.cc
+2
-0
UAS.cc
src/uas/UAS.cc
+3
-0
No files found.
src/comm/MAVLinkSimulationMAV.cc
View file @
27618df8
...
...
@@ -158,6 +158,7 @@ void MAVLinkSimulationMAV::mainloop()
// The message container to be used for sending
mavlink_message_t
ret
;
#ifdef MAVLINK_ENABLED_PIXHAWK
// Send which controllers are active
mavlink_control_status_t
control_status
;
control_status
.
control_att
=
1
;
...
...
@@ -169,6 +170,7 @@ void MAVLinkSimulationMAV::mainloop()
control_status
.
vision_fix
=
0
;
// no fix from vision system
mavlink_msg_control_status_encode
(
systemid
,
MAV_COMP_ID_IMU
,
&
ret
,
&
control_status
);
link
->
sendMAVLinkMessage
(
&
ret
);
#endif //MAVLINK_ENABLED_PIXHAWK
// Send actual controller outputs
// This message just shows the direction
...
...
src/uas/UAS.cc
View file @
27618df8
...
...
@@ -349,6 +349,8 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
}
}
break
;
#ifdef MAVLINK_ENABLED_PIXHAWK
case
MAVLINK_MSG_ID_CONTROL_STATUS
:
{
mavlink_control_status_t
status
;
...
...
@@ -365,6 +367,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit
gpsLocalizationChanged
(
this
,
status
.
gps_fix
);
}
break
;
#endif // PIXHAWK
case
MAVLINK_MSG_ID_RAW_IMU
:
{
mavlink_raw_imu_t
raw
;
...
...
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