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
tumbili
065ec5b2dc
no need to send non-controls mavlink messages to jMAVSim because we can use mavlink app with udp
10 years ago
tumbili
5694e37854
fix reading baro values from simulator
10 years ago
tumbili
8eee7ba321
compute atmospheric pressure from altitude
10 years ago
Mark Charlebois
58e263d534
Added posix-arm target and refactored toolchain_* files
...
The toolchain_* files are target OS specific so they were moved to
the target OS subdir.
The gcc_version.* files are only cleared once per make instantiation so
a build that creates multiple HW targets will try to link with an
incompatible .o file (i.e. x86 build linking ARM .o). I created
posix-arm as a separate target to fix this problem.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
59ad47003a
mavlink: simplified UDP suport by adding new -u option
...
Use:
mavlink start -u portnum
to set the UDP port.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
aded2d3c03
Enable passing udp port to mavlink module via start args.
...
Usage is: -d udp[:<port>] If no port is specified, default port is
set to 14556. If -d isn’t specified then default is serial.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
82b90281e9
Cleanup of copyright headers
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
6cb26de74c
Multi-uORB support changes - part 1
...
This adds support for a dynamic build for QuRT and initial
Multi-uORB changes to enable communication between the DSP and
the application processor.
This part of the changes do not affect the POSIX build. This is
enablement for the QuRT build using Multi-uORB. The second part
of the changes will be added in a new module under src/modules.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
99c066c39c
HIL: Cleanup creation and initialization
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
5cf1140944
Add raw mode for UART to mavink_main.cpp
...
Raw mode is not the default mode in Ubuntu 14.04.
Disable echo and special character processing.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
fd1effa4fe
Simulator: UART changes
...
Some changes were needed to use the simulator and the UART for rc control.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
tumbili
5c013af574
save gps data so driver can read
10 years ago
tumbili
dc2dc9920f
build gpssim
10 years ago
tumbili
9da40a69cc
mavlink: do not send autopilot capabilities to avoid crash
10 years ago
tumbili
4aa4038e27
increase number of arguments passable to apps
10 years ago
tumbili
a77f637bc4
mavlink udp:
...
- added option to stream messages over udp
- still hardcoded stuff (port)
10 years ago
tumbili
9a4bee834d
added gpssim driver
10 years ago
tumbili
909508f8f9
let mixer sleep a bit before loading to ensure device is set up
10 years ago
tumbili
45ee36234d
activate sending thread only once got message from simulator
10 years ago
tumbili
3d44384731
temporarily don't use multi advert because doesn't work
10 years ago
tumbili
fb778af8b3
increase max file descriptors to 100
10 years ago
tumbili
aef3f37ae0
enable reading sensor data from simulator module for SITL
10 years ago