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
rmackay9
cf409abc63
AP_Mount: add parameter descriptions
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
ceb3f577d8
libraries: use new math functions
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Andrew Tridgell
9d1f43928c
Mount: updates for new AP_Param API
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
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
rmackay9
6bbf66697b
AP_Mount: resolve compiler warning about unused mount_open variable
12 years ago
Andrew Tridgell
f41270a3ce
AP_Mount: updated for new RC_Channel_aux API
13 years ago
Amilcar Lucas
b48a1f1fc4
ArduPlane: Fix 1280 builds
...
Added fine-granular features in the AP_Mount class to reduce code size on 1280 chips
Remove camera trigger support on 1280 chips
13 years ago
Amilcar Lucas
769f04b7d6
Improve comments, no functional changes
13 years ago
Amilcar Lucas
7a0c47d049
Improve comment aligment
13 years ago
uncrustify
7ffa44c324
uncrustify libraries/AP_Mount/AP_Mount.h
13 years ago
uncrustify
ff555dfb7a
uncrustify libraries/AP_Mount/AP_Mount.cpp
13 years ago
Amilcar Lucas
32e354be4e
AP_Mount: Reduce parameter name length, to allow MNT2_* strings to be smaller than the limit of 15 characters
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
Andrew Tridgell
45c27317ef
AP_Mount: fixed defaults for angles
...
this saves some eeprom space by not saving the 4500 values
13 years ago
Andrew Tridgell
518d6365ff
AP_Param: update remaining libraries for new constructor syntax
13 years ago
Amilcar Lucas
2c4a0636f3
AP_Mount: move mount to a "retracted position" into the fuselage with a fourth servo
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
1da0ce20ce
Improve parameter documentation, it still does not work, but is an improvement.
...
I just do not understand why these parameters do not appear in Mission planner :(
13 years ago
Amilcar Lucas
cc02d85cdf
AP_Mount: add support for non-spring-loaded joysticks
13 years ago
Amilcar Lucas
46d20c2d6b
Remove unused function, remove unnecessary angle wrapping.
13 years ago
Amilcar Lucas
bccb07cbd0
Allow mount control when no AHRS exists
...
Allow mount control on non stabilized axes
13 years ago