Commit Graph

12914 Commits

Author SHA1 Message Date
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 99c066c39c HIL: Cleanup creation and initialization
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 dc2dc9920f build gpssim 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 4aa4038e27 increase number of arguments passable to apps 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 9a4bee834d added gpssim driver 2015-06-08 22:21:58 -07:00
tumbili 909508f8f9 let mixer sleep a bit before loading to ensure device is set up 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 3d44384731 temporarily don't use multi advert because doesn't work 2015-06-08 22:21:58 -07:00
tumbili fb778af8b3 increase max file descriptors to 100 2015-06-08 22:21:58 -07:00
tumbili aef3f37ae0 enable reading sensor data from simulator module for SITL 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
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>
2015-06-08 22:20:17 -07:00
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>
2015-06-08 22:18:57 -07:00
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>
2015-06-08 22:15:55 -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 c2524a3a7f Merge pull request #2292 from PX4/l1_fix
L1 fix
2015-06-08 17:18:59 +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
Lorenz Meier a0a432fa4e Merge pull request #2303 from tumbili/mixer_yaw_fix
allow to give away some thrust for yaw control
2015-06-08 16:42:14 +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 2903e350a7 Caipi: Fix mixer and reverse params 2015-06-08 14:45:48 +02:00
Lorenz Meier cb2ddbe57b Caipi Mixer: Fix directions 2015-06-08 14:28:53 +02:00
Lorenz Meier c798b1165a MAVLink app: Complete OSD config 2015-06-08 11:25:44 +02:00
Lorenz Meier f22fdc5b0b ROMFS: Support for new autostart IDs 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
Lorenz Meier aec4f359ac Caipi config: Fix maintainer 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 68c062d1c8 Merge pull request #2302 from dagar/mixers_readme
fix mixers README.md
2015-06-08 09:12:02 +02:00
Daniel Agar a7d7c69a79 fix mixers README.md
-the angle brackets in the tag descriptions were breaking the markdown
2015-06-07 21:37:07 -04:00
Pavel Kirienko 2c61ec6819 UAVCAN update, fixes compilation warning on GCC 4.7 (see #2294) 2015-06-07 00:10:53 +03:00
Lorenz Meier 02efa5a24c commander: Better text feedback 2015-06-06 22:14:10 +02:00
Lorenz Meier 947306dfdc Merge pull request #2290 from kd0aij/HIL_inhibitSensorCheck
inhibit more sensor checks
2015-06-06 17:03:40 +02:00
Mark Whitehorn 05f935cd77 inhibit more sensor checks 2015-06-06 08:53:56 -06:00