Commit Graph

1271 Commits

Author SHA1 Message Date
Thomas Gubler 2760d64a00 Merge remote-tracking branch 'upstream/master' into dev_ros 2014-11-28 09:47:29 +01:00
Lorenz Meier 9d986f5df3 HMC5883: Better status reporting 2014-11-26 18:22:18 +01:00
Lorenz Meier 6200a3e3a5 Added TeraRanger one sensor 2014-11-26 07:56:54 +01:00
Lorenz Meier cbcd1ea1d1 Merged PX4Flow driver changes 2014-11-26 07:43:19 +01:00
Andrew Tridgell 4724c05047 airspeed: use _retries=2 for I2C retries once initialised
airspeed sensors often need to be on longer cables due to having to be
outside the prop wash.
2014-11-26 07:35:32 +01:00
Andrew Tridgell c906c21238 px4io: prevent use of uninitialised memory in io_set_arming_state()
the vehicle may not have setup a control_mode. We need to check the
return of orb_copy() to ensure we are getting initialised values
2014-11-26 11:39:41 +11:00
Andrew Tridgell 29f000dc31 px4io: fixed error returns to be negative
follow standard conventions
2014-11-26 11:39:41 +11:00
Andrew Tridgell 809500cfcd px4io: fixed RC_CONFIG channel limit check
number of channels is the right test, not number of actuators
2014-11-26 11:39:41 +11:00
Thomas Gubler 3c6f6618e8 Merge remote-tracking branch 'upstream/uorbtinymerge' into dev_ros 2014-11-25 15:58:27 +01:00
Thomas Gubler 5b80a2ae38 Merge remote-tracking branch 'upstream/pr/1040' into uorbtinymerge
Conflicts:
	mavlink/include/mavlink/v1.0
	src/modules/mc_att_control/mc_att_control_main.cpp
2014-11-25 10:49:29 +01:00
Lorenz Meier 54e7ed70e1 GPS: be less verbose 2014-11-22 16:34:09 +01:00
Lorenz Meier b2671c8f05 GPS: be less verbose 2014-11-22 15:46:28 +01:00
Lorenz Meier 7b43b80c37 Merge branch 'master' of github.com:PX4/Firmware into safety 2014-11-22 14:40:41 +01:00
Andrew Tridgell f533c36251 px4io: added RC_CONFIG, SET_OVERRIDE_OK and CLEAR_OVERRIDE_OK ioctls
this allows for full setup of RC override without needing param_get()
to PX4 specific parameters

Conflicts:
	src/drivers/drv_pwm_output.h
2014-11-16 21:09:19 +01:00
Andrew Tridgell ba81125453 px4io: added OVERRIDE_IMMEDIATE arming flag
this allows the flight code to choose whether FMU failure gives
immediate manual pilot control, or waits for the mode switch to go
past the override threshold
2014-11-16 21:02:14 +01:00
Andrew Tridgell 6406e235d6 px4io: publish pwm values when STATUS_FLAGS_FMU_OK is not set
this allows testing of FMU failure behaviour in px4io by monitoring
the reported PWM output when the vehicle code stops sending
updates. Otherwise testing needs to be done with "px4io status" which
is very tedious.

