Commit Graph

28679 Commits

Author SHA1 Message Date
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 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
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
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
Lorenz Meier 3e0c14dea2 MAVLink FTP: Do not list hidden directories by default 2015-06-06 11:35:29 +02:00
Lorenz Meier 9af8ba49ac HIL fix: Also publish filtered airspeed 2015-06-06 11:35:09 +02:00
Lorenz Meier 6ed43cb3a4 commander: Allow to disarm via switch in HIL 2015-06-06 09:46:09 +02:00
Lorenz Meier 7b36353e52 Merge pull request #2289 from kd0aij/HIL_inhibitSensorCheck
Hil inhibit sensor check
2015-06-06 09:39:34 +02:00
Lorenz Meier b3bcc2e2c8 Merge pull request #2287 from PX4/release_v1.0.0_uavcan_update
Back Port from Master - Changes to build on latest uavcan master with…
2015-06-06 09:28:51 +02:00
Mark Whitehorn 9588e6fc68 whitespace 2015-06-05 21:23:35 -06:00
Mark Whitehorn e9634fbe47 suppress preflight check failure for HIL autostart_ids 2015-06-05 21:18:25 -06:00
Roman ef6e07fc9b fixed wing position control:
- only lock on yaw if yawrate is below threshold
- remove more magic numbers
2015-06-05 22:45:07 +02:00
Mark Whitehorn 1f3c5d00e4 fix posctl heading hold 2015-06-05 22:45:07 +02:00
tumbili e5e4db1923 POSCTRL:
- make sure we always intialize the waypoints
  on the desired path and that the previous waypoint is
  behind the plane
- replace magic numbers with defines
2015-06-05 22:45:07 +02:00
Lorenz Meier 7f07e4306a commander: Fix non-existing middle switch position for acro switch 2015-06-05 22:45:07 +02:00
Lorenz Meier f6dc9c9727 multicopter manual attitude control: Leave some margin for yaw control 2015-06-05 22:45:07 +02:00
Lorenz Meier 46d969772c Fixed wing heading hold: Engage only after wings got close to level already 2015-06-05 22:45:07 +02:00
Lorenz Meier 21fde4b3f6 fw att control: Code style fixes 2015-06-05 22:45:06 +02:00
Lorenz Meier c99489ee9d FW pos control: Implement hardcore throttle limiting in manual interaction mode 2015-06-05 22:45:06 +02:00