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
16f63bfb
Commit
16f63bfb
authored
Feb 19, 2014
by
Don Gagne
Browse files
Added comment for sensor selection
parent
656e153f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/MAVLinkSimulationMAV.cc
View file @
16f63bfb
...
...
@@ -168,11 +168,16 @@ void MAVLinkSimulationMAV::mainloop()
// SYSTEM STATUS
mavlink_sys_status_t
status
;
// Since the simulation outputs global position, attiude and raw pressure we specify that the
// sensors that would be collecting this information are present, enabled and healthy.
status
.
onboard_control_sensors_present
=
MAV_SYS_STATUS_SENSOR_3D_GYRO
|
MAV_SYS_STATUS_SENSOR_3D_ACCEL
|
MAV_SYS_STATUS_SENSOR_3D_MAG
|
MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE
|
MAV_SYS_STATUS_SENSOR_GPS
;
status
.
onboard_control_sensors_enabled
=
status
.
onboard_control_sensors_present
;
status
.
onboard_control_sensors_health
=
status
.
onboard_control_sensors_present
;
status
.
load
=
300
;
...
...
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