fillycheezstake
39dae7a156
Mount: fix for STORM32 serial ver 78e and higher
...
This fixes the structs to be compatible with the changes OlliW made to
the gimbal firmware.
http://www.olliw.eu/storm32bgc-wiki/Serial_Communication
10 years ago
Lucas De Marchi
2011c4d988
AP_HAL_Mount: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
10 years ago
Gustavo Jose de Sousa
8011579c5a
AP_Mount: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
b13921a7aa
Mount_SToRM32: find gimbal channel on startup
10 years ago
Randy Mackay
cc0ab26f5d
Mount: fix init of mode
...
Mode was being set from MNT_DEFTL_MODE parameter before that parameter's
value had been initialised from eeprom
10 years ago
Randy Mackay
1d732ddf62
Mount: param desc rename from MAVLink to 3DR Solo
10 years ago
Grant Morphett
84ac8abc42
AP_Mount: Fixed a bug with wrapping of panning angles.
10 years ago
Randy Mackay
0b6323d5ed
Mount: default MNT_TYPE to servo gimbal if rc outputs defined
10 years ago
Randy Mackay
b8e3fe8f26
Mount: AlexMos fix to stop crashing before init
10 years ago
Randy Mackay
66d2328163
Mount: Alexmos save 4 bytes of RAM
10 years ago
Randy Mackay
7a8fe5f4d4
Mount: Alexmos formatting fixes
10 years ago
Andrew Tridgell
83b46243db
AP_Mount: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
1400d0155c
AP_Mount: fixed valgrind error with gimbal code
10 years ago
Randy Mackay
fb2d29364e
Mount_SToRM32_serial: fix angle request
10 years ago
Randy Mackay
9b04a67e63
Mount_SToRM32_serial: rename sent_do_mount_control
10 years ago
Randy Mackay
72eb25b166
Mount: add SToRM32 serial to front end
10 years ago
Sergey Kirillov
c133511431
Mount: add SToRM32 serial support
10 years ago
Andrew Tridgell
d96e62cce7
AP_Mount: update gimbal for changed quaternion API
10 years ago
Andrew Tridgell
19419fd901
AP_Mount: fixed reporting of MAVLink gimbal position to GCS
10 years ago
Andrew Tridgell
730644eaeb
AP_Mount: use M_PI_F instead of (float)M_PI
10 years ago
Andrew Tridgell
7c9e3d4b58
AP_Mount: revert AP_Math class change
10 years ago
Tom Pittenger
4ac1f8a2fa
AP_Mount: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Andrew Tridgell
d8ca0658d7
AP_Mount: fixed some build warnings
10 years ago
Randy Mackay
8ced9cc904
Gimbal: only include for high performance CPUs
10 years ago
Randy Mackay
93ba2d2d32
Mount_MAVLink: uses vehicle's sysid
10 years ago
Randy Mackay
e726a05f3b
Gimbal: fix to parameter init order
...
resolves a compiler warning
10 years ago
Randy Mackay
e9b2153672
Gimbal: formatting fixes
...
Also isCopterFlipped returns bool instead of uint8_t
No functional change
10 years ago
Randy Mackay
db6bb295c7
Mount: add gimbal parameter descriptions
10 years ago
Jonathan Challinger
231f776dd7
AP_Gimbal: change isCopterFlipped()
10 years ago
Arthur Benemann
21b909f670
AP_Gimbal: report gimbal angles using a 312 rotation vector
10 years ago
Arthur Benemann
2850c7ab4a
AP_Gimbal: nest AP_Gimbal files into AP_Mount library
10 years ago
Arthur Benemann
255c5b3025
AP_Mount: report MAVLink gimbal angle to the GCS
10 years ago
Arthur Benemann
4bdf909bbf
AP_Mount: Create new copter parameters to hold gimbal settings
10 years ago
Arthur Benemann
a05fe7e117
AP_Gimbal: Re-implement the target low-pass filter
10 years ago
Arthur Benemann
b3dd8891c8
AP_Mount: Use AP_Gimbal on the AP_Mount_MAVLink class
10 years ago
Arthur Benemann
558a69bdca
Mount_MAVLink: remove code now in AP_Gimbal
10 years ago
Randy Mackay
44d2ae06fb
Mount: unix style line endings
10 years ago
Andrew Tridgell
df948e7358
AP_Mount: fixed for new GIMBAL_REPORT message
10 years ago
Randy Mackay
1ed7737669
Mount: integrate Serial Manager instance
10 years ago
Randy Mackay
8a3a7bdcd1
Mount: add set_angle_target method
10 years ago
Randy Mackay
2189b16165
Mount_SToRM: remove message throttling
...
recent versions of gimbal firmware can handle 50hz update rate
10 years ago
Randy Mackay
b3362d5829
Mount: calc_angle_to_location returns vehicle relative yaw
10 years ago
Randy Mackay
d2739c5ce5
Mount_SToRM: slow updates to 10hz, reverse yaw, pitch
10 years ago
Paul Riseborough
9c2f1ce869
AP_Mount: Fix bug in mavlink gimbal attitude control
10 years ago
Jonathan Challinger
dff899647f
AP_Mount: use AP_AHRS_TYPE instead of AP_AHRS_MOUNT
10 years ago
Jonathan Challinger
7b0e806db1
AP_Mount: correct status_msg to conform to MAVLink specification
10 years ago
Randy Mackay
73e00108e4
Mount: SToRM32 remove unnecessary include
10 years ago
Randy Mackay
23f0bab5d6
Mount: integrate SToRM32 backend
10 years ago
Randy Mackay
92c7949355
Mount: SToRM32 mount backend
10 years ago
Andrew Tridgell
50a11c7d5a
AP_Mount: added an alternative tilt-only gimbal control method
...
this adds some nice control characteristics based on work by Paul and
Arthur, but is tilt only
10 years ago