[modules] clean up digital cam
- actually use position in DC_SHOT message to display marker in GCS
- works for rotorcrafts as well now
- DC_SHOT message now with lat/lon/alt/hmsl instead of UTM and psi(heading) additionally to course
- general cleanup
- **replace meter grid by proper distance autoshoot**:
Previously DC_AUTOSHOOT_DISTANCE would shoot on a 100m UTM north distance grid, seems like nobody actually used that or found this useful.
So changing this to "proper" distance based autoshoot, where we shoot the next pic if `dc_autoshoot_distance_interval` is greater than distance to last saved shot position.
- remove unneeded dc_buffer* variables
- replace SENSOR_SYNC_SEND with DC_SHOT_SYNC_SEND which defaults to TRUE
- add dc_distance function
- use dc_gps_count in distance mode
- cleanup some variables
Previously DC_AUTOSHOOT_DISTANCE would shoot on a 100m UTM north distance grid,
seems like nobody actually used that or found this useful.
So changing this to "proper" distance based autoshoot, storing the last shot position and
shoting the next one if dc_autoshoot_distance_interval is greater than distance to last saved shot position.
Some more cleanup:
- remove unused dc_probing
- remove unused DC_IMAGE_BUFFER_TPI
[link] improve datalink/telemetry report
- more reported data about up/down-link
- cleanup report messages
- display link page in GCS even in single link mode
closes#442
[radio_control] cleanup channel defines
- PPM: remove PPM_NB_CHANNEL define an always decode RADIO_CTL_NB (number of channels in radio.xml)
- PPM: the actually used/needed channels RADIO_CONTROL_NB_CHANNEL default to RADIO_CTL_NB but can be overwritten by user
e.g. to use less channels for intermcu
- SBUS: only provide a default for RADIO_CONTROL_NB_CHANNEL
- Spektrum: always try to decode up to SPEKTRUM_NB_CHANNEL (12), but copy only used RADIO_CONTROL_NB_CHANNEL to radio_control.values
- error if RADIO_CONTROL_NB_CHANNEL > max available channels
As far as I can discern this should finally make it possible to override the actually used RADIO_CONTROL_NB_CHANNEL from the airframe file (e.g. to transfer less via intermcu) while still using the proper number of channels for parsing.
- PPM: remove PPM_NB_CHANNEL define an always decode RADIO_CTL_NB (number of channels in radio.xml)
- PPM: the actually used/needed channels RADIO_CONTROL_NB_CHANNEL default to RADIO_CTL_NB but can be overwritten by user
e.g. to use less channels for intermcu
- SBUS: only provide a default for RADIO_CONTROL_NB_CHANNEL