Mark Charlebois
071c4c1a9e
Updated module.mk for changed file names
...
sensors_x.c were consolidated to sensors.c
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
8737d77947
QuRT and POSIX changes - part 2
...
Second staged group of changes for QuRT and related POSIX changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
3336fce1f4
QuRT and POSIX changes
...
Partial commit of the changes for QuRT and related changes for POSIX
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Pavel Kirienko
3f961bf3c6
UAVCAN driver silently ignores repeated start commands without error. This allows to avoid error messages when UAVCAN driver is started from extras script before default initialization sequence is executed.
10 years ago
tumbili
b7b9863595
corrected PWM_OUT for firefly6 configuration
10 years ago
Lorenz Meier
d5a9dffd43
Startup script: Add OSD support
10 years ago
Mark Charlebois
a4c33f5173
QuRT: removed calls to sleep
...
A stub for hrt_sleep was removed. Will add back when DSPAL supports
sleep.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
e764c68d0a
mavlink: consolidated nuttx and posix changes
...
Removed nuttx and posix specific files for mavlink_ftp and mavlink_receiver.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
d63d2f7a61
Posix: removed obsolete file mavlink_main_posix.h
...
The changes for __PX4_POSIX are in mavlink_main.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
f63ab3d5e3
Merge branch 'master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Conflicts:
makefiles/firmware.mk
10 years ago
Mark Charlebois
8e500f543e
Combined nuttx and posix mavlink_main headers
...
Removed the separate implementations of mavlink_main_X.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
6a439f7ddc
QuRT: Hello world app for QuRT
...
DSPAL for QuRT is still missing the pthreads exports and there is no
exported sleep function. These functions are stubbed out for the time being.
This is based on the 6.4.05 version of the Hexagon tools.
The Hexagon tools and DSPAL are needed to build the qurt target.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
c77448747e
Merge branch 'linux' of http://github.com/mcharleb/Firmware into linux
10 years ago
Mark Charlebois
9ec7020e02
Make a local function static
...
platforms/posix/main.cpp had a local function that wasn't static.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
7aac0e94db
Posix: disable stack size check
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Roman Bapst
67956341e6
FireFly6: make landing gear manual pass-through
10 years ago
Roman Bapst
5b772e5720
update vehicle status before doing preflight checks
10 years ago
Lorenz Meier
5e584c2942
commander: Better low battery failure feedback
10 years ago
Mark Charlebois
93dea668dc
Posix: make simulated devices always pass self tests
...
To facilitate testing, the simulated devices always return OK for
self tests.
rc.S was also upated to set CAL_XXXY_ID to the devid so tests pass the
calibration check.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
36a9f7a818
Posix: fixed calls to open that should be px4_open
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
02aaa403f1
Posix: removed PX4_DEVIOC* definitions
...
The following should not have been defined:
PX4_DIOC_GETPRIV
PX4_DEVIOCSPUBBLOCK
PX4_DEVIOCGPUBBLOCK
PX4_DEVIOCGDEVICEID
The actual defines are in drv_device.h and are:
DEVIOCSPUBBLOCK
DEVIOCGPUBBLOCK
DEVIOCGDEVICEID
DIOC_GETPRIV is defined by Nuttx, so mapped to SIOCDEVPRIVATE for POSIX
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
da29004a26
Sync state_machine_helper_posix to state_machine_helper
...
state_machine_helper_posix.cpp was out of sync with
state_machine_helper_posix.cpp.
Added debug to detect when sensors is started before uorb.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
3f7d4de74a
Posix: fixed ioctl calls to be px4_ioctl
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
19162ba5be
Posix: Changed PreflightCheck to read Vdev
...
PreflightCheck was failing because it was trying to read actual
devices instad of virtual devices.
ADCSIM had a LINUXTEST ifdef that was removed.
posix_run.sh was using the wrong path
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
b3e74175bc
Merge pull request #2066 from DonLakeFlyer/Meta2
...
MetaData work
10 years ago
Don Gagne
a885c2c8c9
Parameter meta data is not typed to board
10 years ago
Don Gagne
08123df83a
Remove PX4_PARAM_DEFINE_* usage to get better meta data
10 years ago
Don Gagne
638be07c2c
Use new @board attribute for ifdef's
10 years ago
Don Gagne
6bf0a2618b
Add support for board attribute to parse output
...
This allows for writing parameter meta data which is specific to a
board type
10 years ago
Lorenz Meier
39f6e13c18
Merge pull request #2061 from PX4/rssi_cleanup
...
IO RSSI handling: Fix RSSI for all protocols.
10 years ago
Mark Charlebois
f3b5076d70
Linux to posix conversion
...
Changed "linux" target to "posix". Most of the changes are shared with
QuRT and with OSX. The Linux specific parts are in for i2c which uses
<linux/i2c.h> and <linux/i2c-dev.h>.
There is also a check for __PX4_LINUX in mavlink for a tty ioctl that is
not supported.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
09ae879b82
RC input: Replace magic numbers with better numbers, cap output to 0-100
10 years ago
Lorenz Meier
d544ac0955
Sumd: Better magic number for RSSI
10 years ago
Lorenz Meier
a0ad5ec42b
Merge pull request #2062 from PX4/firefly
...
Firefly6
10 years ago
Roman Bapst
5e044e5b67
completed auxiliary mixer file for firefly6
10 years ago
Roman Bapst
15f11ae1e2
add control output for tilting rotors
10 years ago
Roman Bapst
05847fd4c7
improve serial output during loading of mixers
10 years ago
Roman Bapst
8f762b5767
more specifications in firefly6 config file
10 years ago
Lorenz Meier
4440c6383c
IO RSSI handling: Make 0-RSSI value consistent for all input sources
10 years ago
Lorenz Meier
027919302d
IO RSSI handling: Fix RSSI for all protocols.
10 years ago
Lorenz Meier
40faa98416
Linux: Fix unit tests
10 years ago
Lorenz Meier
31818b30b6
Linux: Ignore generated messages
10 years ago
Andreas Antener
9c282cf6d6
added parameters to specify range and channel, caping result
10 years ago
Andreas Antener
92bdf74423
overwrite rc in rssi with value from pwm input, parameters hardcoded
10 years ago
Lorenz Meier
8279de5a0b
MAVLink app: Cleanup RC channel messages / handling
10 years ago
Lorenz Meier
5a8eca75bf
Commander: Fix RTL mode switch logic
10 years ago
Thomas Gubler
7e1a21a39e
update return switch documentation
10 years ago
Lorenz Meier
b9d17241a3
RTL mode switching: Allow to flick to RTL in any mode.
10 years ago
Mark Charlebois
0b649204b0
Make nuttx the default PX4_TARGET_OS
...
This should make the CI builder happy again.
Also fixed another itdef that should have been ifeq
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
4749974d5c
Made nuttx the default PX4_TARGET_OS
...
The CI builder should work when nuttx is set to be the default
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago