David Sidrane
5e8d6375c9
Back Port nuttx_v3 FLASH based parameter hooks
9 years ago
David Sidrane
39ce201efe
TAP:Fix build to use correct ROMFS
9 years ago
David Sidrane
78bc7d850b
Fix Syntax error - but I suspect the USE_IO logic can be simplified
9 years ago
Julian Oes
3ed8b735c2
mavlink: only warn once if broadcast fails
...
This fixes the issue where the console was spammed if a broadcast failed
after a connection had previously been established.
9 years ago
Beat Küng
399d4ef833
sensors: only poll on first gyro for now
...
This fixes a bug with following setup:
- two (or N > 1) connected gyros
- ekf2 enabled
In this case, sensors would publish with the combined rate of the gyros,
but with N following messages having the same gyro data & timestamp.
Apparently ekf2 cannot handle this, the other estimators can.
We may want to rethink what the proper solution is here.
9 years ago
Julian Oes
eda2915f0b
mavlink: whitespace fix
9 years ago
Julian Oes
d9343fa925
mavlink: use new copy_if_updated interface
9 years ago
Julian Oes
8345a0368b
mavlink: add function to copy only if updated
...
The MavlinkOrbSubscription only had an interface to either always copy
or copy based on a timestamp. This commit adds a copy interface if the
topic has been updated.
9 years ago
Julian Oes
8ded6a58ab
mavlink_log: enable queueing
...
We don't want to drop messages if possible for mavlink log messages, so
let's use the orb queueing.
9 years ago
Julian Oes
314ee6b7e0
commander: remove some if confusion
...
This is a try to simplify the if statements a bit. Also, a check of
new_arming_state which was impossible, is removed.
9 years ago
Julian Oes
631ce1fc55
commander: proper arguments for preflight check
9 years ago
Andreas Antener
af8cd3f880
correctly scale and trim outputs in IO
9 years ago
Roman
13905c2480
px4io driver: send roll, pitch and yaw scale parameter values to io
...
Signed-off-by: Roman <bapstr@ethz.ch>
9 years ago
Roman
08bbd6dbfa
px4iofirmware: added scale parameters for roll, pitch and yaw
...
since pure manual control for fixed wings in handled on the io side
the scale parameters for roll, pitch and yaw had to be introduced there
as well.
Signed-off-by: Roman <bapstr@ethz.ch>
9 years ago
tumbili
71e2a43790
consider scale parameters in rc calibration code
9 years ago
tumbili
f0dd5a103c
allow scaling controls in full manual mode for fixed wings
9 years ago
tumbili
784883af22
added parameters to allow scaling controls in full manual mode
...
for fixed wings
9 years ago
xiaoyuli
7718343b27
fix the function of disabling safety switch ( #5031 )
9 years ago
Daniel Agar
de14418e93
fw_pos_ctrl_l1 var naming consistency and effc++
9 years ago
Daniel Agar
ebce725720
px4fmu-v2 disable motor_ramp
9 years ago
Daniel Agar
59b4350aa0
implement MAV_CMD_NAV_LOITER_TO_ALT and general mission cleanup
9 years ago
Lorenz Meier
7419151314
Update EKF2 replay timestamp handling
9 years ago
David Sidrane
0576031a81
TAP PID ( #5036 )
9 years ago
Beat Küng
f8382a2713
upload scripts: add TAP for the uploader script
9 years ago
David Sidrane
5cc58fa067
Reserving 32Kib of FLASH for parameters ( #5035 )
9 years ago
James Goppert
817f695297
Change to LPE terrain model to account for velocity scaling. ( #5027 )
9 years ago
Lorenz Meier
a740d80a20
Mag voter: Be more forgiving on load changes
9 years ago
Lorenz Meier
021f0840ae
Fix Hobbyking Pixracers
9 years ago
tommises
4fa2c54485
Mocap timestamp cleanup ( #5021 )
9 years ago
Beat Küng
c9652fd42a
logger: update set of default topics to match functionality of sdlog2
...
logging rate with these topics: ~50KB/s
The rates may need to be adjusted
9 years ago
Beat Küng
4ec9e53deb
param SYS_LOGGER: remove experimental for new logger
...
It's ready to be used!
9 years ago
Beat Küng
68e14ceb29
tap startup script: add -t param for logger
9 years ago
Beat Küng
49614cfe38
SITL init scripts: add replay tryapplyparams & replay trystart
...
These will only start replay if there's an environment variable 'replay',
otherwise they do nothing.
We apply the parameters even before loading the modules, so that the
modules 'see' the same state as the recorded system had. We will have to
see how well this works in practice.
9 years ago
Beat Küng
db13ac4c53
posix_sitl_default.cmake: add -DORB_USE_PUBLISHER_RULES if it's a replay build
9 years ago
Beat Küng
e9726af54c
Makefile: check for 'replay' env variable and change build dir accordingly
...
For replay with the new logger, we want a separate build dir so that the
parameters file and orb rules don't get mixed up.
9 years ago
Randy Mackay
80134d2b7d
IR-LOCK: rework driver (from jschall) ( #5024 )
...
* irlock: change output format to tangent of angles
* irlock: put all targets in single struct
* irlock: eliminate tanf function in constant
9 years ago
Lorenz Meier
71d150f6ec
MAVLink app: Fix rate handling
9 years ago
Lorenz Meier
c7130081cc
Update ECL
9 years ago
Lorenz Meier
02b3adc4a7
Update DriverFramework
9 years ago
Lucas De Marchi
18330f7ab7
Move __STDC_FORMAT_MACROS to build system
...
__STDC_FORMAT_MACROS changes the behavior of inttypes.h to allow
defining format macros for printf-like functions. It needs to be defined
before any include is done, otherwise due to include chains and header
guards it may not take effect.
Instead of having to define it everywhere it is used, move the define to the
build system. Also update ecl and DriverFramework submodules to deal with the
changed definitions.
9 years ago
tommises
d2194d787f
Refactored Mavlink stream configuration ( #5015 )
...
Streams ordered same way in all modes.
9 years ago
Lorenz Meier
f39d284193
Update vision fields for attitude_estimator_ekf
9 years ago
Lorenz Meier
7601788c43
INAV: clean up vision timestamps
9 years ago
Lorenz Meier
8b3045baa2
MAVLink: clean up vision timestamps
9 years ago
Lorenz Meier
c0a406b81f
LPE: Clean up vision timestamps
9 years ago
Lorenz Meier
826eaed2ee
EKF2: Clean up vision timestamps
9 years ago
Lorenz Meier
4f875560b7
Att Q Estimator: New vision timestamp
9 years ago
Lorenz Meier
07384d6b5a
Vision msg: Cleanup timestamp
9 years ago
tommises
19b56c1574
Use timestamp received from companion computer as timestamp_boot
9 years ago
tommises
5bd574dd05
Fixed timestamp synchronization
9 years ago