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
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
10 years ago
Mark Charlebois
e7abd78051
POSIX: Fixed output for list_topics, list_devices, etc
...
Removed extra carriage returns in output strings
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
db5530e1b5
POSIX: Fixes for HRT implementation of simulated HW clock polling
...
There is a race condition for the accel and mag polling rates.
Whichever one gets set first, the other will be uninitialized.
Set the mag polling rate to 1ms if uninitilized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
acfd1ea519
POSIX: added hrt_queue for handling fast periodic events
...
The workqueues measure time in ticks which is typically 10ms.
Some interrupt events in Nuttx occur at about 1ms so a more
granular workqueue is needed for POSIX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
696e1fc9e2
Merge pull request #2300 from tumbili/heading_hold
...
fixed wing posctrl
10 years ago
Lorenz Meier
c2524a3a7f
Merge pull request #2292 from PX4/l1_fix
...
L1 fix
10 years ago
Lorenz Meier
900c81e67c
commander: Compile fix for home init on arming via CMD
10 years ago
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.
10 years ago
Lorenz Meier
3eebd8eb30
EKF: Prevent bad data from being published
10 years ago
Lorenz Meier
fe09e53b5b
EKF reset handling: Ensure altitude reinitializes correctly
10 years ago
Lorenz Meier
e1ecac078d
EKF: Harden GPS offset filter value for HIL
10 years ago
Lorenz Meier
f02ffa5a90
Att / Pos EKF: Fix handling of altitude initialization for local frame
10 years ago
Lorenz Meier
1ecbf674aa
navigator: Finish rework of switch distance to account for vehicle dynamics
10 years ago
Lorenz Meier
1fb7434128
Navigation capabilites: Ensure regular publication of updated topic
10 years ago
Lorenz Meier
b2a694f71d
navigator: Use the controller radius also as lower bound for mission items
10 years ago
Lorenz Meier
0f3438eb17
Navigator: Obey minimum turn radius the controller is capabable of.
10 years ago
Lorenz Meier
c7be59038c
L1 pos control: Publish timestamp when setting nav capabilities
10 years ago
tumbili
ac215fe2cb
allow to give away some thrust for yaw control
10 years ago
Lorenz Meier
a0a432fa4e
Merge pull request #2303 from tumbili/mixer_yaw_fix
...
allow to give away some thrust for yaw control
10 years ago
tumbili
b571d70488
allow to give away some thrust for yaw control
10 years ago
Lorenz Meier
9bbb315144
commander: Print home position
10 years ago
Lorenz Meier
2903e350a7
Caipi: Fix mixer and reverse params
10 years ago
Lorenz Meier
cb2ddbe57b
Caipi Mixer: Fix directions
10 years ago
Lorenz Meier
c798b1165a
MAVLink app: Complete OSD config
10 years ago
Lorenz Meier
f22fdc5b0b
ROMFS: Support for new autostart IDs
10 years ago
Lorenz Meier
0083d6e732
systemlib: Update system param names
10 years ago
Lorenz Meier
6309aa612b
MAVLink app: Introduce OSD mode
10 years ago