Andrew Tridgell
8620a036de
RC_Channel_aux: minor cleanups
...
remove unused enable_out_ch() and enable k_manual channels. This
ensures k_manual channels used for bottle drop are initialised
correctly to trim output
13 years ago
Andrew Tridgell
bd31f340a7
RC_Channel: support channel reversal on range channels
...
this makes it possible to have a reverse throttle in ArduPlane
13 years ago
Andrew Tridgell
3b97339104
RC_Channel: simplified RC_Channel_aux and fixed issue 725
...
it is perfectly valid to configure two RC channels with the same
function, especially when that function is manual output (ie. copy
input to output)
This removes the g_rc_function[] indirection array
13 years ago
rmackay9
5994117f6f
RC_Channel_aux: bug fix which could cause channel to be assigned to the wrong function and miss others
13 years ago
uncrustify
b1cf3f7f91
uncrustify libraries/RC_Channel/RC_Channel_aux.h
13 years ago
uncrustify
5564e0c440
uncrustify libraries/RC_Channel/RC_Channel.h
13 years ago
uncrustify
fb2df43984
uncrustify libraries/RC_Channel/RC_Channel_aux.cpp
13 years ago
uncrustify
e9fb7cfd92
uncrustify libraries/RC_Channel/RC_Channel.cpp
13 years ago
uncrustify
02877cfe28
uncrustify libraries/RC_Channel/examples/RC_Channel2/RC_Channel2.pde
13 years ago
uncrustify
b2ade84dbb
uncrustify libraries/RC_Channel/examples/RC_Channel/RC_Channel.pde
13 years ago
Amilcar Lucas
c7d1974741
RC_Channel_aux: cycle thru all functions except k_none and k_nr_aux_servo_functions
...
Probably makes no difference because g_rc_function[k_none] == NULL
13 years ago
Amilcar Lucas
0b0b9c29a2
Allow fully independent operation of two AP_Mount instances
13 years ago
Andrew Tridgell
518d6365ff
AP_Param: update remaining libraries for new constructor syntax
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
Amilcar Lucas
b8c7b8a786
RC_Channel: Allow each channel to know who they are, this simplifies the enabling and output function calls.
13 years ago
Amilcar Lucas
9c1ac2d9e6
More work on ch9, 10 and 11
13 years ago
Amilcar Lucas
bbc4bdb729
More flexible RC support
13 years ago
Amilcar Lucas
3de23220ed
RC_Channel parameters: Fix a typo
13 years ago
Amilcar Lucas
22d2f9ea15
Support up to 7 aux servo outputs
13 years ago
Amilcar Lucas
461098b289
Replace long with int32_t
13 years ago
Amilcar Lucas
724c5f6490
Use ascending order in the values
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
rmackay9
669ffb5ef8
RC_Channel_aux: added enable_out method to help stop servos from moving before the mount has initialised.
...
changed parameter names of "update_aux_servo_function" to make it more clear that any 4 servos can be passed in (not just servos 5~8).
Also allowed NULL servos to be passed in as parameters because we only need 3 in ArduCopter.
13 years ago
Amilcar Lucas
cc02d85cdf
AP_Mount: add support for non-spring-loaded joysticks
13 years ago
Amilcar Lucas
9a41cbffdf
RC_Channel: improve parameter documentation
13 years ago
Amilcar Lucas
af338939be
RC_Channel: Improve documentation
13 years ago
Amilcar Lucas
e9c72822dc
Remove unused function
13 years ago
Amilcar Lucas
78ccb9d37f
Add linebreaks to increase readability.
13 years ago
Amilcar Lucas
b072a59843
Improve parameters descriptive text
13 years ago
Amilcar Lucas
594cedd324
Documentation improvements, no functional changes (only comments)
13 years ago
Amilcar Lucas
1906e06b69
Added camera trigger functionality
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
rmackay9
c3b1a79f6a
RC_Channel library: change all "int" types to "int16_t".
...
Fixes SITL compile error due to type mismatch of set_pwm between .h and .cpp file (this only occurs because on the SITL, "int" is actually "int32_t"
13 years ago
rmackay9
d9f124afbb
RC_Channel.pde: fixed compile errors so that it actually works!
13 years ago
Jason Short
c2d14a5cad
RC_Channel fix for throttle output.
...
throttle was outputting incorrectly and allowing the user to max out the throttle leaving nothing for attitude control
13 years ago
Jason Short
0adb5cb396
Issue 416: RC_Channel – Fix to make dead_zones still output 0
13 years ago
Jason Short
1c690b44de
removed never used filter, and fixed a constrain that could make range calcs go bad
13 years ago
Jason Short
862b374d19
Channel rage fix - low output was always 0 vs _low
13 years ago
rmackay9
82f81295a7
RC_Channel - fixed small compiler warning
13 years ago
Jason Short
1e37a0ec17
added a limit to range output
13 years ago
Andrew Tridgell
085cc00c33
RC_Channel_aux: fixed a uninitialied variable error, and save a bit of stack space
13 years ago
Andrew Tridgell
37cabb4cfa
fixed dead zone load/save
13 years ago
Andrew Tridgell
47807ec68d
RC_Channel_aux: catch invalid function settings
...
a bad function setting would overwrite the heap
13 years ago
Andrew Tridgell
9c5a5473ab
added indexes to group info structures
13 years ago
Andrew Tridgell
84aef17bb0
fixed initialisation of RC_Channel class
13 years ago
Andrew Tridgell
bf4a77da81
convert libraries to new typesafe macros
13 years ago
Andrew Tridgell
12dac42174
modify RC_Channel for AP_Param
13 years ago
analoguedevices
0ea6ecf8d1
Removed outdated comment:
...
" // deadzone moved to
//control_in = (abs(control_in) < _dead_zone) ? 0 : control_in;"
13 years ago
Michael Oborne
8ec192cf45
fix uint > int issue - for hil
13 years ago
Randy Mackay
ed19c25a97
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
13 years ago