Hamish Willee
541b962654
CameraTrigger: Feedback fixes
6 years ago
Hamish Willee
68148c5fb4
Add camera trigger pwm params
...
Fix math::constrain usage
Fix second constraint
6 years ago
Beat Küng
eda45b4df2
sbus: add time-based hardening (only for IO and NuttX)
...
Since SBUS does not have CRC, we can use timing information to improve
parsing reliability and reject unexpected bytes.
6 years ago
Beat Küng
4cd8fe0a30
sbus: simplify logic
6 years ago
Beat Küng
9ebd052ac7
sbus: remove unused variables & improve some comments
6 years ago
Daniel Agar
2251150875
uavcan include cstdint for fixed width integer types
6 years ago
Daniel Agar
60f2a92e3d
replace <cfloat> with <float.h>
...
- <cfloat> isn't available in the NuttX c++ library
6 years ago
Daniel Agar
c0b464e9e2
replace <cinttypes> with <inttypes.h>
...
- <cinttypes> isn't available in the NuttX c++ library
6 years ago
Alessandro Simovic
aa74aa2b80
CollisionPrevention: curly brace inits
6 years ago
Alessandro Simovic
e1dcc46578
CollisionPrevention: consistent var init
6 years ago
Alessandro Simovic
ae6ae47bed
CollisionPrevention: unused var
6 years ago
Daniel Agar
caf26c78e3
rgbled_ncp5623c set main stack 1500
6 years ago
Jacob Dahl
a492d1cfdb
MPU9250 driver fix to preserve bus+device plug-and-play capabilities ( #11020 )
6 years ago
TSC21
3c246ce170
microRTPS: improve verbosity with the usage of px4_log types
6 years ago
Daniel Agar
8c88aa6416
mavlink move simple getters to header and mark const
6 years ago
Daniel Agar
f60bfd0020
mavlink add tx loop interval perf counter
6 years ago
Daniel Agar
55e3f80bab
mavlink handle MAV_ODOM_LP parameter in main
...
- fixes #11125
6 years ago
Julian Oes
29bfdb0c88
platforms: fix linking for qurt ( #11115 )
6 years ago
Matthias Grob
36248cb12e
PWMSim: publish disarmed value when not armed
6 years ago
Matthias Grob
05e45c2867
PWMSim: refactor only use one output number variable
6 years ago
Matthias Grob
986e6c96b5
PWMSim: refactor unused output loop
6 years ago
Matthias Grob
c22dbe130b
PWMSim: refactor to use math constrain
6 years ago
bazooka joe
1560364c04
fix home position timestamp to be the timestamp that the home was set and not when the message was sent
6 years ago
bazooka joe
f6cf95cee0
mavlink: fix uninitialized messages fields
...
zeroed uninitialized fields on home_position, mavlink_rc_channels_override, mavlink_mission_item, mavlink_mission_item_int
6 years ago
Daniel Agar
3cd3856d32
commander set home position timestamp properly
6 years ago
Julian
3e87013936
simulator: fix TCP on Cygwin-Windows
...
It turns out that `sendto` does not work for TCP on Cygwin-Windows,
instead we need to use `send`. This required some refactoring since we
need to have the internet protocol and the port stored as a member
variable.
This should fix that lockstep SITL simulation was not working on
Windows.
6 years ago
PX4 Build Bot
03c0760e4b
Update submodule micro-CDR to latest Sun Dec 23 21:17:02 UTC 2018
...
- micro-CDR in PX4/Firmware (b043cfac5e8635d9017ad6a13f45795ad6fda6fb): 8b3546e884
- micro-CDR current upstream: 7a76880f90
- Changes: 8b3546e884...7a76880f90
7a76880 2018-12-11 Julián Bermúdez Ortega - Badges (#24 )
6 years ago
Beat Küng
5b4a77a67b
params: add possibility to access files if flash-based params are enabled
...
- the flash-backend is selected by specifying nullptr as file or -1 as fd
- the default file is nullptr, and thus the FLASH
- 'param select' has no effect, FLASH is always the default
Thus there should be no functional change to existing setups.
6 years ago
Julian Oes
73ed9deac5
mixer: add missing include
6 years ago
Julian Oes
ea87bcb5a2
DriverFramework: update submodule
...
Now that the lockstep changes are merged to master.
6 years ago
Julian Oes
a1fc44d1f0
simulator: fix noise in airspeed
...
It turns out the noise of the airspeed depends on the least significant
bit of time which is now always 0 because time is quite regular with
lockstep. Therefore, we need a better source for the randomness. I chose
to use the sign of the y-gyro and it seems to work.
6 years ago
Julian Oes
aac7b8d7eb
platforms: fix NuttX build
6 years ago
Julian Oes
14e5ebbbbc
platforms: fix clock build for macOS (yet again)
6 years ago
Julian Oes
06c5037025
platforms: use CLOCK_MONOTONIC
...
For the non-lockstep case we want to use CLOCK_MONOTONIC if possible.
6 years ago
Julian Oes
547dd8511b
platforms: use define for lockstep scheduler
...
Instead of using the define __PX4_POSIX_SITL it makes more sense to have
a define just to determine if the lockstep scheduler should be used.
6 years ago
Julian Oes
73578a593f
simulator: bring -t argument back
...
The -t argument had been deleted because I didn't realize that it was
actually being used. Therefore, this brings it back and we now use -c
for TCP.
6 years ago
Julian Oes
d0251581d3
samv7: fix include
6 years ago
Julian Oes
1b685de70d
simulator: raise timeout
...
This is not suposed to ever trigger anyway.
6 years ago
Julian Oes
8b2c47523f
simulator: set socket options after opening socket
6 years ago
Julian Oes
e4af97b11b
simulator: fix printf format
6 years ago
Julian Oes
564cae86b5
simulator: remove doubled tcgetattr call
6 years ago
Julian Oes
8a5e0558e4
simulator: improve a couple of error messages
6 years ago
Julian Oes
1165739a56
sensors: check other gyros on timeout
...
@bkueng reviewed this and found that it is dangerous to continue on
timeout because we don't update other gyro sensors in the timeout case.
6 years ago
Julian Oes
8e4296d000
parameters: remove unneeded usleep
...
According to @bkueng this was to schedule other processes but can now be
removed.
6 years ago
Julian Oes
4efe4b0d15
platforms: reorg after rebase on new board config
...
The new board config changed everything, so I needed to move the
lockstep_scheduler repo.
6 years ago
Julian Oes
b4382d4a71
DriverFramework: updated submodule
6 years ago
Julian Oes
185ddb2ab6
lockstep_scheduler: format to PX4 style
...
Consistency over taste :(.
6 years ago
Julian Oes
fb9f72d029
lockstep_scheduler: modernize warnings
6 years ago
Julian Oes
85486e0469
platforms: let's try clockid_t as int
...
Who knows what this really is.
6 years ago
Julian Oes
f3aad419ac
DriverFramework: update submodule
...
Hopefully, we can fix the defines for macOS.
6 years ago