Julian Oes
736599f362
sitl_gazebo: updated submodule
...
This is just because the branch got merged.
6 years ago
Julian
0601214806
tests: disable shutdown and hysteresis for Cygwin
...
It seems that the hysteresis test fails every now and then, presumably
due to timing issues. The tests needs some improvements, e.g. isolating
it from the system time.
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
2d7299043d
sitl_gazebo: update submodule
...
This should fix a race because the use of future/promise wasn't done in
a thread-safe way.
6 years ago
Julian Oes
6435db37c6
sitl_gazebo: update submodule
...
An include was missing.
6 years ago
Julian Oes
9916fb9b07
Jenkins: fix path to test results
6 years ago
Julian Oes
73c22bd60e
sitl_gazebo: updated submodule
...
This fixes a HITL bug and uses promise/future instead of sleeping.
6 years ago
Julian Oes
2e78b6f2d4
Jenkins: use test board for unit test only
6 years ago
Julian Oes
3e452e2e72
boards: tone_alarm_sim was missing for test board
6 years ago
Julian Oes
6b37102b8e
Jenkins: use test board for unit and coverage test
6 years ago
Julian Oes
8faf28918c
sitl_gazebo: update submodule
...
This brings build fixes for Gazebo 7.
6 years ago
Julian Oes
ffb73f6496
platforms: fix redefinition for QURT
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
d94748c831
Makefile: use px4_sitl_test board for `make tests`
...
This means that we can use the normal host scheduling (not lockstep) for
the unit tests.
In the future we might add unit tests using lockstep as well.
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
f03e938953
sitl_gazebo: updated submodule
...
This fixes all world files at 250 Hz simulation rate.
6 years ago
Julian Oes
d0251581d3
samv7: fix include
6 years ago
Julian Oes
a7c2adc877
sitl_gazebo: update submodule
...
This brings support for TCP and lockstep.
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
5280a4aba1
platforms: prevent wrap-arounds in px4_sleep
...
@bkueng found that the old implementation was likely to wrap-around
given seconds is only a uint32_t. We now cast it directly to uint64_t
and therefore should fix this problem.
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
6d273f3bd8
px4_layer: 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
Julian Oes
c24f6ef943
platforms: lockstep_scheduler ain't no submodule
6 years ago
Julian Oes
7b43e96896
platforms: copied files from lockstep-scheduler
...
The files are copied from:
https://github.com/julianoes/lockstep-scheduler/
6 years ago
Julian Oes
3cbb2d8661
platforms: removed lockstep_scheduler submodule
6 years ago
Julian Oes
357870377a
platforms: try to get submodule checked out
6 years ago
Julian Oes
f36f85010c
simulator: fix casting warning on Windows
6 years ago
Julian Oes
393a665424
DriverFramework: update submodule
...
Fixes the unit test on macOS.
6 years ago
Julian Oes
e046a6255f
DriverFramework: update submodule
...
This brings a couple more build fixes.
6 years ago
Julian Oes
e41518a08b
platforms: clean up various build/linking issues
...
This makes sure lockstep is only built for SITL builds and fixes the
existing builds.
6 years ago
Julian Oes
23264fe579
kinetis: add missing include
6 years ago
Julian Oes
9724a84801
gitmodules: use https link for lockstep-scheduler
6 years ago
Julian Oes
8cbe26c6f6
platforms: fix linking issues for NuttX build
6 years ago
Julian Oes
a193e4117c
drv_hrt: update signature of ts_to_abstime
6 years ago
Julian Oes
d75389b2e4
platforms: consolidate latency_buckets
...
These symbols were duplicated all over the place.
6 years ago
Julian Oes
b13600ed1a
platforms: remove TODO
...
It turns out Mac OS X v10.11.6 (El Capitan) is still covered by security
updates at this time, so not end-of-lifed, so we might as well keep
these legacy things.
6 years ago