Daniel Agar
468fb53459
navigator fix FW loiter to alt tangent exit ( #11576 )
...
- fixes #11317
6 years ago
Gabriel Moreno
fc7c7ac206
simulator: fix to set system and component IDs as defined in params
...
The simulator had hardcoded component ID and system ID (sysID was 0), ignoring what was set up in the params MAV_SYS_ID and MAV_COMP_ID. This caused an issue with multi-vehicle simulations that that rely on sysID to identify the vehicles.
Signed-off-by: Gabriel Moreno <gabrielm@cs.cmu.edu>
6 years ago
mcsauder
9f3937e2d2
Formatted and edited a few comments in mavlink_receiver.h.
6 years ago
mcsauder
d42bb01e0c
Standardize method definition newlines in mavlink_receiver.cpp.
6 years ago
Daniel Agar
e2bf4b1894
List container improvements and testing
...
- support range based for loops
- add remove() method to remove a node
- add clear() to empty entire list and delete nodes
- add empty() helper
6 years ago
Beat Küng
2f72e93d6f
fix mixer multicopter: do not clip for max/min throttle
...
Except for the lower end with disabled airmode.
Otherwise the rate controller would disable the integrals, which can lead
to severe tracking loss in acro.
It is noticeable when flying in FPV, e.g. simply when throttling straight
up.
Relevant part in the rate controller:
https://github.com/PX4/Firmware/blob/master/src/modules/mc_att_control/mc_att_control_main.cpp#L702
6 years ago
bresch
684e2974ac
mc_pos_control_main - Re-add updateVelocityControllerIO for glitch-free position unlock
6 years ago
mcsauder
1eced05359
Rename Simulator class private methods names to match snake case of other private class methods.
6 years ago
mcsauder
b0a79996ae
Cut case MAVLINK_MSG_ID_HIL_STATE_QUATERNION content and paste into handle_message_hil_state_quaternion() method.
6 years ago
mcsauder
8b42045546
Cut case MAVLINK_MSG_ID_HIL_OPTICAL_FLOW content and paste into handle_message_hil_optical_flow() method.
6 years ago
mcsauder
24e55e4d4d
Cut case MAVLINK_MSG_ID_DISTANCE_SENSOR content and paste into handle_message_distance_sensor() method.
6 years ago
mcsauder
411db781eb
Cut case MAVLINK_MSG_ID_LANDING_TARGET content and paste into handle_message_landing_target() method.
6 years ago
TSC21
12d29fd093
navigator: mission_feasibility_checker: remove lazy comparison
6 years ago
TSC21
c9c86ae2ff
navigator: mission feasibility checker: minor cleanup
6 years ago
TSC21
9fa7f341e4
mission_feasibility_checker: takeoff: fix init of mission item
6 years ago
TSC21
8bf9ec32dc
mission_feasibility_checker: takeoff: add a different log message when there's a takeoff item but it's not the first waypoint
6 years ago
TSC21
468a002355
mission_feasibility_checker: takeoff: minor spelling mistakes fixing
6 years ago
TSC21
f6ab40d2dd
mission_feasibility_checker: takeoff: fix logic to return as valid
6 years ago
TSC21
676e1eb224
mission_feasibility_checker: takeoff: accept mission when takeoff is not the first item but the previous items are not waypoints
6 years ago
TSC21
6bb84af1db
mission_feasibility_checker: takeoff: change warning message
6 years ago
TSC21
5b151a5df7
navigator: mission feasibility checker: check for a takeoff waypoint on mission on specific conditions
6 years ago
David Sidrane
477152a96d
Commander:Support BOARD_INDICATE_ARMED_STATE for HW that supports external armed indiction
6 years ago
David Sidrane
bf8a5e9652
board_common:Add BOARD_INDICATE_ARMED_STATE
...
This adds an optional default support for HW that does not
have and external armed indiction.
6 years ago
Mark Sauder
c04147c53c
Mavlink receiver: Move most variable initializations out of the constructor to the variable declarations
6 years ago
mcsauder
ca92b8016d
Move member variable initialization out of the constructor list to variable declarations, format whitespaces/tabs in sf1xx.cpp.
6 years ago
bresch
f229444722
ManualSmoothVel - Split position lock condition and flag action
6 years ago
Matthias Grob
db0283ef21
mc_pos_control: fix altitude limitation
...
Before if you were above the maximum altitude you could not command to
go down anymore until the position controller had overshoot to under the
maximum altitude again.
6 years ago
Matthias Grob
93ef70c43d
vmount: add missing yaw wrap at the end of a ROI update
6 years ago
Matthias Grob
35409b4079
vmount: refactor ROI position update for readability
6 years ago
Mohammed Kabir
20e44aa320
Analog Device ADIS16497 IMU initial support
6 years ago
Alessandro Simovic
d5aad58c92
navigator: reset vehicle_roi on mission update
6 years ago
sfalexrog
9355324209
mavlink/MavlinkReceiver: Use hrt_absolute_time for distance_sensor timestamps
6 years ago
bresch
8f584a1496
smooth takeoff - Support smooth takeoff triggered by jerk setpoint
6 years ago
Daniel Agar
0d170a0eaf
FlightTasks VelocitySmoothing initialize member
...
- fixes Coverity CID 328485
6 years ago
Daniel Agar
7eca2769a7
FlightTasks AutoLineSmoothVel initialize member
...
- fixes Coverity CID 328492
6 years ago
Daniel Agar
b2739d946c
FlightTasks ManualPositionSmoothVel initialize member
...
- fixes Coverity CID 332544
6 years ago
Carl Olsson
447e0be250
gpssim: populate s_variance_m_s with 0.25 ( #11521 )
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
6 years ago
Daniel Agar
e4b3c8bcc6
tests enable bezier and search_min
6 years ago
Oleg Kalachev
0b4751d031
simulator_mavlink: fix DISTANCE_SENSOR.covariance field handling
6 years ago
Oleg Kalachev
fbc8d01a7e
Rename distance_sensor.covariance to variance
6 years ago
Oleg Kalachev
8ba7569852
mavlink_messages: fill DISTANCE_SENSOR.covariance correctly
6 years ago
Oleg Kalachev
ec3f1fd5c2
mavlink_receiver: fix DISTANCE_SENSOR covariance handling
6 years ago
mtm-oss
b818b07df3
mc_att_control: Failover in case of gyroscope failure ( #11516 )
...
Problem description at: http://discuss.px4.io/t/multicopter-lock-if-primary-gyro-fails/9685
6 years ago
Daniel Agar
184aa2861a
PX4_ISFINITE use builtin everywhere
6 years ago
Beat Küng
75bb3e9bac
bmi055: add support for IMU_GYRO_CUTOFF and IMU_ACCEL_CUTOFF
6 years ago
Beat Küng
ba6ef19314
bmi055: fixes for on-chip filter
...
- Accel: use cutoff of 62.5 Hz instead of 500 Hz
- Gyro: the cutoff frequency is coupled with the ODR and is fixed to 116 Hz
at 1 kHz readout rate. So this patch does not change anything for the
gyro.
6 years ago
mcsauder
6762f09490
Move variable initializations to header file that were no longer in the correct order in the constructor list.
6 years ago
mcsauder
8a6a5cc310
Deprecate #defines that are not needed, format whitespace and minor (incomplete) alphebetization of a few lists.
6 years ago
Alessandro Simovic
cb9d483cb8
navigator: removed "using" C++ directive
...
There is only one occurence of the namespace specified,
so it's more readable to simply specify the full namespace in this case.
6 years ago
Alessandro Simovic
168f1a5d51
navigator: offboard_mission -> mission
6 years ago