Mark Charlebois
fb402bc096
POSIX: Fixed remaining broke gtests
...
The addition of the hrt workqueue required adding some additional files to
unittests/CMakeLists.txt
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
ea7d5070c5
POSIX: Fixed some of the failing gtests
...
The orb_advert_t change from int to void * required some fixups
for the gtests.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
527b97e8b4
POSIX: added tone_alarm simulator
...
The tone_alarm simulator was added to rc.S and the warning output for a
hrt_timer with a 0 expiry times was disabled.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
David Sidrane
28d3729acd
Backport of Fixes mavlink_if0: invalid data rate '(null)' bug
10 years ago
Mark Charlebois
9ef7db6a36
QuRT: Added missing hrt workqueue files
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
e4a8f32f1b
QuRT: Added HRT workqueues as per POSIX
...
A high rate workqueue is required that acts like an interrupt handler
for a HW timer.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Elikos default
9605df75da
fix NaN yaw breaking attitude setpoints when going back into posctl from offboard
10 years ago
Mark Charlebois
83bcb95999
POSIX: Added sleep command
...
The baro was not fully initialized when the sensors module tried to
open it. Added a sleep command and a sleep 2 to rc.S so the baro
is initialized by the time the sensors module tried to read it.
Fixed other noisy errors
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
7540aa6b87
Navigator: Make logic using previous and current altitudes consistent
10 years ago
Mark Charlebois
18304a2a0d
POSIX: Fixed px4_getpid() calls from shell context
...
When px4_getpid() was called from the shell, there was no opaque
thread ID to return. Added a special thread ID for the shell
context. This ID only works for px4_getpid() and cannot be used
for other px4_task_*() calls.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
891829d3a7
Land detector: Protect fixed wing logic from false-positives due to bad input data
10 years ago
Pavel Kirienko
e94bc7960c
libuavcan submodule updated
10 years ago
Lorenz Meier
6ba0f246f0
Merge pull request #2318 from PX4/libuavcan_update
...
Libuavcan submodule update
10 years ago
Lorenz Meier
a66b1b9d04
Improve feedback when auto mode is rejected due to a non suitable mission
10 years ago
Lorenz Meier
bc48634101
Navigator: Reject missions with relative altitude if no home was set before arming
10 years ago
Lorenz Meier
f2b81ce69a
commander: Only update home position if not armed already
10 years ago
Lorenz Meier
9155e8a7fe
FX79: Increase travel
10 years ago
Lorenz Meier
ac084ae3d0
Merge pull request #2293 from kd0aij/HIL_inhibitSensorCheck
...
special treatment and warning message for HIL platform arming
10 years ago
Lorenz Meier
000434be15
IO mixer: Limit outputs to proper range
10 years ago
Lorenz Meier
3cc2b7ed12
EKF: Add small gyro failover hysteresis
10 years ago
Lorenz Meier
f0f3ffaec1
IO firmware: Do not apply trim values a second time
10 years ago
Lorenz Meier
25c23dbf4c
back out payload mixer from FX79 default config
10 years ago
Lorenz Meier
086123fe84
Fix RC failsafe handling when landed
10 years ago
Lorenz Meier
e8a9c20056
EKF: Ensure we start with zero local altitude and zero GPS offset. Since the filter is not publishing any data at this point this is not relevant in operation, but might be important later if we publish a separate altitude estimate topic
10 years ago
Lorenz Meier
c06d4032f4
Merge pull request #2314 from kylemanna/python2
...
Tools: Update python files to work with python3
10 years ago
Kyle Manna
c593451e5d
Tools: Convert Python 2 syntax to Python 3 compatible
...
* The `print """` syntax appears invalid in Python 3 which is the
default for the Python binary on my system (and soon many more).
* Convert the file (using `2to3`) to a version that's compatible with
Python 2 and Python 3.
* Tested against Python 2.7.10 and 3.4.3.
10 years ago
Pavel Kirienko
67c1b230ca
libuavcan submodule updated
10 years ago
Mark Whitehorn
7e48c66c22
add is_hil_setup()
10 years ago
Mark Whitehorn
71da3976ab
add HIL autostart ID range macros and remove warnx
10 years ago
Mark Whitehorn
e224441ac1
special treatment and warning message for HIL platform arming
10 years ago
tumbili
45cd05b57a
invert pitch trim parameter
10 years ago
Lorenz Meier
30969eb10c
Navigator: Use correct open call
10 years ago
Mark Charlebois
9c90e47400
Fixed ORBMap.hpp copyright
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
03d7d770a6
Forgot to add ORBMap.hpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
4df833d25d
uORB: factor out ORBMap.hpp into a separate file
...
The new uORB::ORBMap class was put it its own file with proper
copyright.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
05b6bcd168
Added missing return in ORBSet
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
4d28126e0a
Nuttx: remove use of std::string, std::map, std::set
...
Nuttx complains about an unresolved _impure_ptr at link time.
This is a known issue when using STL templates in NuttX on ARM.
Created new ORBMap and ORBSet classes for NuttX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
13dd993e01
Nuttx: mavlink fixes
...
Needed to ifdef SITL functionality not supoprted in NuttX build.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
8a3d3f61e6
commander: Better error handling for RC trim
10 years ago
Lorenz Meier
9bb91ea031
PX4 IO firmware: Do not reject trim
10 years ago
Lorenz Meier
8259102bf1
PX4 IO driver: Fix TRIM upload
10 years ago
Mark Charlebois
980061e508
Merge pull request #15 from tumbili/mavlink_udp_cleanup
...
clean up mavlink network capability
10 years ago
tumbili
ac053e15da
clean up mavlink network capability
10 years ago
Lorenz Meier
284da7d344
PX4IO driver: Support trim values
10 years ago
Lorenz Meier
90362a9889
FW attitude controller: Fix usage of trim parameters to apply only to the final outputs
10 years ago
Lorenz Meier
b46b122808
PX4IO firmware: Support trim parameters for RPY
10 years ago
Lorenz Meier
da6a07421b
EKF: Add hysteresis to mag failover
10 years ago
Mark Charlebois
7bb70313da
POSIX: use px4_getpid()
...
The posix build only has one process so calling getpid() will not
provide the expected result.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
cb231e89f6
QuRT: Changes to enable qurt target to build
...
QuRT doesn't support unlink and does not provide getpid().
The DSPAL layer provides access to usleep so an implementation is
no longer needed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
tumbili
a5c214a7bb
use orb_advertise_multi:
...
- subscribe to actuator controls after topic has been advertised
10 years ago