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.
8 years ago
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.
8 years ago
Lorenz Meier
be375e25d3
Update GPS driver submodule. Fixes #7173
8 years ago
David Sidrane
95fd2cd184
Create NuttX git hash and tag
8 years ago
David Sidrane
f66f024e3a
ver:Print vMM.mm.pp format
8 years ago
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
8 years ago
David Sidrane
6aadc75d18
Removed interrupt based locking on FMUv4 HW
...
The ramtron driver already calls SPI_LOCK when accessing the
FRAM.
Removed the interrupt lockout and anabled the SPI_LOCK
in the ms5611 driver on any HW where the
PX4_SPI_BUS_BARO == PX4_SPI_BUS_RAMTRON
8 years ago
Lorenz Meier
00efbc8049
ROMFS: Start EKF2 if no vehicle config is loaded
...
This allows to at least have a look at the attitude and check that the board is functional on a basic level.
8 years ago
David Sidrane
5d70f74e36
px4fmu-v4:SPI and init clean up
8 years ago
Henry Zhang
92fc82da33
MindPX: Remove MPU6500 driver, use MPU9K driver instead
8 years ago
Lorenz Meier
40eb5df8de
UAVCANCAN: Better param documentation and reboot requirements where appropriate
8 years ago
Lorenz Meier
dbf754eab1
ROMFS: If UAVCAN is enabled, reduce log buffer size
...
This is necessary to make the space for UAVCAN in memory and doing it this way avoids negatively impacting users who do not use UAVCAN.
8 years ago
David Sidrane
3ecb07f5db
px4io-v1:Sync with px4io-v1 CONFIG_USERMAIN_STACKSIZE
8 years ago
David Sidrane
f77a9bb897
px4io-v1:Limit CONFIG_USART1_TXBUFSIZE to max debug size
8 years ago
David Sidrane
0d7c290f89
px4io-v1:Reduce Number of tasks and name
8 years ago
David Sidrane
de9e63d506
px4io-v1:Refreshed defconfig (no changes)
8 years ago
David Sidrane
8cce1bd078
px4io-v2:Reduce Number of tasks and name
8 years ago
David Sidrane
3eb909823e
px4io-v2:Limit CONFIG_USART1_TXBUFSIZE to max debug size
8 years ago
David Sidrane
85973f69d7
px4io-v2:Refreshed defconfig (no changes)
8 years ago
David Sidrane
05ceeec1ba
piofirmware:Base the debug message buffer size on the defconfig
...
Recover 16 bytes. Size of debug max message is 40 so limit
the usart tx buffer to same size.
8 years ago
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.
8 years ago
Lorenz Meier
d1dd6a16f2
IO v2: disable interrupt stack
...
This avoids burning significant memory in a configuration that is not actually using parallel tasks
8 years ago
Lorenz Meier
60a022329f
IO Firmware: Use new RC lib format
8 years ago
Lorenz Meier
71731d17a9
RC C library: Use same buffer as the protocols do not decode in parallel.
8 years ago
Lorenz Meier
118b9aad19
MC pos control: Document the reference update handling function better
8 years ago
Paul Riseborough
9983bf2364
ekf2: fix errors in publishing of local position origin validity flags
8 years ago
Paul Riseborough
7c068e83d8
msg: correct definitions for local position origin validity flags
8 years ago
Lorenz Meier
b039f61762
Check code style: Be more permissive on Astyle
8 years ago
Lorenz Meier
875a35fcd5
GPS: FIncrease stack by 100 bytes
...
The app reached the check limit and needed a bit more headroom.
8 years ago
Mohammed Kabir
6a99ca70e9
camera_trigger : clarify power control comment
8 years ago
Mohammed Kabir
3ba0275952
camera_trigger : switch to queued publisher
8 years ago
Mohammed Kabir
b5ce55bab6
camera_trigger : don't advertise garbage
8 years ago
Mohammed Kabir
3ebfb0cd27
camera_trigger : optimize GCS test command handling
8 years ago
Daniel Agar
0a80ee6c20
OSX builds travis-ci -> circleci ( #7157 )
8 years ago
Daniel Agar
6ec2ff91af
README update links and cleanup
8 years ago
Daniel Agar
b3402214f9
README add state estimation label ( #7154 )
8 years ago
Daniel Agar
5228f70f44
README add MindPX contact ( #7153 )
8 years ago
ChristophTobler
6c15666368
ekf2: accept min/max range
8 years ago
Khoi Tran
1b7838c2fe
Implement Mavlink PLAY_TUNE
8 years ago
Matthias Grob
0c4719de3e
mc_pos_control: smooth takeoff, fixed gradient of the velocity ramp by takeoff speed parameter
...
because we need a workaround for the broken auto takeoff logic which can start the vehicle with a loiter setpoint
in this case the very first moment is still a jump but then it gets taken over by the fix gradient ramp
this can basically be reverted after the auto takeoff logic is fixed
8 years ago
Matthias Grob
b5820afa14
mc_pos_control: smooth takeoff, fixed ramp reset bug and takeoff speed limiting condition
...
currently when the vehicle is landed again (not after bootup) the core position controller does not run anymore
therefore the velocity limit ramp in some cases did not get reset correctly
speed limiting in auto takeoff mode only needs to be limited when the user did not take over
8 years ago
Matthias Grob
9a162a24bb
mc_pos_control: improved smooth takeoff and used it for manual takeoff as well
...
adresses:
there were setpoint twitches at the beginning and end of my smooth takeoff routine
it was to slow and not configurable
it was only available for automatic takeoff
8 years ago
Matthias Grob
75872b0713
mc_pos_control: switched auto takeoff to clean position control to takeoff point with gradual velocity limit
...
auto takeoff was pretty chaotic and bypassed the velocity controller until some magic condition
the goal of this approach is to make the behaviour and smoothness more predictable and reuse the exact same logic for manual takeoff
8 years ago
Matthias Grob
5fd6bfc18c
mc_pos_control: reorder velocity setpoint limiting, adding comments
8 years ago
Matthias Grob
f5964ec237
mc_pos_control: pure refactor, reduce one level of indentation in calculate_thrust_setpoint
8 years ago
Matthias Grob
40d058558b
mc_pos_control: pure refactor, split up core position control into velocity and thrust setpoint generation
8 years ago
Matthias Grob
fac34de11e
mixer_multirotor: switched to math::constrain ( #7073 )
...
- a local implementation was used before which is not necessary
8 years ago
Beat Küng
fc30f880c8
px4fmu_spi.c for v4: fix usage of wrong GPIO macros
...
This got introduced with the refactoring in c5e841256a
8 years ago
Daniel Agar
f04f1d6b03
sensors HIL increase gyro and accel timeout
...
- fixes #7050
8 years ago
Beat Küng
0d22e97c09
sensor_params: document PWM_RATE=0 for Oneshot125
8 years ago