Daniel Agar
c284198bec
clang-tidy: partially fix hicpp-use-override
2019-10-28 10:50:31 -04:00
Daniel Agar
4192414576
clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast
2019-10-28 10:50:31 -04:00
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
RomanBapst
cfba41d2f4
posix configs: set trigger interface to mavlink as it's the only one
...
supported on posix
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-08-06 08:08:56 +02:00
RomanBapst
cd85f584cf
camera trigger: do not try to start if interface was not created
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-08-06 08:08:56 +02:00
Daniel Agar
e69398c09f
introduce uORB::PublicationQueued and transition most orb_advertise_queue usage
2019-08-04 10:08:09 -04:00
Daniel Agar
4bf9344913
camera_trigger: move to new WQ and uORB::Subscription
2019-08-01 12:24:12 -04:00
DanielePettenuzzo
15abb159a8
camera_capture: change topic namings to make logging, mavlink streaming and geotagging easier
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
96961c6f9c
camera trigger and camera capture publish on two different topics and camera feedback module uses CAM_CAP_FBACK param to choose between the two.
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
3f99204de2
camera_trigger.msg: add feedback field to understand if message camera from trigger or capture driver
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
ea9d6899ae
clean up camera capture driver
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
d49752141d
rename camera capture feedback param and move it from camera_feedback module to camera capture driver
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
42afc88285
add camera trigger feedback (input capture when camera actually takes the photo)
2019-02-10 18:07:44 -05:00
Daniel Agar
b1d3bb0403
stop ignoring Wmissing-field-initializers and fix ( #9912 )
2018-07-22 12:45:52 -04:00
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
2018-07-01 09:36:55 +00:00
Daniel Agar
d73d20bcce
systemlib delete unused systemlib.h
2018-06-12 09:06:30 +02:00
Daniel Agar
222a91c6be
mathlib delete Matrix, Quaternion, Vector
2018-05-23 17:27:09 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar
21ea27f7f6
camera_trigger replace math::Vector with matrix::Vector
2018-03-21 15:35:00 -04:00
Daniel Agar
2bb4644180
camera_trigger remove unnecessary param set notification
2018-01-04 09:21:17 +01:00
Beat Küng
ca7e6fc918
camera_trigger: fix type passed to param_get()
2017-10-27 10:43:15 +02:00
Daniel Agar
e15afcca7a
vehicle_command commands are uint16, not uint32
2017-09-08 09:06:30 +02:00
José Roberto de Souza
4462869432
Add support to new fields in command_ack
2017-08-19 09:04:52 +02:00
José Roberto de Souza
c200d0e9a4
Keep initialization of outgoing vehicle_command_s consistent
...
All others are initialized this way.
2017-08-19 09:04:52 +02:00
José Roberto de Souza
925efe990d
Initialize all outgoing vehicle_command_ack_s and vehicle_command_s
...
This will initialize those structs with zero in all fields not set
and all fields set will only be change once to the final value not
wasting CPU time zeroing it.
This will guarantee that no non-unitialized structs will have
a trash value on from_external causing it to be sent to the
MAVLink channel without need it.
2017-08-08 21:46:30 +02:00
Lorenz Meier
ae737d8df0
Camera trigger: use double per interface spec
2017-08-01 12:46:59 +02:00
Lorenz Meier
80461fad6b
Camera trigger: Support triggering one image immediately.
...
This allows to re-enable the distance trigger and immediately take a picture. This is helpful to ensure survey areas are covered on entry and exit.
2017-07-09 14:49:21 +02:00
Julian Oes
9854fc0d84
Set timestamp with vehicle commands
...
The vehicle_command uORB messages had the timestamp unset at 0.
2017-07-08 11:52:23 +02:00
Mohammed Kabir
6a38118c73
camera_trigger : reset distance counters to ensure consistent triggering after pausing/disabling
2017-05-12 22:11:17 +02:00
Mohammed Kabir
0b93568aa3
camera_trigger : add transitional support for QGC
2017-05-12 22:11:17 +02:00
Mohammed Kabir
97ceaf404c
camera_trigger : remove debugging
2017-05-12 22:11:17 +02:00
Mohammed Kabir
b665737aca
camera_trigger : do not log test shots from GCS
2017-05-12 22:11:17 +02:00
Mohammed Kabir
2e92a3946d
camera_trigger : completely refactor state handling
2017-05-12 22:11:17 +02:00
Mohammed Kabir
6a99ca70e9
camera_trigger : clarify power control comment
2017-04-30 12:00:06 +02:00
Mohammed Kabir
3ba0275952
camera_trigger : switch to queued publisher
2017-04-30 12:00:06 +02:00
Mohammed Kabir
b5ce55bab6
camera_trigger : don't advertise garbage
2017-04-30 12:00:06 +02:00
Mohammed Kabir
3ebfb0cd27
camera_trigger : optimize GCS test command handling
2017-04-30 12:00:06 +02:00
Mohammed Kabir
5fc20bea5d
camera_trigger : add support for resetting trigger sequence
2017-04-13 20:21:40 +02:00
Mohammed Kabir
7fcb3b4f93
camera_trigger : add support for sending ACKs for trigger commands
2017-04-13 20:21:40 +02:00
Mohammed Kabir
2c0d1c013a
camera_trigger : digicam control command should only shoot once
2017-04-13 20:21:40 +02:00
Mohammed Kabir
ae35bf524d
camera_trigger : enforce a minimum activation time in PWM modes
2017-04-13 20:21:40 +02:00
Mohammed Kabir
24f57b00a6
camera_trigger : consolidate camera power control and fix camelCase
2017-04-13 20:21:40 +02:00
Mohammed Kabir
f9862ec5a8
camera_trigger : add default mode for generic PWM triggering
2017-04-13 20:21:40 +02:00
Mohammed Kabir
c06d1a9dbe
camera_trigger : rename Seagull MAP2 interface
2017-04-13 20:21:40 +02:00
Mohammed Kabir
2b838f5704
camera_trigger : rename relay to gpio
2017-04-13 20:21:40 +02:00
Beat Küng
08f0524b58
camera_trigger: remove unused fields _gpio_fd and _p_pin
2017-02-07 13:36:16 +01:00
Beat Küng
507e3b0263
camera_trigger: add TRIG_INTERFACE=3 for Mavlink forwarding
2017-02-07 13:36:16 +01:00
Beat Küng
212502b2b1
camera_trigger: make sure it builds for SITL & add to SITL cmake
2017-02-07 13:36:16 +01:00
Beat Küng
882146785c
camera_trigger: rename info command to status
...
to be consistent with the rest of the system
2017-02-07 13:36:16 +01:00