xdwgood
89878fcc88
clean up
2021-02-03 17:54:27 +01:00
Igor Campos
9c3b70d517
remove default value for roll angle
2020-12-09 17:54:53 +01:00
Igor Campos
bbad1bdd6e
add comment.
2020-12-09 17:54:53 +01:00
Igor Campos
33b831efe3
rename variables
2020-12-09 17:54:53 +01:00
Igor Campos
dfcd6a7c16
fix typo
2020-12-09 17:54:53 +01:00
Igor Campos
c316af6ec7
update to match new feature as a new mavlink command Oblique Survey 260
2020-12-09 17:54:53 +01:00
Igor Campos
390ed3765f
disable pseudo-oblique mode if param4 is 0.
2020-12-09 17:54:53 +01:00
Igor Campos
38a5b8a502
fix comment description for pitch angle
2020-12-09 17:54:53 +01:00
Igor Campos
d0ae931543
adjust minimum number of positions to 2.
2020-12-09 17:54:53 +01:00
Igor Campos
0cb3ce4886
fix readability
2020-12-09 17:54:53 +01:00
Igor Campos
e1e06364da
fix formatting
2020-12-09 17:54:53 +01:00
Igor Campos
73f7b08873
add Camera Auto Mount Pseudo Oblique Solution (CAMPOS)
...
add target system and component ids to vmount commands
Signed-off-by: Igor Campos <igor.gama.90@gmail.com>
2020-12-09 17:54:53 +01:00
FengShun
eac9a6b68b
Replace PublicationQueued with Publication to automatically configure ORB_QUEUE_LENGTH
2020-10-26 13:01:13 +01:00
Daniel Agar
466b5db36f
uORB::Publication improvements and cleanup ( #14784 )
...
- create common uORB::PublicationBase
- uORB::PublicationQueued types are now type aliases
- ORB_PRIO use enum type everywhere to avoid accidental misuse
- PX4Accelerometer/PX4Gyroscope/etc driver libs explicitly advertise on construction, unadvertise on destruction. This is a workaround for any potential issues that might appear when accel/gyro cdev and uORB indexing doesn't align.
2020-05-04 11:09:30 -04:00
Dusan Zivkovic
3d44077f2c
camera_trigger: lower the polling rate from 200Hz to 20Hz to reduce the CPU load
2020-03-25 16:23:11 -04:00
Lorenz Meier
027e52d402
Camera trigger: Improve code readability
...
This helps to trace the code, no functional changes.
2020-03-14 17:50:40 +01:00
Lorenz Meier
8842977d80
Camera trigger: Handle trigger distance handling better
2020-03-14 17:50:40 +01:00
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