Commit Graph

3679 Commits

Author SHA1 Message Date
David Sidrane 69ba0b8925 px4esc-v1 bootloader uses upstream NuttX's new struct packing 2017-09-29 10:13:51 -04:00
David Sidrane 2c9a6eb727 px4cannode-v1 bootloader uses upstream NuttX's new struct packing 2017-09-29 10:13:51 -04:00
David Sidrane 364551b6f5 esc35-v1 bootloader uses upstream NuttX's new struct packing 2017-09-29 10:13:51 -04:00
David Sidrane f6e82afff8 bootloader UAVCAN uses upstream NuttX's new struct packing 2017-09-29 10:13:51 -04:00
David Sidrane 2aa8674f86 fmu Allow for using a common format 2017-09-29 10:13:51 -04:00
David Sidrane c168bd248f Use Proper ponter conversion
When PX4_CPU_UUID_BYTE_FORMAT_ORDER is not defined properly
 cast the arument for calling board_get_uuid_raw
2017-09-29 10:13:51 -04:00
David Sidrane fcb57afd3d Add Kinetis impelmantation Skeleton for board common SoC version api 2017-09-29 10:13:51 -04:00
David Sidrane da178e8693 Adding Kinetis board common identitiy api 2017-09-29 10:13:51 -04:00
David Sidrane b2b6509ee0 Use micro hal fir px4_savepanic
To keep board_crashdump.c as common code we create a
  wrapper around the arch depandant call to
  stm32_bbsram_savepanic.
2017-09-29 10:13:51 -04:00
David Sidrane e93a5002a1 Updated Micro HAL for kinetis
Added px4_ abstraction macros
 Removed stm32.h reference
2017-09-29 10:13:51 -04:00
David Sidrane c1812af45e Inital commit of NXPhlite-v1 2017-09-29 10:13:51 -04:00
Daniel Agar 3c18be387c ROI - move handling to navigator (#7939) 2017-09-26 12:25:02 -04:00
James Goppert e72769c924 Imu filter (#7606)
* Add adjustable driver level cutoff freq for accel/gyro.

* Fix copy and paste error.

* Updated print_info.

* imu filter minor cleanup
2017-09-25 13:55:56 -04:00
Lorenz Meier a945cd9fc2 Sensors: Clean up boot output (#8005)
Various sensors had too verbose or confusing boot output that would make the boot log hard to read. This patch ensures all output is consistently indicating if there is a real error or an optional sensor just not present. It also removed redundant error messages and adds an indication on which bus the sensor was probed.
2017-09-25 11:19:11 -04:00
Daniel Agar 0da2dca8c1 drivers remove device _debug_enabled 2017-09-25 10:30:22 -04:00
ChristophTobler c315aa659e ulanding: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler 018aa8e535 srf02: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler d5ddc2b489 srf02_i2c: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler 4ed78595e7 sf1xx: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler 4f683db732 sf0x: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler 0fcc54f95f mb12xx: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler 21f97cfce6 LidarLite: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
ChristophTobler 286d8f2bff teraranger: add possibility to specify orientation and adapt to new defaults 2017-09-25 08:52:21 +02:00
ChristophTobler a4d37f7120 PX4Flow: add possibility to specify sonar orientation and adapt to new defaults 2017-09-25 08:52:21 +02:00
Daniel Agar b4755297ec delete control_state and cleanup vehicle_attitude (#7882) 2017-09-21 16:24:53 -04:00
Henry Zhang 4778c79201 commander: removed CONFIG_ARCH_BOARD_xxx usage 2017-09-20 18:40:55 -10:00
Daniel Agar 4e6ca271e7 more px4fmu-v1 cleanup (#7981) 2017-09-20 00:04:23 -04:00
Daniel Agar 26f00609ac multirotor_motor_limits only publish for MC 2017-09-19 02:25:30 +01:00
Daniel Agar 9cacd3f994 BMP280 fix /dev/baroX unregister 2017-09-18 12:01:59 -07:00
Daniel Agar fb5cb87e9b enable -Wlogical-op and fix bmi160 2017-09-16 21:29:52 +01:00
Daniel Agar 58268c832c drivers remove extra semicolons 2017-09-16 21:29:52 +01:00
Daniel Agar 79869c848f drivers fix missing field initializers 2017-09-16 21:29:52 +01:00
Daniel Agar 35e15ed540 cmake add -Wmissing-field-initializers and a few others 2017-09-16 21:29:52 +01:00
Daniel Agar a766cb6722 px4io remove unused printf arg (#7974) 2017-09-16 14:50:59 -04:00
Julian Oes 98de8c85a4 vmount: accept mavlink input from [0..360] degrees
This enables mavlink user input not only in the range of [-180..180]
degrees but also [0..360] degrees.
2017-09-15 14:41:07 +02:00
Mateusz Sadowski 8ba6c209d4 drivers: fix codestyle for teraranger driver
Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Mateusz Sadowski e439070f25 drivers: refactor trone driver to work with Evo
This commit changes old trone driver into a generic
TeraRanger driver that supports both TeraRanger One
and TeraRanger Evo.

As a part of the change a new parameter was created
SENS_EN_TRANGER that allows to specify the following
modes of operation:

0 - sensors disabled
1 - autodetect sensors
2 - use TeraRanger One rangefinder
3 - use TeraRanger Evo rangefinder

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Mateusz Sadowski d5f8a300df Revert "drivers: add support for TeraRanger Evo"
This reverts commit d1da112334a875d83abbd04c50fd3bed3b069886.
2017-09-15 12:07:16 +01:00
Mateusz Sadowski ee72931190 drivers: add support for TeraRanger Evo
This commit adds i2c support for TeraRanger Evo sensor
by Terabee

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00
Karl Schwabe 6d1aa4cad2 Bugfix: corrects the ARR calculation for the LED PWM timer
The calculation of the ARR on the LED PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
2017-09-14 04:10:41 -10:00
Karl Schwabe 38a4c1e90b Bugfix: corrects the ARR calculation for the PWM timer
The calculation of the ARR on the PWM timer did not subtract 1
from the timer period calculation to get the ARR value.
2017-09-13 08:25:06 -10:00
Daniel Agar f26933fc55 delete unused RC_DSM_BIND param 2017-09-13 05:30:14 -07:00
Karl Schwabe 47d7465476 Bugfix: corrects orientation of magnetometer raw values
The magnetomer raw values were not being rotated in the same direction as
the scaled values. This meant that if the rotation was set to ROTATION_NONE,
the raw values and scaled values were off by 180 degrees.
2017-09-11 10:24:35 -07:00
David Sidrane ca9e323b13 ardrone_interface:Removed ardrone_interface from PX4 only used PX4v1
Removed that driver was only referenced from the now depricated
  px4fmuv-1
2017-09-10 13:37:23 -04:00
David Sidrane e07cb71a11 px4io:Removed FMUv1 hardware dependancies
Removed conditional compilation for FMUv1 and defaulted to
   FMUv2.
2017-09-10 13:37:23 -04:00
David Sidrane acb51aeda3 rgbled:Updated comment, removing reference to PX4FMUv1
Comment expressly referenced PX4FMUv1, but the EEPROM,
  could be used on any board.
2017-09-10 13:37:23 -04:00
David Sidrane f5e9ae6682 px4fmu:Removed FMUv1 only modes 2017-09-10 13:37:23 -04:00
David Sidrane 60ac35b0ac pwm_out_sim:Removed FMUv1 only modes 2017-09-10 13:37:23 -04:00
David Sidrane 99bce71003 board_common:px4io-v1:Removed px4io-v1 board from PX4
Only provide paths to px4io-v2 bin files.
2017-09-10 13:37:23 -04:00
David Sidrane 7123777e0e px4io-v1:Removed px4io-v1 board from PX4 2017-09-10 13:37:23 -04:00