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
27618df8
Commit
27618df8
authored
Feb 06, 2011
by
pixhawk
Browse files
Merge branch 'dev' of github.com:pixhawk/qgroundcontrol into experimental
parents
74d21a64
15ce5ef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
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