With this change a GCS can monitor the PWM outputs from the failsafe
mixer using normal mavlink messages
2014-11-16 21:01:00 +01:00
Andrew Tridgell 88bae21ce5 px4io: added RC_CONFIG, SET_OVERRIDE_OK and CLEAR_OVERRIDE_OK ioctls
this allows for full setup of RC override without needing param_get()
to PX4 specific parameters
2014-11-16 21:00:01 +01:00
Lorenz Meier beee7a89ed Airspeed: less chatty 2014-11-15 16:55:04 +01:00
Lorenz Meier 5af710221a HoTT: Less chatty 2014-11-15 16:54:34 +01:00
Lorenz Meier ef27225534 HIL: Be less chatty 2014-11-15 16:41:30 +01:00
Lorenz Meier 8d5225b967 FrSky: Be less chatty 2014-11-15 16:41:18 +01:00
Lorenz Meier 6f71173f8c ARDrone driver: be less chatty 2014-11-15 16:40:42 +01:00
Lorenz Meier e2c0ac3f70 airspeed driver: Be less chatty 2014-11-15 16:40:29 +01:00
Lorenz Meier 24c97ebaff Merge branch 'sizeopt' into silicon_mitigation 2014-11-15 13:55:18 +01:00
Lorenz Meier 32313a13dd PX4IO driver: Optimize for size 2014-11-15 13:54:16 +01:00
Lorenz Meier 54f296ce9d Sensor drivers: Optimize for size 2014-11-15 13:54:01 +01:00
Lorenz Meier f7f5406243 FMU driver: optimize for size 2014-11-15 13:51:49 +01:00
Lorenz Meier c0f34dff26 STM32 drivers: Optimize for size 2014-11-15 13:51:33 +01:00
Lorenz Meier 3d2a5bae51 Board drivers: Optimize for size 2014-11-15 13:51:16 +01:00
Lorenz Meier 49d542e42b Merge pull request #1445 from hsteinhaus/uavcan_dev_id
UAVCAN: fix device::Device::_device_id for baro and mag
2014-11-12 13:38:53 +01:00
Lorenz Meier afcbab7fba PX4FLOW driver: Prevent sensor from spamming the system on errors. Use the perf system call to look at error counters. 2014-11-12 13:37:58 +01:00
Julian Oes 14b5732c6e px4flow: small verbose output fix 2014-11-12 13:26:10 +10:00
Holger Steinhaus 51ffb887c3 UAVCAN: initialize device id for mag and baro to allow DEVIOCGDEVICEID ioctl to return useful data 2014-11-11 11:29:35 +01:00
Lorenz Meier 88093ebf1a Hotfix: Fix IO channel mapping 2014-11-10 18:52:18 +01:00
Lorenz Meier ea0a59f806 HMC5883: Reduce output, add indices to make back-tracking lines easier, remove output completely for an OK-operation (the driver is NOT the right place to talk to the user!) 2014-11-10 09:26:11 +01:00
Lorenz Meier 23a33e31cd Add missing mode switch channel 2014-11-05 19:26:10 +01:00
Lorenz Meier 182c1c1d52 Fix RC mapping indices - 0 index induces issues right now 2014-11-05 17:17:34 +01:00
Lorenz Meier c600a7fbd2 L3GD20: Fix typo 2014-11-03 15:37:24 +01:00
Lorenz Meier 06df0f23a3 L3GD20: Output gyro temperature in report 2014-11-03 12:56:35 +01:00
Lorenz Meier 2cadd45f30 Configure led ring and enable heartbeat on it 2014-11-02 10:13:11 +01:00
Lorenz Meier 078e81a5cb Build for ESC bus conditionally 2014-10-31 11:42:36 +01:00
dominiho 4689c2db0a removed debug printf, adjusted test routine single read 2014-10-30 17:51:49 +01:00
dominiho 9f64953bb9 replaced optical_flow mavlink message with optical_flow_rad, added gyro_temperature, adapted sd2log for px4flow integral frame 2014-10-30 16:39:02 +01:00
dominiho 93239e5018 Merge branch 'master' of https://github.com/PX4/Firmware into px4flow_integral_i2c 2014-10-30 11:11:15 +01:00
Lorenz Meier 19e5063965 Merge remote-tracking branch 'tridge/pullrequest-force-safety' 2014-10-29 23:15:41 +01:00
Andrew Tridgell c396a67746 mpu6000: added logging of good transfers
this helps tracking down a startup issue
2014-10-30 08:47:03 +11:00
Andrew Tridgell dd23d0acbc drivers: allow forcing the safety switch on
This allows forcing the safety switch to the on position from software
which stops the pwm outputs
2014-10-30 08:44:00 +11:00
dominiho 4a3a16475e scan also 3rd available bus 2014-10-28 15:05:41 +01:00
dominiho 2e4931e3ca deleted last PX4FLOW_BUS to enable scan on both buses 2014-10-28 14:04:50 +01:00
Lorenz Meier f443b77ae9 Kill last usleep() 2014-10-28 13:24:12 +01:00