Julian Oes
d70b0f1c8c
Replace sleep with px4_sleep
...
This is another step to isolate time from the system.
2018-12-22 10:32:18 +01:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
48df19c8df
move dyn_hello to examples and restore testing
2018-11-26 14:40:14 -08:00
Daniel Agar
e45e7aa8a6
move posix/tests/hello to examples/hello and include everywhere
2018-11-26 14:40:14 -08:00
Roman Bapst
90bfdb6f0a
VTOL rate control architecture improvements ( #10819 )
...
* attitude and rate setpoint message: use 3D array for thrust demand
* FixedWingAttitudeControl: rework airspeed scaling
* move airspeed and scaling calculation into separate method
* if vtol in hover and airspeed disabled use minimum airspeed instead of trim airspeed
2018-11-21 20:32:40 -05:00
Daniel Agar
acc24da0c2
delete gyro_report (alias for sensor_gyro_s)
2018-11-06 07:43:43 +08:00
Daniel Agar
2a83a40491
delete accel_report (alias for sensor_accel_s)
2018-11-06 07:43:43 +08:00
Mara Bos
10c20b38ad
Fix many format strings.
...
Fixes these invalid format strings:
- A `%d` for a pointer (replaced it by `%p`)
- A 0x%08x (and a 0x%0x8!) for a pointer (replaced by %p)
- 2 cases of `%d` for a `ssize_t` (replaced it by `%zi`)
- 1 case of a %u for an `int` (replaced by %i)
- 3 cases of %d for a `long` (replaced by %ld)
- 19 cases of `%d`, `%i`, `%u` or `%lu` for a `size_t` (replaced it by `%zu`)
- An unused formatting argument (removed it)
- A missing `%d` (added it)
- A missing `%s` (added it)
- 2 cases of `%llu` for a `uint64_t` (replaced it by `"%" PRIu64`)
- 6 cases of giving a string directly as format string (replaced it by `("%s", string)`)
- 2 cases of %*-s, which should probably have been %-*s.
(Looks like NuttX accepts (the invalid) %*-s, but other platforms don't.)
- A %04x for a `uint32_t` (replaced by "%04" PRIx32)
2018-10-27 12:44:51 +02:00
Julien Lecoeur
cafd2f5352
Add example usage of topic debug_array in px4_mavlink_debug app
2018-09-27 12:33:12 -04:00
Beat Küng
9193312bd0
segway_main: avoid using exit()
2018-08-31 18:11:58 +02:00
Beat Küng
50cdb01141
rover_steering_control: avoid using exit()
2018-08-31 18:11:58 +02:00
Beat Küng
258f7a7ff8
fixedwing_control: avoid using exit()
2018-08-31 18:11:58 +02:00
TSC21
e932030d88
add timestamp field to uORB msgs; sync timestamp whenever possible
2018-08-09 13:40:48 +02:00
Daniel Agar
b1d3bb0403
stop ignoring Wmissing-field-initializers and fix ( #9912 )
2018-07-22 12:45:52 -04:00
Hamish Willee
7402d8223b
Fix up references to pixhawk.org
2018-07-02 13:11:15 +02:00
Daniel Agar
02d4405a62
c++11 default destructors
2018-06-30 19:55:08 -04:00
Daniel Agar
b23e40ca42
move systemlib/pid to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
387bc81f26
move systemlib/circuit_breaker.cpp to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
d73d20bcce
systemlib delete unused systemlib.h
2018-06-12 09:06:30 +02:00
Daniel Agar
d0bde9ab2a
replace geo _wrap_pi with matrix::wrap_pi
2018-06-12 09:00:52 +02:00
Daniel Agar
222a91c6be
mathlib delete Matrix, Quaternion, Vector
2018-05-23 17:27:09 -04:00
Daniel Agar
4e32cb17df
clang-tidy modernize-use-equals-default
2018-05-18 22:48:55 +02:00
Beat Küng
13ab5ed0d0
px4_main_t: fix method declaration throughout the code base
...
px4_main_t is defined as:
typedef int (*px4_main_t)(int argc, char *argv[]);
which matches with the definition in NuttX, given to task_create
2018-05-09 07:59:46 +02:00
Daniel Agar
2e92484325
ecl update to latest master with separate libraries ( #9406 )
2018-05-03 23:48: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
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Daniel Agar
5b6fda2e4b
uuv_example_app move to matrix lib
2018-03-21 15:15:41 -04:00
Beat Küng
5bd8574e47
examples/px4_daemon_app: remove this app
...
superseded by src/templates/module
2018-01-27 00:43:04 +01:00
Daniel Agar
916d6a15fd
Mission merge offboard + onboard and simplify
2018-01-14 12:53:53 +01:00
Daniel Agar
1d1da12859
delete exampales ekf_att_pos_estimator
2017-11-26 16:42:26 -05:00
Daniel Agar
d5ea688f00
delete exampales attitude_estimator_ekf
2017-11-26 16:42:26 -05:00
Daniel Agar
dd7e82389c
delete examples mc_pos_control_multiplatform
2017-11-26 16:42:26 -05:00
Daniel Agar
53e6d7eb9f
delete examples mc_att_control_multiplatform
2017-11-26 16:42:26 -05:00
Daniel Agar
48cfb37c5a
move bottle_drop to examples ( #8187 )
2017-10-25 16:05:39 -04:00
Daniel Agar
b4755297ec
delete control_state and cleanup vehicle_attitude ( #7882 )
2017-09-21 16:24:53 -04:00
Daniel Agar
a1418c56ad
examples remove extra semicolons
2017-09-16 21:29:52 +01:00
NRottmann
5352cffe3f
Changing Names
2017-09-13 06:20:05 -07:00
Julien Lecoeur
1a445c9c76
Add debug_value and debug_vect to example px4_mavlink_debug
2017-08-30 14:45:02 +01:00
NRottmann
0f8f5d29be
Enable Simulation of the Hippocampus (AUV from TUHH)
...
Adding files which enable a simulation with the autonomous underwater
vehicle (AUV) from the Technical University Hamburg-Harburg
2017-08-20 20:59:15 +02:00
Daniel Agar
b70b8288b9
px4_includes cleanup incomplete list
2017-08-20 20:42:42 +02:00
Peter Duerr
453937a89a
Fix va_arg calls (always call va_end)
...
From the manpage: "Each invocation of va_start() must be matched by a
corresponding invocation of va_end() in the same function."
2017-08-07 22:05:54 +02:00
Lorenz Meier
340432e2cf
legacy EKF: Use correct constants
2017-08-01 12:46:59 +02:00
Nicolae Rosia
0a22a9c47c
change gyro & accel dt from float to uint64. This has the benefit of
...
calculating the estimator timeslip correctly.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-07-16 14:08:37 +02:00
Daniel Agar
f947205cbe
delete vehicle_global_velocity_setpoint
2017-06-26 11:31:25 -04:00
Paul Riseborough
7aec94d4d6
ekf_att_pos_estimator: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Daniel Agar
b03818cd0e
controllib move old blocks to segway
2017-06-04 18:22:42 +08:00
Daniel Agar
5d626bd940
clang-tidy remove redundant init
2017-06-02 19:35:18 -04:00
Daniel Agar
e112161a04
clang-tidy fix mathlib headers and format
2017-06-02 19:35:18 -04:00
priseborough
3680057e6d
ekf_att_pos_estimator: publish placeholder values for accuracy reporting
2017-05-03 08:37:14 +02:00
Daniel Agar
05cf34a510
ekf_att_pos_estimator remove unused _mission_sub
2017-04-20 14:41:01 -04:00