Randy Mackay
bffa7c3783
Camera: correct _trigger_type comment
2013-12-06 10:28:36 +09:00
Andrew Tridgell
0f0b040891
AP_Camera: added set_trigger_distance() call
2013-10-11 21:37:27 +11:00
Randy Mackay
ab71f2e535
AP_Camera: remove unused methods
...
throttle_pic, distance_pic and transistor_pic were not defined nor
called
2013-09-24 23:25:54 +09:00
Andrew Tridgell
0f72eae216
AP_Camera: removed 3 camera trigger types that do not work
...
the trigger by wp distance, trigger with throttle off and trigger a
transistor all don't work, and are not structured correctly, plus are
dangerous.
The existing relay support can (correctly!) handle the resistor case
without hard-wiring a pin. The "turn off throttle to trigger" idea is
badly broken, it would crash a copter if it worked. We can make it
work properly on planes if there is demand. As it was it didn't work
anyway.
The triggger by wp distance method was broken, and had no way to
initiate a trigger anyway
2013-07-15 09:55:38 +10:00
Craig@3DR
f5154d9e7a
AP_Camera: changed update_location() to return true for camera trigger
...
Makes the main vehicle code responsible for taking a photo so logging can occur
2013-07-10 08:39:56 +10:00
Andrew Tridgell
169b5a30a5
AP_Camera: added CAM_TRIGG_DIST parameter
...
for triggering every N meters of GPS distance travelled
2013-06-25 12:44:26 +10:00
Andrew Tridgell
fb7ae8c764
AP_Camera: fixed indent-tabs-mode
2013-05-30 09:54:53 +10:00
Sandro Benigno
cc7f26a99b
New Relay class and the subclasses for APM1 and APM2.
...
Updated AP_Camera class.
2013-01-02 09:31:32 +11:00
Andrew Tridgell
53470aff09
AP_Camera: updates for new AP_Param API
2012-12-20 14:51:38 +11:00
Pat Hickey
054f35e33d
AP_Camera: ported to AP_HAL
2012-12-20 14:51:30 +11:00
rmackay9
d11ee04888
AP_Camera: add three new parameters DURATION, SERVO_ON and SERVO_OFF to allow better shutter control when using servo.
...
Removed unused variables to save 4 bytes.
Renamed some variables and functions to make more consistent with existing code base.
2012-12-06 17:46:09 +09:00
uncrustify
6f09714618
uncrustify libraries/AP_Camera/AP_Camera.h
2012-08-21 19:00:51 -07:00
Andrew Tridgell
518d6365ff
AP_Param: update remaining libraries for new constructor syntax
2012-08-08 12:11:57 +10:00
rmackay9
5616b1769b
AP_Camera: changed "int" to "int16_t" and "long" to "int32_t" here and there.
2012-07-15 16:26:12 +09:00
rmackay9
6f8d0a02a4
AP_Camera: moved seme constructor initialisers around to remove compile warnings
2012-07-12 09:33:22 +09:00
Amilcar Lucas
594cedd324
Documentation improvements, no functional changes (only comments)
2012-06-17 22:53:54 +02:00
Amilcar Lucas
1906e06b69
Added camera trigger functionality
2012-06-13 21:00:20 +02:00