Commit Graph
423 Commits
Author SHA1 Message Date
Mark Charlebois db52227409 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Mark Charlebois c5237f7f6f Removed extra abstracton layer in systemlib
The calls to task_spawn_cmd, kill_all, and systemreset  were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.

Removed the wrappers and changed all calls to the px4_ equivalents.

NuttX specific code was moved into px4_tasks.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 14:43:11 -07:00
Andreas Antener cd4154d805 Revert "Merge pull request #1819 from PX4/chan16" because of #2113
This reverts commit f8c8876642, reversing
changes made to de3888bed7.
2015-05-05 14:41:53 +02:00
Mark Charlebois 12a25e4b63 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
	src/modules/commander/module.mk
	src/modules/mavlink/mavlink_ftp.h
	src/modules/mavlink/mavlink_tests/module.mk
2015-05-04 16:36:59 -07:00
Lorenz Meier e09f5d2871 IO driver: Ensure comms protocol cannot get into integer overflow on bad control outputs. Fixes #2119. 2015-05-04 14:59:07 +02:00
Lorenz Meier 980d9bcf3e IO driver: Code style 2015-05-04 14:55:19 +02:00
Roman Bapst c3111ecadf added option for esc calibration 2015-04-28 15:15:46 +02:00
Mark Charlebois f63ab3d5e3 Merge branch 'master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
2015-04-22 10:38:46 -07:00
Andreas Antener 9c282cf6d6 added parameters to specify range and channel, caping result 2015-04-21 07:01:58 +02:00
Andreas Antener 92bdf74423 overwrite rc in rssi with value from pwm input, parameters hardcoded 2015-04-21 07:01:44 +02:00
Mark Charlebois 9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Mark Charlebois bf429188b4 Reverted: Use OS independent API for task creation/deletion
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Mark Charlebois ddb32742eb Use OS independent API for task creation/deletion
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.

The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Roman Bapst 555e96a37a fixed publication of mixer limit flags 2015-04-10 20:26:38 +02:00
Lorenz Meier f8c8876642 Merge pull request #1819 from PX4/chan16
Support 16 channels on IO via S.BUS
2015-04-07 19:04:19 +02:00
philipoe 20f6fbd864 PX4IO driver: Add mapping of AUX1-3 channels, in case these are also used as control surface inputs 2015-03-24 12:50:48 +01:00
Lorenz Meier ea5293b6fe PX4IO driver: Support 16 output channels 2015-03-15 17:39:43 +01:00
Lorenz Meier 93997acdd2 px4io driver: Clean up log / warn style 2015-02-15 19:52:02 +01:00
Lorenz Meier ccac7cbd78 PX4IO driver: better feedback 2015-02-15 19:52:01 +01:00
Lorenz Meier fac158f7e5 Board drivers: Move to 0-based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 1c6cc8a745 Remove peripheral clock changes as they interfere with current / old NuttX instance 2015-02-08 13:08:20 +01:00
Lorenz Meier 0fd11b78eb Fix PX4IO startup 2015-02-08 12:30:39 +01:00
Lorenz Meier 6eaf634c5d Improve IO driver feedback 2015-02-08 01:48:41 +01:00
Lorenz Meier d441d38677 Merged master into ros 2015-02-02 21:21:51 +01:00
Lorenz Meier 99a4724ef1 IO driver: Fix naming of safety command line argument 2015-02-01 13:14:30 +01:00
Jonathan Challinger f7d875d58d px4io: add safety_arm and safety_disarm commands
This will be used to make updating firmware on boot for vehicles with
no safety switch possible without power cycling. The startup script
needs to be able to force safety on to allow the reboot to work.
2015-02-01 13:12:21 +01:00
Thomas Gubler 84ff3c671d Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
Conflicts:
	src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Lorenz Meier 51088026c7 IO driver: move to topic groups 2015-01-29 16:33:54 +01:00
Thomas Gubler 2728889f78 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge_attctlposctl 2015-01-28 16:29:14 +01:00
Thomas Gubler 14aa5f9441 add topic header includes 2015-01-25 15:00:35 +01:00
David Sidrane 2a00948c7a Added prefix to Match Message also 2015-01-21 10:19:24 -10:00
David Sidrane e037b7ae9b Added delay to ensure the the px4io is in loop waiting for a characterit
loop.
2015-01-21 10:02:22 -10:00
David Sidrane 0943bd9a31 Added Prefix to message to identify it as PX4IO related 2015-01-21 09:54:49 -10:00
Lorenz Meier 9aa7daa86c PX4IO: Adjust stack size based on real usage of 900 bytes 2015-01-21 09:22:46 +01:00
Lorenz Meier 12ce2de7ae IO driver: Fix resource corner case (not a real leak) 2015-01-21 08:58:47 +01:00
Lorenz Meier 81082c4119 Fix CID 12453 2015-01-20 14:21:03 +01:00
Lorenz Meier 603b43b6d8 Fix CID 12574 & 12553 2015-01-20 14:16:48 +01:00
Lorenz Meier c04f870564 Fix CID 12427 & 12438 2015-01-20 14:14:23 +01:00
Lorenz Meier f1a53f5152 Fixing CID 12528 2015-01-20 14:12:25 +01:00
Lorenz Meier fc9c67f5be Fix CID 12439 2015-01-20 14:07:59 +01:00
Lorenz Meier 764f499405 Fix CID 12470 2015-01-20 14:06:12 +01:00
Lorenz Meier 6203c73ccc Perf counter fixes 2015-01-11 11:03:56 +01:00
Lorenz Meier 1bee73af22 Latency measurements: Estimate latency based on sensor timestamp through full system 2015-01-11 11:03:56 +01:00
Lorenz Meier 4712c75dea IO driver: Log the total system latency up to the IO transfer 2015-01-11 11:03:55 +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
Lorenz Meier 7b43b80c37 Merge branch 'master' of github.com:PX4/Firmware into safety 2014-11-22 14:40:41 +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