Arthur Benemann
4bdf909bbf
AP_Mount: Create new copter parameters to hold gimbal settings
10 years ago
Randy Mackay
8a3a7bdcd1
Mount: add set_angle_target method
10 years ago
Jonathan Challinger
dff899647f
AP_Mount: use AP_AHRS_TYPE instead of AP_AHRS_MOUNT
10 years ago
Randy Mackay
23f0bab5d6
Mount: integrate SToRM32 backend
10 years ago
Andrew Tridgell
2f3b5006e7
AP_Mount: fixed build of example sketches
10 years ago
Andrew Tridgell
da27a8696d
AP_Mount: added initial ekf estimation of gimbal bias
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
10 years ago
Andrew Tridgell
01b264951a
AP_Mount: added handling of GIMBAL_REPORT messages
10 years ago
Randy Mackay
4a4387530a
Mount: remove unused num_instances
10 years ago
Randy Mackay
886cc9aa46
Mount: use SerialManager for init
10 years ago
Randy Mackay
acbcf3c54e
Mount: backends use reference to their state
10 years ago
Matthias Badaire
0b88f15a37
AP_Mount: fix Backend enum for AP_Mount_Alexmos and add comments
...
fix Backend enum for AP_Mount_Alexmos and add comments
10 years ago
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
Randy Mackay
ef719b145b
Mount: rename MODE to DFLT_MODE, move set_mode to backend
10 years ago
Randy Mackay
88db50c3a7
Mount: parent class becomes front-end
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
Randy Mackay
039f4740ce
Mount: correct comment on set_mode_to_default time
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
Randy Mackay
1c457d8448
Mount: add get_mode and set_mode_to_default methods
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
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
Pat Hickey
6cc231ae7d
AP_Mount: ported to AP_HAL
...
I do not have the hardware required to test this
12 years ago
Andrew Tridgell
f41270a3ce
AP_Mount: updated for new RC_Channel_aux API
13 years ago
Amilcar Lucas
7a0c47d049
Improve comment aligment
13 years ago
uncrustify
7ffa44c324
uncrustify libraries/AP_Mount/AP_Mount.h
13 years ago
Amilcar Lucas
0b0b9c29a2
Allow fully independent operation of two AP_Mount instances
13 years ago
Amilcar Lucas
530ea0bebd
AP_Mount: Enable Joystick speed code, now that the framework supports more than 16 parameters per group.
...
Save some bytes by skiping the redundant *_rc_in initialization in the AP_Mount() constructor
13 years ago
Amilcar Lucas
107155fa1a
AP_Mount: Allow using any RC channel to control any of the mount axes.
...
This has the added benefit of saving 60 bytes and simplifying Mission Planner gui.
Moved some code from RC_Channel_aux to AP_Mount class
The servos get written by the update_mount_position() function, this simplifies main()
PS: The beauty of using libraries: I did not have to touch a single line of ArduPlane's code!
13 years ago
rmackay9
bb05dab924
AP_Mount: addition of Amilcar's mount_type
...
set_roi_cmd modified to take a Location. I know the intention was for set_roi_cmd to interpret the MAVLink command directly but unfortunately in arduCopter missions are only made up of waypoints (which are Locations).
13 years ago
rmackay9
e61cf0e1f9
AP_Mount: added set_manual_rc_channel and set_manual_rc_channel_function to allow input of pitch, roll and yaw controls from a regular RC_Channel (i.e. not RC_Channel_aux)
...
For now, angles red in are always of the range -45 deg ~ 45 deg which is consistent with the existing arducopter implementation but should be improved to scale the pilot's input to the mount's actual range.
13 years ago
Amilcar Lucas
46d20c2d6b
Remove unused function, remove unnecessary angle wrapping.
13 years ago
Amilcar Lucas
46552b4222
AP_Mount: Fix radians/degrees scaling regressions
...
Rename calculate() into stabilize()
Implement MAV_MOUNT_MODE_RC_TARGETING initialization
Document to make sure this radians/degrees mess up does not happen again
13 years ago
Andrew Tridgell
060cbe2030
AP_Mount: removed unused enum
13 years ago
Andrew Tridgell
99b11e4f19
Mount: enable mount control via eeprom parameters
...
this enables MNT_* parameter control of the camera mount code. It also
fixes the conversion of calculated angles between degrees and
integers, and fixes stabilised mount control when yaw control is not
available.
13 years ago
Amilcar Lucas
f4e9587aca
Move local temp variables to the stack it saves 1952 bytes
...
Add function comments
Only use _ on class member variables
Only point to a 3D GPS point if GPS has a fix
Implement MAV_MOUNT_MODE_MAVLINK_TARGETING
13 years ago
Amilcar Lucas
a32b7c200b
Add "3 axis camera stabilization" and "point camera to 3D point" functionality
...
Patch by Gregory Fletcher and reviewed by me
13 years ago
Andrew Tridgell
8ae0ea7e37
AP_Mount: adapt library for AHRS framework
13 years ago
rmackay9
952e5d7bbc
AP_Mount - #include FastSerial first to allow it to compile under Arduino 1.0
13 years ago
Amilcar Lucas
ab730ff919
Added camera and/or antenna mount support.
...
It is fully configurable with the mission planner, there is no need to change
the source code to adapt to your setup.
It needs more testing, but the SIL is not working for me.
13 years ago
Amilcar Lucas
5406991831
Added support for routing any function to any of the aux. servos.
...
This is a manual merge from the APM_Camera branch.
It reverts the stuff that Oliver did not menat to do with his commit 6dcbc7f44bc0
14 years ago
Amilcar Lucas
a8e68040f5
These files are not meant to be in master, they should only be in the APM_Camera branch for now
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
joeholdsworth@gmail.com
85bcbef695
nightly check in, version not stable.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3164 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
joeholdsworth@gmail.com
085ca253be
Checkin before beddy byes
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3154 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
joeholdsworth@gmail.com
bf4058c6e1
change of mind payloads should be split into their separate folders.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3144 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
joeholdsworth@gmail.com
10d312ff25
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3143 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago