Matthias Badaire
6e5e438b0f
AP_Mount: Make use of the new AP_Mount_Alexmos backend
...
This is adding AP_Mount_Alexmos as one of the available backend
10 years ago
Matthias Badaire
dfc086f9e9
AP_Mount_Alexmos : Add Alexmos Serial support for 8bit cards
...
This is the initial implementation of Alemox gimbal protocol. the uart output is for the moment hard coded but should become a parameter.
10 years ago
Randy Mackay
66ad56161b
Mount_MAVLink: fix to calc_angle_to_location params
10 years ago
Randy Mackay
f509dad991
Mount_Servo: bug fix to calc_angle_to_location params
10 years ago
Randy Mackay
a78309734d
Mount_MAVLink: remove set_roi_target, configure
...
These methods are now in the backend
10 years ago
Randy Mackay
99c35d5cf7
Mount_Servo: remove set_roi_target, configure
...
These methods are now in the backend
10 years ago
Randy Mackay
72fec52f0f
Mount_Backend: move set_roi_target, configure to backend
10 years ago
Randy Mackay
efeb05876e
AP_Mount: initialise mode to default
10 years ago
Randy Mackay
ace1fd8740
Mount_MAVLink: handle RC and GPS targeting in lib
...
Previously we expected the mount to do this but it is likely that the
first versions of MAVLink enable mounts will only be capable of pointing
at a particular angle
10 years ago
Randy Mackay
9d4210b82a
Mount_Backend: move RC target handling to backend
10 years ago
Randy Mackay
b3044ced1f
Mount_Backend: move calc_angle_to_lcoation to backend
10 years ago
Randy Mackay
8fabacf5ff
Mount_MAVLink: use sysid from vehicle, compid of 10
10 years ago
Randy Mackay
6af5a6687f
Mount: add params for second mount
10 years ago
Randy Mackay
5d30af233a
Mount: move param underscore to lib
10 years ago
Randy Mackay
2ed4ca409c
Mount_Servo: check_servo_map every 3sec
10 years ago
Randy Mackay
cb5a122dab
Mount_Servo: add set_mode
10 years ago
Randy Mackay
a41ff2375b
Mount_Backend: add set_mode virtual method
10 years ago
Randy Mackay
ef719b145b
Mount: rename MODE to DFLT_MODE, move set_mode to backend
10 years ago
Randy Mackay
6c766051e8
Mount_MAVLink: minimalist mavlink backend
...
We assume MAVLink enabled mount will do all the hard work of support all modes
10 years ago
Randy Mackay
8a9df1c894
Mount_Servo: Servo functions moved to backend
10 years ago
Randy Mackay
7df2892b8d
Mount_Backend: add backend class
10 years ago
Randy Mackay
88db50c3a7
Mount: parent class becomes front-end
10 years ago
Randy Mackay
314eb2536f
Mount: fix example sketch
10 years ago
Andrew Tridgell
411766f45a
AP_Mount: removed use of mavlink_check_target()
10 years ago
Andrew Tridgell
78db698108
AP_Mount: allow a MOUNT_CONTROL message to reset RC targetting
...
fixes issue #1617
10 years ago
Andrew Tridgell
14467b75a1
AP_Mount: use norm_input_dz()
...
this makes rc targeting much easier without drift
10 years ago
Arthur Benemann
f7f9bedc38
AP_Mount: update the status_msg() method to match the new definition
10 years ago
Jason Short
7ee5b58535
AP_Mount: Axis mask speedup
...
Using a simple bit mask to avoid calculating an unneeded ATAN2() for AVR users.
10 years ago
Jonathan Challinger
d03ed7a2c3
AP_Mount: Added lead filter
10 years ago
Ju1ien
1c96bf0b1d
AP_Mount.cpp - correct units in description
...
That should be corrected also in MP as the current code is expecting
degrees, not centidegrees.
11 years ago
Randy Mackay
039f4740ce
Mount: correct comment on set_mode_to_default time
11 years ago
Randy Mackay
5614e42063
Mount: init members to resolve compiler warnings
11 years ago
Andrew Tridgell
fddf895d66
AP_Mount: fixed example build
11 years ago
Andrew Tridgell
6ea68b318e
AP_Mount: fixed example build
11 years ago
svefro
be9bfc5530
Mount: set_mode method made public
11 years ago
Michael Oborne
30a3927ea8
AP_Mount: fix where status_msg() is sent
...
send to the channel where the trigger msg was sent from
11 years ago
Andrew Tridgell
eb67948171
AP_Mount: convert to new GPS API
11 years ago
Andrew Tridgell
6eece3a278
AP_Mount: fixed example build
11 years ago
Randy Mackay
1c457d8448
Mount: add get_mode and set_mode_to_default methods
11 years ago
Don Gagne
e68cf2d1c5
Plane: Fix parameter documentation
...
Fixes some problems with incorrect docs which would in turn generate
bad amp.pdef.xml files for ground stations.
merge with below
11 years ago
Andrew Tridgell
4de2a654ab
AP_Mount: changed ahrs to be a const reference
...
saves a bit of code
11 years ago
Andrew Tridgell
a67413d495
AP_Mount: changed to AP_Vehicle.h
12 years ago
Andrew Tridgell
905e07edf9
AP_Mount: fixed examples build
12 years ago
Andrew Tridgell
206ed04e76
AP_Mount: fixed example build
12 years ago
Andrew Tridgell
033828aeb6
AP_Mount: make the code a bit easier to read
12 years ago
Andrew Tridgell
9076f6a1d0
AP_Mount: use RC_Channel::rc_channel() instead of rc_ch[]
12 years ago
Andrew Tridgell
1cc02836a0
AP_Mount: fixed indent-tabs-mode
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago
Andrew Tridgell
26fedc543c
AP_Mount: fixed scaling of the joystick speed to give better control
...
thanks to Chris Miser for reporting this problem
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago