Dennis Mannhart
386b70dc58
ControlMath: add derivation and simplify computation
7 years ago
Dennis Mannhart
99de97a528
FlightTaskAuto: fix global reference update
7 years ago
Dennis Mannhart
b7f729e432
FlightTask: split _evalutateVehiclePosition into _evaluateVehicleLocalPosition
...
and _evaluateVehicleGlobalPosition
7 years ago
Dennis Mannhart
913932ff9e
FlightTask: move geo-lib include to FlightTaskAuto where it is required
...
for conversion from global to local
7 years ago
Dennis Mannhart
10bd3a50ba
PositionControl: parameter subscription declaration
7 years ago
Dennis Mannhart
b20bd076a0
FlightTaskAuto: always update type
7 years ago
Dennis Mannhart
7f68417d19
PositionControl: make distinction for throttle minimum depending on mode
7 years ago
Dennis Mannhart
59087afac8
FlightTaskManualStabilized: replace minimum throttle with minum throttle specific for stabilized
7 years ago
Dennis Mannhart
65603d7de7
FlightTaskAutoLine: don't reset during normal operation
7 years ago
Dennis Mannhart
26ca17e329
comment fix
7 years ago
Dennis Mannhart
08a89ccdbb
FlightTaskAutoLine: if previous type was idle, set thrust to NAN again to ensure
...
thrust is not used. Also, if previous was not a loiter or position type, then reset
setpoints to current state. This is needed because during line following, the
previous setpoints are requires and cannot be NAN.
7 years ago
Dennis Mannhart
5f293cceac
FlightTaskAutoLine: first activate and then reset
7 years ago
Dennis Mannhart
6da47b4a85
FlightTaskAutoLine: move method
7 years ago
Dennis Mannhart
3d034823b0
FlightTaskAutoLine: introduce previous type which used to reset setpoints
7 years ago
Dennis Mannhart
a401778038
FlightTask: remove global to local map
7 years ago
Dennis Mannhart
0efbbdc227
FlightTaskAutoLine: replace xy/z setpoints with FlightTask base setpoints
7 years ago
Dennis Mannhart
37bfd8e01a
FlightTaskAuto: always update cruise speed
7 years ago
Dennis Mannhart
3083de0979
FlightTaskAuto: typo fix
7 years ago
Dennis Mannhart
fbe8a558b2
FlightTaskIndex: add AutoLine
7 years ago
Dennis Mannhart
288ee2362e
FlightTaskAuto: remove warning message
7 years ago
Dennis Mannhart
f62c3c3b8a
FlightTaskAutoLine: simplify logic by setting setpoints directly
7 years ago
Dennis Mannhart
338130a9b4
FlightTaskAuto: simplify logic by just updating waypoints if anything has changed
7 years ago
Dennis Mannhart
171c19c3ca
FlightTaskAutoLine: override _reset method
7 years ago
Dennis Mannhart
e2347c30f6
FlightTaskAuto: comment fix
7 years ago
Dennis Mannhart
69ea4df45c
FlightTaskAuto: pure virtual reset method
7 years ago
Dennis Mannhart
2c385e6967
FlightTaskAuto: remove unused include
7 years ago
Dennis Mannhart
3ae07843e9
position control: remove empty space
7 years ago
Dennis Mannhart
9ff4d13c2c
mc_pos_control: remove unused method
7 years ago
Dennis Mannhart
75fb1b28b9
mc_pos_control: set thrust to zero if in idle
7 years ago
Dennis Mannhart
1fb8eaf6c6
mavlink_messages: add yawspeed to local position setpoint sent over mavlink
7 years ago
Dennis Mannhart
816f2d12d5
FlightTaskAuto minor clean up
7 years ago
Dennis Mannhart
ae0f02f67d
ControlMath: by value to reference
7 years ago
Dennis Mannhart
3c40aa0d9c
PositionControl: if valid velocity and position setpoint available, always prioritize
...
velocity setpoint generated from position error over velocity feedforward
7 years ago
Dennis Mannhart
5551021d23
FlightTaskAutoLine: check if yaw_wp is finite
7 years ago
Dennis Mannhart
558a0f892c
PositionControl: auto takeoff with constant speed
...
PositionControl: remove takeoff logic
mc_pos_control: takeoff logic for flighttask
mc_pos_control: smooth takeoff throttle start at 0
7 years ago
Dennis Mannhart
6e62beb560
FlightTaskAuto: abstract class for mapping triplets to quadruple
...
FlightTaskAuto: add type that corresponds to triplet type
FligthTaskAuto: set all setpoints if invalid in xy
FlightTaskAuto: cast triplet type to WaypointType
FlightTaskAutoLine: class for px4 legacy auto
FlightTaskAutoLine: methods prototype
FlightTaskAuto: change sp to wp (=Waypoint)
add params
FlightTaskAutoLine: follow waypoints along line based on flight state
7 years ago
David Sidrane
89a902524a
px_uploader:Revert the rebooting text to have baudrate
...
Using the port name is platform dependent. It may give not
provide the correct feedback. The port can be ttyS, or ftdi
or CDC/ACM. While it is true that buadrate does not matter on
CDC/ACM. It is better to give more information about what the
code is doing before filtering by the port name.
7 years ago
Matthias Grob
ade70cbbdf
cmake px4_base: switch visibility.h back to relative include path ( #9981 )
7 years ago
mcsauder
4f937a2ff6
Migrate px4io logic into rc.io.
7 years ago
mcsauder
bccda56ed3
Re-order hardware specific logic in rc.interface.
7 years ago
mcsauder
6f63553824
Move MNT_MODE_IN / MOUNT_MODE_OUT logic block to rc.interface and move dataman, send_event, and load_mon startup just below uorb and tone_alarm startup in the rcS script.
7 years ago
mcsauder
1fa2a6d26e
Continued work to group/condense/consolidate logic in rcS.
7 years ago
DanielePettenuzzo
ee9a336d62
add PX4_I2C_BUS_EXPANSION2 support in px4flow driver
7 years ago
vkotaru
96920e0370
AUTOPILOT_HOST address for Raspberrypi2/3 included in posix CMakeLists.txt
7 years ago
Beat Küng
6dda641cc0
omnibus-f4sd defconfig: change USB vendor & product strings to match with the bootloader
...
This fixes automatic upload. Since ed95dced0f
the NuttX string
is used for device detection, but Linux uses the bootloader's USB vendor
and product strings.
So the NuttX strings must match with the ones from the bootloader.
7 years ago
Daniel Agar
3293fe47f9
mavlink submodule update to latest
7 years ago
Martina
24413c6192
mavlink_messages: rename MavlinkStreamTrajectory -> MavlinkStreamTrajectoryRepresentationWaypoints
7 years ago
Martina
c9d27b65ef
mavlink_main: stream trajetcory_presententation_waypoints instead of trajectory
7 years ago
Martina
02d360c33a
update trajectory message to trajectory_representation_waypoint as in mavlink
7 years ago
David Sidrane
f12acd7b0f
px_uploader:Platform and Timming indepentant Serial detection
...
The correct determination of Windowed mode is critical to
maximise the speed on a USB based upload.
This commit bases the detection of a Serial (FTDI) on the
fact a CDC ACM port (USB) does not really have a baud rate.
We bump the baud rate to 233% of the requested baud rate to
see if the SYNC is acked. If it is Acked it must be a USB
port and Windowed mode is turned off. This removes unnessary
baud rate based delays from the proframing logic. If it is a
real Serial port getSync will not get the ACK and Windowed
mode is turned on.
7 years ago