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
Mark Charlebois
260bbcb64a
Nuttx: fixups after rebase on Linux
...
Seems that mavlink_receiver_linux.cpp inherited the history
from mavlink_receiver.cpp so updates went to it vs mavlink_receiver_nuttx.cpp
Two module.mk files used ifdef instead of ifeq.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
710fe76cdf
Linux: minor fixups for rebase to master
...
These changes were required after the rebase to master.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
36d17a061e
Linux: Update mavlink files to track nuttx upstream
...
Modified LInux impl to track changes to nuttx impl.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
612579c809
Removed check for isfinite as no longer needed
...
PX4_ISFINITE resolves the definition of isfinite.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
455b0dcaff
Fixed parenthesis bug
...
Clang found the following:
if (fabsf(airspeed.indicated_airspeed_m_s > 6.0f))
which is doing fsbsf( bool )
Fixed to be:
if (fabsf(airspeed.indicated_airspeed_m_s) > 6.0f)
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
94b622998a
Silence use of gnu extension gnu-array-member-paren-init
...
Added -Wno-gnu-array-member-paren-init to toolchain_native.mk
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
b7a5e4df58
Linux: Fixed px4_ioctl calls that should be ::ioctl
...
If simulate is not true, then a read I2C device is present.
The global scope ioctl should be called on _fd, not px4_ioctl.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
f44a23bc26
Check stack for commander only for NuttX
...
Turn off check of stack if not a NuttX build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
c9d4f02541
QuRT: added sched.h
...
Added the pieces required from sched.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
6ce0b7b753
QuRT: added missing make pieces
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
0d523d57af
QuRT: Added nfds_t type
...
DSPAL does not yet provide poll.h and all we need is the defintion of
nfds_t.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
5d60437164
Qurt: Added more support for the QuRT target
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
47beddc88f
Linux: Fixed hil crash with no args passed
...
The hil module did not check for argc < 2.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
1126e7ed52
Added config files for QuRT
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
e9c2e08770
Added initial QuRT support
...
Added the basic files to start building for QuRT
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
dc52bb7703
Linux: Added support for drivers/rgbled
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
89a1799e61
Linux: Changed /vdev/... back to to /dev/
...
Some virtual devices were mapped to /vdev.
Putting them back to /dev.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
d2f0572ce6
Linux: added builtins to show devices and topics
...
list_devices will list virtual devices starting with "/dev/".
list_topics will list topics ("/obj/")
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
694427e4ba
Converted commander to use px4_posix calls
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
bba26c3430
Linux: enabled commander module
...
The commander module now compiles for Linux.
state_machine_helper_linux.cpp iterates over the virtual devices vs
all devices under /dev as per NuttX when disabling publishing.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
88dc6ec1e5
Simulator: use template for Reports
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
2f5bfe0c16
Linux: quelch clang-3.5 not found warnings
...
Quelch stderr when looking for clang-3.5.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago