Nicolae Rosia
a55f97503e
navio_adc: fix formatting
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-05-14 17:51:02 +02:00
Nicolae Rosia
32498009a3
navio_adc: add driver for Navio2 ADC
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com >
2017-05-14 17:51:02 +02:00
Lorenz Meier
55697e08e2
GPS driver: Add more stack to suit data definition increases
2017-05-13 11:44:49 +02:00
Mohammed Kabir
c623e64f96
camera_trigger : remove relocated feedback parameter
2017-05-12 22:11:17 +02:00
Mohammed Kabir
6a38118c73
camera_trigger : reset distance counters to ensure consistent triggering after pausing/disabling
2017-05-12 22:11:17 +02:00
Mohammed Kabir
0b93568aa3
camera_trigger : add transitional support for QGC
2017-05-12 22:11:17 +02:00
Mohammed Kabir
97ceaf404c
camera_trigger : remove debugging
2017-05-12 22:11:17 +02:00
Mohammed Kabir
b665737aca
camera_trigger : do not log test shots from GCS
2017-05-12 22:11:17 +02:00
Mohammed Kabir
2e92a3946d
camera_trigger : completely refactor state handling
2017-05-12 22:11:17 +02:00
David Sidrane
e86d9adb93
px4fmu-v4:Implement board_on_reset API
...
Added board_on_reset, to force timer GPIO to output low on reset
This will stop the motors.
2017-05-03 08:33:05 +02:00
David Sidrane
e967c2b340
board_common:Added new API point board_on_reset
...
This optionally provided function called on entry to
board_system_reset. It should perform any house keeping
prior to retunring to do the rest.
2017-05-03 08:33:05 +02:00
David Sidrane
33f2897f00
px4fmu-v4:Configure timer IO pins with pull downs
...
When the CCER is cleared the IO pin tends to float. The FMUV4
HW has no TXS0108 and if cut off while high will decay.
By adding the pull down the pins will seek the low state faster.
13.8 us from off to decabe below threshold.
2017-05-03 08:33:05 +02:00
Lorenz Meier
be375e25d3
Update GPS driver submodule. Fixes #7173
2017-05-03 08:30:29 +02:00
David Sidrane
bf570dee2f
Added use of SPI_LOCK in the ms5611 driver on any HW where the
...
PX4_SPI_BUS_BARO == PX4_SPI_BUS_RAMTRON
2017-05-03 08:17:12 +02:00
David Sidrane
5d70f74e36
px4fmu-v4:SPI and init clean up
2017-05-02 11:55:11 +02:00
Henry Zhang
92fc82da33
MindPX: Remove MPU6500 driver, use MPU9K driver instead
2017-05-02 11:52:12 +02:00
David Sidrane
f7835a8677
io_timer driver:Only support capture if DIRECT_INPUT_TIMER_CHANNELS > 0
...
This removes the unused input capture capabilities from the px4io
and saves 128 bytes of ram.
2017-05-02 07:40:50 +02:00
Lorenz Meier
875a35fcd5
GPS: FIncrease stack by 100 bytes
...
The app reached the check limit and needed a bit more headroom.
2017-04-30 12:03:14 +02:00
Mohammed Kabir
6a99ca70e9
camera_trigger : clarify power control comment
2017-04-30 12:00:06 +02:00
Mohammed Kabir
3ba0275952
camera_trigger : switch to queued publisher
2017-04-30 12:00:06 +02:00
Mohammed Kabir
b5ce55bab6
camera_trigger : don't advertise garbage
2017-04-30 12:00:06 +02:00
Mohammed Kabir
3ebfb0cd27
camera_trigger : optimize GCS test command handling
2017-04-30 12:00:06 +02:00
Beat Küng
fc30f880c8
px4fmu_spi.c for v4: fix usage of wrong GPIO macros
...
This got introduced with the refactoring in c5e841256a
2017-04-26 13:56:59 +02:00
Beat Küng
44a507fcfe
camera_interface: initialize _p_pin & handle error
2017-04-24 16:49:26 +02:00
Beat Küng
f42a626527
vmount: fix null-pointer access if invalid output mode was selected
...
In case of an invalid output mode, thread_data.output_obj was null.
2017-04-24 16:49:26 +02:00
Lorenz Meier
6d21aac4a9
BMM150 driver: Be less strict on C++ options
2017-04-24 10:38:39 +02:00
Lorenz Meier
e054d1fff7
FMUv5: Start BMI055 in correct rotation
2017-04-24 10:38:39 +02:00
Lorenz Meier
145513ff28
BMI055: Correct boot instructions, better default to 16g
2017-04-24 10:38:39 +02:00
Lorenz Meier
3affe67c96
Enable BMI055 for FMUv5 and improve console handling
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
641a03510c
changes on drivers according to comments from DavidS
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
da31e6e0b5
bmm150 max datarate changed
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
5923e66cf3
bmp285 support added
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
c3711efd27
initial commit of bmm150
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
c5e841256a
changes added for SPI CS defines as requested for BMI055 driver integration (e.g. GPIO_SPI1_CS_PORTE_PIN15 for bmi055 gyro) to avoid double declaration of same chip select pin
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
7dcdc57412
Update px4fmu_spi.c
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
e55516c4b7
Update bmi055_main.cpp
...
format check
2017-04-24 10:38:39 +02:00
Sergej Scheiermann
cfed8ee2dd
bmi055 initial integration
2017-04-24 10:38:39 +02:00
Lorenz Meier
f7469581b9
VMount: Fix interface spec with respect to MAVLink / vehicle command interface
2017-04-23 15:19:41 +02:00
Phillip Khandeliants
5012dffeae
Potentially infinite and deleted loops found by PVS-Studio ( #7100 )
...
- Fixed V712
- The compiler can optimize this code by creating an infinite loop, or simply deleting it.
- There is need to add a volatile qualifier to the '_ExitFlag' and 'sim_delay' variables.
2017-04-21 11:13:06 -04:00
David Sidrane
2a8eaa66ca
Revist:Back out fix for secondary issue
...
Ultimate we want this changes that is being backed out herein.
But it is breaking things because it returns the EINVAL
when there is a rate overlap. So the rest of the pwm ioctl
calls then fail and do not set the pulse widths on arming.
As a secondary issue. We sould call up_pwm_servo_init() to
establish the PWM channel allocation early. This then allows
FMU::set_pwm_rate to properly check for improper rate request
not isolate to one group (timer).
2017-04-21 08:32:33 +02:00
David Sidrane
7322da3c19
fmu:Fixes cause of 0 values reported in pwm info
...
The root cause was the replacment of a local variable num_outputs
with the class member _num_outputs.
The effect of a "bad mix" is to return 0 - this clampped the
_num_outputs to 0.
Prior to commit 3b3e2b2 px4fmu: "consolidate usage of output mode"
this would not have been an issue because the local num_outputs
was reset every cycle"
As a secondary issue. We sould call up_pwm_servo_init() to
establish the PWM channel allocation early. This then allows
FMU::set_pwm_rate to properly check for improper rate request
not isolate to one group (timer).
2017-04-21 08:32:33 +02:00
David Sidrane
b885fd97f6
oneshot:trigger exit early in no chan in oneshot
2017-04-21 08:32:33 +02:00
Andrew C. Smith
d21b6655d2
Add the Gumstix AeroCore2 to the build system.
2017-04-20 12:24:27 -10:00
Beat Küng
643a3ba2a7
board_config: clean up board_config.h on POSIX targets
2017-04-20 10:01:51 +02:00
Beat Küng
e129969ea2
tap_pwr: fix definition of board_shutdown()
2017-04-20 10:01:51 +02:00
Beat Küng
0165633bf3
board_config: remove px4_board_pwr, use px4_shutdown_request instead
...
px4_board_pwr has become obsolete with the addition of board_shutdown
2017-04-20 10:01:51 +02:00
Beat Küng
25dfa9cda6
posix board_config.h: add include board_common.h
...
To get the new API definitions
2017-04-20 10:01:51 +02:00
David Sidrane
211837c73b
tap:Use board power button notification API
...
This adds the board power button notification registration
and shutdown API points.
2017-04-20 10:01:51 +02:00
David Sidrane
109db75881
Added board power button notification API
...
Defined types and interface to support a notification call back
on power button events.
2017-04-20 10:01:51 +02:00
Julian Oes
349a468f81
vmount: add to startup script, disable by default
...
vmount is now added to the startup script, however, it will only start
if the param MNT_MODE_IN is set to anything but -1.
2017-04-19 16:59:48 +02:00