bresch
581d25f77f
Auto mode traj - limit yaw setpoint rate of change when generated in the flight task instead of clamping the yaw rate in the controller
...
Move yaw setpoint slew rate from AutoLineSmoothVel to Auto. The slew rate is now applied consistently to all the auto FlightTasks
6 years ago
mcsauder
e6b427022a
Add missing underscore prefix to a member variable in mavlink_main.cpp.h and delete unnecessary struct specifiers in mavlink_main.h.
6 years ago
mcsauder
73fb30f251
Migrate an additional set of 16 variable initilializations from the Mavlink class constructor list to their respective declarations.
6 years ago
bresch
903deb7579
RTL - Skip descend state if no delay is set between descend and land
6 years ago
Alexis Paques
5763787840
Adding narg to allow empty arguments
6 years ago
misswhile
37fe090225
fix bmp280 driver init faild.
6 years ago
Julian Oes
c95394f57f
navigator: fix uninitalized param values
...
By declaring the params above the navigator modes inheriting from
mission block we make sure the params in navigator are set before
read in the constructor of mission block.
6 years ago
Julian Oes
90ee26dd2d
mavlink_mission: properly initialize padding
...
This prevents uninitialized padding from being written to dataman.
6 years ago
Julian Oes
4c56994d7a
mavlink_system: set update_counter for safe points
...
This variable was not set and lead to uninitialized memory being written
to dataman.
6 years ago
Julian Oes
bf32ff32f8
dataman: make _file_write more readable
...
This should not be any functional change. The only difference are the
variable scopes, and early return versus nested ifs.
6 years ago
Julian Kent
dc3341db59
Fix uninitialized memory found using Valgrind
6 years ago
Julian Oes
a9c3bce20d
px_uploader.py: fix version check
...
Presumably older versions of pyserial do not implement __version__ but
only VERSION, so we need to check for that as well.
6 years ago
Roman
42d0522cdd
FixedWingAttitudeControl: removed check for negative airspeed and slew rate
...
on airspeed scaling
Signed-off-by: Roman <bapstroman@gmail.com>
6 years ago
Daniel Agar
36aeb9defc
WIP: FW attitude control limit airspeed scaling changes per iteration
6 years ago
Martina Rivizzigno
eba0bb389a
ObstacleAvoidance: fix comment, update failsafe position if one axis is NAN
6 years ago
Martina Rivizzigno
e037edd2cc
ObstacleAvoidance: once the commadand loiter has been sent, keep using
...
the first position when the oa fails as setpoint to avoid jumps
6 years ago
Paul Riseborough
0f346af226
ekf2: Improve parameter description
...
Inhibiting bias estimation using the EKF2_AID_MASK parameter only applies to the delta velocity bias states.
6 years ago
Daniel Agar
d8a1a79f69
Mavlink: SYS_STATUS trivial style check fix
6 years ago
jdzerve
2e9d0f0751
Mavlink: Get full sensor status even if only subset has changed when composing SYS_STATUS message ( #11886 )
6 years ago
Arkadiusz Niemiec
c50c44cc58
Add a boolean to cleanly exit sender thread
6 years ago
Julian Oes
c78aaeb0f7
ak09916: fail if device is not found
...
This should fix the case where the driver initializes even though the
device is not found. The change changes the behavior to return ERROR
if the whoami call fails several times instead of returning OK.
Also, the reset() and thus probe() calls are moved before initializing
the ringbuffer and device name.
6 years ago
liubaoxu
db37cd8c71
BMP280:fix definition misspelling
...
from BPM280 to BMP280
6 years ago
David Sidrane
2b68076663
Update Nuttx with F7 i2C fixes
6 years ago
baumanta
c0a1f5b72f
Collision prevention improvements ( #11866 )
...
* match max vel in col-prev to regular pos ctrl
* change warning criterium to avoid float error
* disable push back from obstacles
* use floats consistently
6 years ago
Roman
463b8a7528
vtol_att_control: respect min pwm values
...
Signed-off-by: Roman <bapstroman@gmail.com>
6 years ago
Dennis Millard
70681f990f
BMI055 IMU driver fix temperature reporting
6 years ago
sfuhrer
3d36dbfba3
added babyshark VTOL config file and mixer
6 years ago
Mark Sauder
74bc6870ed
simulator: uorb and initialization cleanup ( #11825 )
...
* Cherry pick the vehicle_imu PR #9756 src/modules/simulator directory work to submit as standalone PR.
* Modify the accelsim init method mag_report usage to match usage in measure() and mag_measure() methods in the class.
* Incorporate review comments in the accelsim.cpp init() method and also make the same modifications in gyrosim.cpp.
* Delete unneeded mag_report initialization from accelsim init() method.
* Deprecate unneeded measure() call from accelsim.cpp init() and gyrosim.cpp init().
6 years ago
Gabriel Moreno
f9324fb76a
mavlink: set correct distance_sensor timestamp. Fixes #11840
...
When PX4FLOW is connected to PX4 through MAVLink (e.g., through a USB
port), the timestamp assigned to the distance_sensor was wrong. This fix
uses the same timestamp assigned to the optical_flow message created from
the same OPTICAL_FLOW_RAD MAVLink message.
Signed-off-by: Gabriel Moreno <gabrielm@cs.cmu.edu>
6 years ago
bresch
93d52581ef
Auto - Fix cruise speed. Tested with and without SDK. Before that commit, the drone files at max speed instead of cruise speed if not precised by the SDK
6 years ago
Beat Küng
226f3c0999
rc.board_sensors: probe for external qmc5883
6 years ago
Daniel Agar
d36b06f779
fw_pos_control_l1: FW_LND_EARLYCFG disable by default
...
- change to boolean param
6 years ago
Daniel Agar
6d30b13afa
update Tools/setup/ dev environment setup scripts
...
- Ubuntu install NuttX toolchain, gazebo, and switch to python3
- OSX switch to python3
6 years ago
Julian Oes
e88f1b33b2
FlightTasks: fix mission DO_CHANGE_SPEED
...
This fixes the issue where the DO_CHANGE_SPEED command was ignored and
the drone always travelled at the MPC_XY_CRUISE velocity.
6 years ago
Matthias Grob
1454694bdd
FlightTaskAuto: separate default speed and limit
...
It wasn't possible to fly faster than cruise speed even if planned
in the mission.
Limiting the planned cruise speed is necessary because
the smoothed trajectory mission plans to the _mc_cruise_speed and
if that's higher than the maximum it gets capped for safety by the
position controller and the result is a jerky flight.
6 years ago
Beat Küng
3135f9f0d2
sih: avoid static variable + style fixes
6 years ago
romain
65f623bd73
acceleration added when hitting the ground
6 years ago
romain
7be1cc389e
removed arguments from constructor
6 years ago
Beat Küng
744b50b478
send MAVLink GROUND_TRUTH at 25 Hz, only in SIH mode. And minor cleanup
6 years ago
romain
9adb4410bd
newline added at the end of files
6 years ago
romain
8b6480c1cf
sih.msg removed, serial port communication removed
6 years ago
romain
e8c5d85525
sih param names cleanup
6 years ago
Beat Küng
f542736140
'simulation' category added in srcparser.py
6 years ago
romain
e1d9438f79
sih: remove SYS_SIH parameter and extend SYS_HITL
6 years ago
romain
a9660d9da0
white noise generator updated
6 years ago
romain
cdd7e95a92
added a call to px4_sem_destroy()
6 years ago
romain
6ff228c2ff
sih module implemented with hrt_call_every and semaphore_wait
6 years ago
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
6 years ago
romain
c09e9ec97f
simulator in hardware, new module added that allows to run a simulator in the hardware autopilot, for more documentation visit https://github.com/romain-chiap/PX4_SIH_QuadX
6 years ago
Daniel Agar
4fe9ac9993
vscode add uavcan.dsdl to recommended extensions
...
- this extension adds support for Data Structure Description Language (DSDL)
6 years ago