Lorenz Meier
2a8402edb1
Merged beta into master
2015-07-09 15:55:31 +02:00
Lorenz Meier
8bb9707f3f
FMU: Allow to pre-arm the non-throttle channels with the safety switch
2015-07-06 12:08:31 +02:00
Lorenz Meier
234990fbe4
Merge branch 'release_v1.0.0' of github.com:PX4/Firmware
2015-07-02 01:00:06 +02:00
Lorenz Meier
1b4405ee3a
FMU driver: Set throttle to zero if in PWM ramp mode
2015-06-30 09:51:19 +02:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Lorenz Meier
54fde63d66
FMU driver: Code style fix
2015-05-25 17:31:37 +02:00
Lorenz Meier
e3d7f0042a
FMU params: better documentation
2015-05-25 16:42:47 +02:00
Lorenz Meier
2dd94b7f0f
FMU driver: auto param update
2015-05-25 16:42:47 +02:00
Lorenz Meier
129aa35fcd
FMU driver: Load channel reverse mask from parameters
2015-05-25 16:42:47 +02:00
Lorenz Meier
3b3e98ed19
Rename FMU params
2015-05-25 16:42:46 +02:00
Lorenz Meier
e4a5ceb429
FMU driver: Support pwm reversal, prepare config parameters
2015-05-25 16:42:46 +02: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
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
4e1905c1d8
FMU: Fix peripheral reset
2015-02-28 14:32:11 +01:00
Lorenz Meier
dfdf741b13
FMU: Make peripheral rail power controllable
2015-02-28 11:22:19 +01:00
Andrew Tridgell
9a875c53af
px4fmu: added "mode_pwm4" startup mode
...
this is the default mode ArduPilot uses, and by setting it in the init
script we avoid any pin activity on the two GPIO pins during boot
2015-02-23 19:52:57 +01:00
Lorenz Meier
3ff49778a8
FMU driver: Report class instance registration fail
2015-02-15 21:40:08 +01:00
Ban Siesta
1d19166d18
fmu: some arguments were missing in the usage/help
2015-02-15 16:27:57 +01:00
Lorenz Meier
c0d246e8e4
CDEV::I2C: Enforce one speed per bus
2015-02-13 09:12:38 +01:00
Lorenz Meier
fac158f7e5
Board drivers: Move to 0-based index
2015-02-09 22:56:22 +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
678d5c24fb
FMU driver: Move to topic groups
2015-01-29 16:33:54 +01:00
Thomas Gubler
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +01:00
Thomas Gubler
14aa5f9441
add topic header includes
2015-01-25 15:00:35 +01:00
Lorenz Meier
6300338d2a
FMU driver: Fix resource leak for test routine.
2015-01-21 08:58:47 +01:00
Lorenz Meier
5aa75c8f00
Fixed coverity CID #12543
2015-01-19 13:52:39 +01:00
Lorenz Meier
648cb78268
FMU driver: Show up as secondary interface to allow mixer loads.
2015-01-06 19:51:04 +01:00
Lorenz Meier
f7f5406243
FMU driver: optimize for size
2014-11-15 13:51:49 +01: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
Holger Steinhaus
87b2375be4
Ignore single channels during PWM output
2014-08-26 14:38:32 +02:00
Lorenz Meier
85ccecea9c
FMU driver: stricter init
2014-07-16 09:05:15 +02:00
Lorenz Meier
a2f528c5ba
Merged master
2014-07-12 16:11:43 +02:00
Andrew Tridgell
37b4cdfce2
board_serial: use a uint8_t buffer
...
we should not be using 'char' for binary APIs, as the C standard does
not specify if it is signed or unsigned, so results may not be
consistent
2014-07-08 11:39:40 +02:00
Lorenz Meier
3b44807887
Reduce excessive FMU stack usage
2014-07-08 09:15:47 +02:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Don Gagne
d5b5dcef24
Fix bugs found through compiler warnings
2014-06-29 12:01:43 -07:00
Lorenz Meier
542cc7d7fb
fmu: Rely on pwm_limit() call for band limits, do constrain instead of altering the direction / value
2014-05-23 20:23:05 +02:00
Lorenz Meier
97e6090700
Merge pull request #937 from gumstix/aerocore
...
Aerocore
2014-05-15 01:31:24 -07:00
Lorenz Meier
b216cc3cac
px4fmu: Give the FMU driver only the stack for init it needs
2014-05-14 21:31:29 +02:00
Ash Charles
2d29c5bd72
[aerocore] Remove commented code for GPIO2
...
GPIO2 is currently used for the tone alarm, not an arbitrary GPIO.
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-13 14:06:59 -07:00
Ash Charles
e5508a1aa0
Add Gumstix AeroCore device
...
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.
[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/
Signed-off-by: Ash Charles <ashcharles@gmail.com >
2014-05-13 09:41:41 -07:00
Lorenz Meier
df7d595999
Remove noreturn attribute from all drivers that actually can return
2014-05-09 09:19:44 +02:00
Lorenz Meier
45be38c333
Removing an unwanted usleep on poll errors
2014-05-08 14:24:10 +02:00
Lorenz Meier
ab2a85a153
Merge pull request #782 from PX4/fmu_mixer
...
px4fmu: support all actuator control groups
2014-05-07 04:17:27 -07:00
Andrew Tridgell
ab1939c6a3
pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
...
this allows the safety switch on px4io to be forced off
2014-04-28 11:45:45 +02:00
Anton Babushkin
db37d3a495
fmu driver: bugs fixed
2014-04-07 13:36:55 +04:00