Commit Graph

9933 Commits

Author SHA1 Message Date
Lorenz Meier ef450cc447 Enable examples by default to ensure they get maintained on API changes 2014-12-12 14:08:41 +01:00
Lorenz Meier cc6224de65 Fix / update HW test example 2014-12-12 14:08:02 +01:00
Lorenz Meier 691e42324c Fix build breakage in FW control example 2014-12-12 14:07:42 +01:00
Lorenz Meier be5bd6f978 Remove unmaintained math demo 2014-12-12 14:07:24 +01:00
Lorenz Meier 42c8f6b48b Update UAVCAN version, delete outdated example 2014-12-12 12:11:08 +01:00
Lorenz Meier 52d2396da9 Merge pull request #1487 from PX4/systemlibinclude
add sched.h to systemlib includes
2014-12-10 18:07:13 +00:00
Thomas Gubler 1c0f850fac add sched.h to systemlib includes
SCHED_RR and SCHED_FIFO are defined in sched.h
2014-12-10 15:11:49 +01:00
Lorenz Meier 33725ecc6a uORB home position: Add AMSL as clarificaiton in docs 2014-12-06 18:18:47 +01:00
Lorenz Meier 350e2549df uORB mission topic: Add AMSL as clarificaiton in docs 2014-12-06 18:18:25 +01:00
Lorenz Meier 8af6ab2713 Fix vehicle command docs to AMSL 2014-12-06 18:17:37 +01:00
Lorenz Meier b4a3dcb2f0 Merge pull request #1391 from PX4/vfr_fix
mavlink: use altitude AMSL in VFR message
2014-12-06 17:51:10 +01:00
Thomas Gubler 72d5f2b245 Merge pull request #1476 from friekopter/vel_alt_hold
Implemented altitude and velocity hold mode
2014-12-05 19:36:27 +01:00
Lorenz Meier 6bd586c837 Merge pull request #1482 from sjwilks/uavcan_debug
Display ESC data in the status output
2014-12-03 11:16:34 +01:00
Simon Wilks f3fb32bc47 Unsubscribe from the topic. 2014-12-03 10:43:17 +01:00
Simon Wilks 7a344b9337 Display ESC data in the status output 2014-12-03 10:30:49 +01:00
Lorenz Meier d5debc2f42 Merge master into attitude EKF update 2014-12-02 15:12:11 +01:00
Lorenz Meier 8d1a0700f2 Merge pull request #1475 from hsteinhaus/gps_time
Corrected time_gps_usec values description.
2014-12-02 12:30:46 +01:00
Lorenz Meier b4da5afcce Merge pull request #1479 from AndreasAntener/accel-calibration-fix
Accel calibration fix
2014-12-02 11:19:03 +01:00
Andreas Antener 45c52b51ee move natural position to the front of the pending list for QGC 2014-12-02 01:42:12 +01:00
Andreas Antener b1bd813978 swap fron/back > the "side" being measured is facing downwards 2014-12-02 01:37:54 +01:00
Andreas Antener 3ce7abe9d8 use consistent orientation naming in messages 2014-12-02 01:01:35 +01:00
Lorenz Meier 032ca98e9e Merge branch 'master' of github.com:PX4/Firmware 2014-12-01 11:28:14 +01:00
Lorenz Meier e51f72000b Fix RGB led stop command 2014-12-01 11:27:59 +01:00
Friedemann Ludwig 6efc63d709 fixed somereview comments 2014-11-30 20:51:01 +01:00
Holger Steinhaus f619dba6f9 Corrected time_gps_usec values description.
Fixes #1474
2014-11-28 15:36:30 +01:00
Lorenz Meier 8cc59ca01a Merge branch 'master' of github.com:PX4/Firmware 2014-11-28 14:23:30 +01:00
Lorenz Meier 1da7ca7f78 Updating NuttX version 2014-11-28 14:23:08 +01:00
Friedemann Ludwig 8e8b622f4f Implemented altitude and velocity hold mode 2014-11-28 04:11:39 +01:00
Lorenz Meier 22a247ca67 Disable the BlinkM driver, code style fixes for other disabled drivers 2014-11-27 23:19:53 +01:00
Lorenz Meier 9d986f5df3 HMC5883: Better status reporting 2014-11-26 18:22:18 +01:00
Lorenz Meier 2a9a649adb Make boot less verbose to not hide the important status messages 2014-11-26 18:21:54 +01:00
Lorenz Meier 32835757de Remove uncommon modules from FMU-v2 build 2014-11-26 08:24:11 +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 8e932cec10 systemcmds: added reflect command for USB testing 2014-11-26 07:35:06 +01:00
Lorenz Meier ef76a7cf27 Merge branch 'pullrequest-px4io' of github.com:tridge/Firmware 2014-11-26 07:32:06 +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 c0b47d6a74 px4io: only check SAFETY_OFF for allowing RC config changes and reboot
If we check OUTPUTS_ARMED then we can't update trim values and scaling
in flight, as there is no way to clear OUTPUTS_ARMED.

If safety is on then it should be perfectly safe to update the mixer
and RC config or reboot for fw update
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
Andrew Tridgell 7ae4f6d97e uavcan: added add_poll_fd() helper function
this makes the code clearer and avoids repeated code
2014-11-26 08:41:32 +11:00
Andrew Tridgell a7a68c88a2 uavcan: show ESC output values in uavcan status, and add arm/disarm
this makes "uavcan status" show the current output values, which is
useful for debugging. It also adds "uavcan arm" and "uavcan disarm"
commands, which are very useful for re-arming after a motor test.
2014-11-26 08:32:47 +11:00
Andrew Tridgell 724ec0ec8b uavcan: handle all ESC output in one place
moving all the ESC output handling to one place allows the limits on
actuator values to apply to all types of inputs, and will make it
easier to expand "uavcan status" to show actuator values
2014-11-26 08:32:47 +11:00
Andrew Tridgell 8e44ec2e3b uavcan: prevent crash in ESC driver
passing in more than 8 actuators would crash the ESC driver. We need
to check again the array size of the _esc_status.esc, which is
CONNECTED_ESC_MAX
2014-11-26 08:32:47 +11:00
Andrew Tridgell ead0458e97 uavcan: don't force motors to keep spinning at zero throttle
Forcing motors to keep spinning when armed should be a policy decision
up at the vehicle type level, not hard coded down in the ESC
driver. It isn't appropriate for fixed wing or ground vehicles for
example.

We could add an ioctl to enable "spin when armed" if just setting a
small value in the vehicle code is inconvenient
2014-11-26 08:32:47 +11:00
Andrew Tridgell ecc7a3cbb4 motor_test: prevent use of uninitialised test_motor orb handle
stack variables are not initialised to zero
2014-11-26 08:32:47 +11:00
Andrew Tridgell b830137ec8 uavcan: added support for actuator_direct ORB topic
this watches the actuator_direct topic and uses it to allow for direct
output of actuator values, bypassing the mixer
2014-11-26 08:32:46 +11:00
Andrew Tridgell f6b0a3e07f uORB: added actuator_direct topic
this topic will be used to allow direct output of actuator values for
uavcan, bypassing the mixer.
2014-11-26 08:32:46 +11:00
Andrew Tridgell 2dae1bc542 uavcan: break the link between poll fd indexes and controls
this linkage was fragile and makes it harder to add new orb
subscriptions to the uavcan code
2014-11-26 08:32:46 +11:00