Henry Wurzburg
1e7fc17af3
AP_Camera: add note to desc's on how to determine GPIO pin numbers
3 years ago
Peter Barker
84e58c4f7f
AP_Camera: rename AP_AHRS::get_position to get_location
3 years ago
Peter Barker
1835a63bfb
AP_Camera: don't use stale image number in CAMERA_FEEDBACK
3 years ago
Peter Barker
8f1c255693
AP_Camera: stash information required for camera_feedback message
...
This means the data sent in the mavlink message is closer to the
information when the picture was taken, rather than when we decide we
have the space to send the mavlink message. When we process the
deferred request to send the camera feedback message is up to the
vagaries of mavlink scheduling, so the data can become quite out-of-date
3 years ago
Peter Barker
919dc26ff6
AP_Camera: use location methods to convert altitudes
3 years ago
Peter Barker
8ce4a1fce7
AP_Camera: use AP_AHRS singleton to get current location and home
3 years ago
Patrick José Pereira
5375980aa6
AP_Camera: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Josh Henderson
d6dc8864db
AP_Camera: Privatize AP_Camera
4 years ago
Andy Piper
cd60238e3d
AP_Camera: make solo gimbal inclusion configurable per-board
5 years ago
Mirko Denecke
2dfc7c4108
AP_Camera: call update in update_trigger
5 years ago
Gone4Dirt
c97cc71382
AP_Camera: Correct trigger behaviour when cmd is switched off then on again
5 years ago
Matt Lawrence
05b94de9a0
AP_Camera: Make trigger type enum class
5 years ago
Matt Lawrence
a2af217adf
AP_Camera: Add handling of GoPro mavlink commands
5 years ago
Peter Barker
8b20c82a18
AP_Camera: send mavlink camera feedback message even if no logger
5 years ago
Peter Barker
4780dc40b0
AP_Camera: use corrected version of send_to_components
5 years ago
Pierre Kancir
09f0f34fe5
AP_Camera: pass mavlink_message_t by const reference
6 years ago
Peter Barker
01773d9025
AP_Camera: use singletons for relay and ahrs insead of storing references
6 years ago
Michael du Breuil
fc3f09c6c0
AP_Camera: fixup includes
6 years ago
Tom Pittenger
58614fd96a
AP_Camera: rename dataflash to logger
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
dba80c95d5
AP_Camera: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
caec67762e
AP_Camera: move reliance on GCS into .cpp file
6 years ago
Tom Pittenger
7fc4003c69
AP_Camera: unify singleton naming to _singleton and get_singleton()
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
4e7d64fd17
AP_Camera: adjust for location flags being moved out of union
6 years ago
Andrew Tridgell
c1516da203
AP_Camera: use timestamp from trigger time
...
this avoids time inaccuracy from loop times in timestamps
6 years ago
ChrisBird
d8281f3171
AP_Camera: Adding ability to control the Black Magic Micro Cinema Camera
...
via SBUS from the flight controller directly. Handles the flipping of
certain channels. Relies on change to SRV_Channel to add additional functions.
6 years ago
Peter Barker
fb786b8d56
AP_Camera: add singleton
7 years ago
Michael du Breuil
6925dfb4ae
AP_Camera: Remove usage of analogPinToDigitalPin
7 years ago
Michael du Breuil
f8e9e57523
AP_Camera: reduce feedback pin timer work, remove unneeded inits
7 years ago
Patrick José Pereira
87c09f98cc
AP_Camera: Change from labs to abs for floats
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Jacob Walser
c4175be7aa
AP_Camera: explicitly specify floats
7 years ago
Michael du Breuil
0e6213a4c6
Camera: Track number of completed events
...
Closes #3903
7 years ago
murata
5b3a402d36
AP_Camera: delete \n from the log using gcs().send_text
7 years ago
Peter Barker
7258fa81d9
AP_Camera: use GPS singleton
7 years ago
André Kjellstrup
1a63fd85d8
AP_Camera: Option to trig by distance only when in AUTO mode
7 years ago
Peter Barker
bb06b02df6
AP_Camera: add const to some parameters
8 years ago
Peter Barker
a94bf851eb
AP_Camera: use multiplication in place of division
8 years ago
Peter Barker
9390539231
AP_Camera: tidy up usage of trigger_pic
8 years ago
Peter Barker
84ef63edc7
AP_Camera: camera is responsible for taking distance-based-images and logging
8 years ago
Peter Barker
31ffc83f64
AP_Camera: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
67620e87f0
AP_Camera: Improve the PWM parameters descriptions
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
41a9402175
AP_Camera: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
8 years ago
Michael du Breuil
18b5446765
Camera: Fix an incorrect label on CAM_DURATION
8 years ago
Andrew Tridgell
ee7b9a3f8e
AP_Camera: adapt to new RC_Channel API
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
e83a3d8185
AP_Camera: clearer parameter docs for trigger pin
9 years ago
Andrew Tridgell
9f31fbb895
AP_Camera: support fast timer capture on AUX4 on Pixhawk
...
microsecond capture of hot-shoe
9 years ago
Andrew Tridgell
dc998a2eaf
AP_Camera: make AP_Camera::control() return bool for picture trigger
...
this allows a picture to be logged if it is requested
9 years ago
Andrew Tridgell
2099f40d89
AP_Camera: added CAM_FEEDBACK_POL option
...
allows selection of trigger polarity
9 years ago