Beat Küng
e061842219
posix main: only try to generate symlinks if data path argument given
...
if not given, the dirs are either not needed (eg RPI) or assumed to
exist already
8 years ago
Beat Küng
98ac60e3fd
Tools: remove unused scripts {posix,qurt}_apps.py
...
These were replaced by cmake, with the template cmake/posix/apps.h_in
8 years ago
Beat Küng
50b8ed0a89
commander: initialize gps & baro as failure state
...
This avoids error messages on startup.
8 years ago
Beat Küng
ce0d31b7d9
mavlink log: ensure all critical & emergency msgs are also logged to console & ulog
...
Critical messages that the user sees should also go to the log file, so
that the exact error (with time) can later be analyzed from the log file.
8 years ago
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
8 years ago
Beat Küng
c606554da3
PreflightCheck.cpp: use __PX4_POSIX_RPI instead of __LINUX for RPI
8 years ago
Beat Küng
cf5338df02
accelsim: lower publisher rate to 250Hz
8 years ago
Beat Küng
27aaf244af
fix accelsim: ACC_READ cannot be 0 (it's used to check if a bit is set)
...
before that, accel data was all 0, but since the gyrosim also publishes
accel data, it was not a problem.
8 years ago
Beat Küng
d7ed47e2e5
px4_posix_tasks.cpp: make sure to copy the thread name into the thread data struct
...
The thread name is used from within the entry of the new thread, but the
provided name could live on the stack of the caller thread. Thus we need to
copy the name.
8 years ago
Beat Küng
ac189704ed
simulator: flush output after waiting message output
...
Just to make sure the user sees the message.
8 years ago
Beat Küng
f25947b964
hrt_work_queue posix: only send a wake-up signal if not called from own thread
...
The simulated timer interrupt always adds a new scheduled work task, which
is called from the work queue thread. Sending the signal creates measurable
overhead (~5% of the px4 CPU runtime) and is unnecessary, since the thread
is not sleeping anyway.
8 years ago
Beat Küng
1d111cb254
px4_getpid: return the taskmap index instead of pthread_self()
...
this makes it consistent with other functions, like px4_task_spawn_cmd()
and px4_task_kill()
8 years ago
Beat Küng
a51d1bc5dc
jmavsim_run.sh: add optional -p <port> argument
8 years ago
Beat Küng
35e93c24e8
fix sitl_multiple_run.sh: adapt to path updates
8 years ago
Julian Oes
763d2d0447
ecl: point to interim branch for now
8 years ago
Lorenz Meier
17a1d31b79
Update L1 controller stack
8 years ago
Lorenz Meier
69f6708f37
Increase sensors stack
8 years ago
Julian Oes
7f8f6c3879
ecl: updated submodule again
8 years ago
Julian Oes
b1708f3871
cmake: only optimize for size on NuttX
...
With this change only builds for NuttX which are very much flash size
constraint are optimized for size. All other builds (e.g. SITL,
Snapdragon, etc.) are left at the default for debugging or -O2 for the
usual use.
8 years ago
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
8 years ago
Julian Oes
aa6d9e363f
mavlink: fix a shadowing warning
8 years ago
Julian Oes
ab4441c00b
mavlink: add comment for Snapdragon
8 years ago
Julian Oes
1b69f9cb23
mavlink: don't miss first vehicle_command_ack
...
This fixes a corner case where the first advertise/publish of a
vehicle_command_ack was missed. What happened was that the
orb_subscribe_multi was not called until the topic had been published
and therefore orb_exists was happy. This means that by the time
orb_subscribe_multi was finally called, the first vehicle_command_ack
was already history and not detected by orb_check.
This changed adds a flag to the MavlinkOrbSubscription which tells it to
subscribe to a topic from the beginning.
8 years ago
Julian Oes
158a0be6c4
commander: whitespace fix
8 years ago
Beat Küng
1eca97757c
sitl_run.sh: fix $rootfs not set (needed for efk2 replay)
9 years ago
Beat Küng
bb61144efc
cmake: add posix_sitl_inav target
9 years ago
Daniel Agar
acc1cc3158
travis-ci fix s3 deploy ( #5564 )
...
- deploy all branches to s3
9 years ago
Beat Küng
92d160c431
uorb devices: fix for QuRT which has no poll()
9 years ago
Beat Küng
219ab519e3
uorb devices: rename queue_size() & meta() to avoid member shadowing
9 years ago
Beat Küng
d1850f5112
uorb top: measure the elapsed time to give more accurate results
9 years ago
Beat Küng
52dde93a31
uorb: merge nuttx & posix files
9 years ago
Beat Küng
f601428e82
uorb: add ifdef's where necessary to mitigate diffs between nuttx & posix
...
now the files are equal
9 years ago
Beat Küng
f5654511b8
uorb: more syntax changes to remove diff between nuttx & posix files
9 years ago
Beat Küng
83c5323c3a
uorb: remove syntax differences between posix & nuttx src file
9 years ago
Beat Küng
fbd7aac4b5
uorb: add 'top' command for a live view of topic updates
9 years ago
Beat Küng
670c93e726
cmake: add support for out-of-tree modules via EXTERNAL_MODULES_LOCATION variable
9 years ago
Lorenz Meier
65e3ae70dd
DF update
9 years ago
Lorenz Meier
676e90cd98
Define realtime clock for systems not having one
9 years ago
Lorenz Meier
adf56050b9
Use monotonic clock for simulator
9 years ago
Lorenz Meier
5b674ffe48
Update DF to include Travis CI fix for DF
...
DF Update: Use common CMake version so Darwin handling is correct in PX4
Update DF to use proper constants
Update DF
9 years ago
Lorenz Meier
af8cbee6d5
Support 10.11 and 10.12 in parallel in PX4
9 years ago
Lorenz Meier
f49eabdb9d
Update DF to have 10.11 and 10.12 support in parallel
9 years ago
Lorenz Meier
c433e7bf3e
Set correct XCode 8 version
9 years ago
Lorenz Meier
88cffaddec
Enable CMake
...
Output CMake version
9 years ago
Lorenz Meier
cf671b5134
Fix tests and re-introduce tests into build
...
Code style fix
9 years ago
Lorenz Meier
1909f2b02f
Switch Travis to XCode 8
9 years ago
Lorenz Meier
2b9596cac0
Run clean beffore distclean so that a partial build is wiped as well.
9 years ago
Lorenz Meier
69c28177ac
Fix platform headers / files for XCode 8
9 years ago
Lorenz Meier
edf0057cee
Modify build for XCode 8
9 years ago
Lorenz Meier
398d9642cb
Update DF for XCode 8
9 years ago