Mark Charlebois
9c90e47400
Fixed ORBMap.hpp copyright
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-09 19:36:29 -07:00
Mark Charlebois
03d7d770a6
Forgot to add ORBMap.hpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-09 19:34:34 -07:00
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 >
2015-06-09 19:31:56 -07:00
Mark Charlebois
05b6bcd168
Added missing return in ORBSet
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-09 19:16:06 -07:00
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 >
2015-06-09 18:56:28 -07:00
Mark Charlebois
13dd993e01
Nuttx: mavlink fixes
...
Needed to ifdef SITL functionality not supoprted in NuttX build.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-09 16:32:22 -07:00
Lorenz Meier
8a3d3f61e6
commander: Better error handling for RC trim
2015-06-09 23:08:49 +02:00
Lorenz Meier
9bb91ea031
PX4 IO firmware: Do not reject trim
2015-06-09 23:06:20 +02:00
tumbili
ac053e15da
clean up mavlink network capability
2015-06-09 20:14:42 +02:00
Lorenz Meier
90362a9889
FW attitude controller: Fix usage of trim parameters to apply only to the final outputs
2015-06-09 14:16:37 +02:00
Lorenz Meier
b46b122808
PX4IO firmware: Support trim parameters for RPY
2015-06-09 14:16:05 +02:00
Lorenz Meier
da6a07421b
EKF: Add hysteresis to mag failover
2015-06-09 09:15:45 +02:00
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 >
2015-06-08 22:22:00 -07:00
tumbili
a5c214a7bb
use orb_advertise_multi:
...
- subscribe to actuator controls after topic has been advertised
2015-06-08 22:21:59 -07:00
tumbili
065ec5b2dc
no need to send non-controls mavlink messages to jMAVSim because we can use mavlink app with udp
2015-06-08 22:21:59 -07:00
tumbili
8eee7ba321
compute atmospheric pressure from altitude
2015-06-08 22:21:59 -07:00
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 >
2015-06-08 22:21:59 -07:00
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 >
2015-06-08 22:21:59 -07:00
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 >
2015-06-08 22:21:59 -07:00
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 >
2015-06-08 22:21:59 -07:00
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 >
2015-06-08 22:21:59 -07:00
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 >
2015-06-08 22:21:59 -07:00
tumbili
5c013af574
save gps data so driver can read
2015-06-08 22:21:59 -07:00
tumbili
9da40a69cc
mavlink: do not send autopilot capabilities to avoid crash
2015-06-08 22:21:59 -07:00
tumbili
a77f637bc4
mavlink udp:
...
- added option to stream messages over udp
- still hardcoded stuff (port)
2015-06-08 22:21:58 -07:00
tumbili
45ee36234d
activate sending thread only once got message from simulator
2015-06-08 22:21:58 -07:00
tumbili
f0a3210e94
major simulator rework:
...
- wait for first message from jMAVSim
before sending data
- publish raw rc data coming from PIXHAWK (temporary)
- send some interesting messages to jMAVSim
- prepare sensor data for sim drivers to read
2015-06-08 22:21:58 -07:00
Lorenz Meier
696e1fc9e2
Merge pull request #2300 from tumbili/heading_hold
...
fixed wing posctrl
2015-06-08 17:21:31 +02:00
Lorenz Meier
900c81e67c
commander: Compile fix for home init on arming via CMD
2015-06-08 17:18:25 +02:00
Lorenz Meier
0aa47236bf
commander: Only print reject mode message every 10 seconds. Set home position also if armed via command. Warn that arming via shell does not set home position.
2015-06-08 16:48:50 +02:00
Lorenz Meier
3eebd8eb30
EKF: Prevent bad data from being published
2015-06-08 16:48:50 +02:00
Lorenz Meier
fe09e53b5b
EKF reset handling: Ensure altitude reinitializes correctly
2015-06-08 16:48:50 +02:00
Lorenz Meier
e1ecac078d
EKF: Harden GPS offset filter value for HIL
2015-06-08 16:48:50 +02:00
Lorenz Meier
f02ffa5a90
Att / Pos EKF: Fix handling of altitude initialization for local frame
2015-06-08 16:48:50 +02:00
Lorenz Meier
1ecbf674aa
navigator: Finish rework of switch distance to account for vehicle dynamics
2015-06-08 16:48:50 +02:00
Lorenz Meier
1fb7434128
Navigation capabilites: Ensure regular publication of updated topic
2015-06-08 16:48:50 +02:00
Lorenz Meier
b2a694f71d
navigator: Use the controller radius also as lower bound for mission items
2015-06-08 16:48:50 +02:00
Lorenz Meier
0f3438eb17
Navigator: Obey minimum turn radius the controller is capabable of.
2015-06-08 16:48:49 +02:00
Lorenz Meier
c7be59038c
L1 pos control: Publish timestamp when setting nav capabilities
2015-06-08 16:48:49 +02:00
tumbili
ac215fe2cb
allow to give away some thrust for yaw control
2015-06-08 16:42:51 +02:00
tumbili
b571d70488
allow to give away some thrust for yaw control
2015-06-08 16:04:42 +02:00
Lorenz Meier
9bbb315144
commander: Print home position
2015-06-08 15:19:41 +02:00
Lorenz Meier
c798b1165a
MAVLink app: Complete OSD config
2015-06-08 11:25:44 +02:00
Lorenz Meier
0083d6e732
systemlib: Update system param names
2015-06-08 11:25:44 +02:00
Lorenz Meier
6309aa612b
MAVLink app: Introduce OSD mode
2015-06-08 11:25:44 +02:00
tumbili
d40f94bf26
fixed wing posctrl:
...
- lock desired yaw once yaw speed is small
2015-06-08 09:38:49 +02:00
Lorenz Meier
02efa5a24c
commander: Better text feedback
2015-06-06 22:14:10 +02:00
Mark Whitehorn
05f935cd77
inhibit more sensor checks
2015-06-06 08:53:56 -06:00
Lorenz Meier
ab61ebca2a
Revert "commander: Allow to disarm via switch in HIL"
...
This reverts commit 6ed43cb3a4 .
2015-06-06 11:37:10 +02:00
Lorenz Meier
b7986e6fdd
land detector: Improve performance for fixed wing setups
2015-06-06 11:37:10 +02:00