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
Beat Küng
c166ea9ed5
sensors: fix potential busy loop when a gyro driver is stopped
...
When a gyro driver is stopped, the topic is unadvertised and
orb_group_count() returns a smaller count. This can have the effect, that
we poll on a certain gyro fd, but since _gyro.subscription_count is reduced
we never do the orb_copy for that fd.
This cannot happen when armed. And only someone playing with the shell
can trigger it (sensor failures do not have that effect).
7 years ago
Beat Küng
891a09f488
sensors: make sure to do an orb_copy, even if a gyro is disabled
...
This makes sure that poll() never returns immediately.
accel & mag are only updated to keep the code in sync.
7 years ago
Beat Küng
28d70f5f79
logger: remove unneeded topics from the default set
...
Should some of these be of interest to someone, we should create a profile.
7 years ago
mcsauder
1d7dbdddca
Add pwm failsafe -c argument to rc.interface, reference issue #9775 .
7 years ago
mcsauder
71ceb0cfd6
Copy/paste logic in rc.interface to group MIXER and MIXER_AUX logic, alphabetize hardware list in rc.interface, alphabetize set/unset lists in rcS, and add -p argument to pwm failsafe calls per issue #9775 .
7 years ago
Daniel Agar
50b5e124d5
cmake fix BUILD_URI
7 years ago
Daniel Agar
8985403c00
FMU relocate MOT_SLEW_MAX and THR_MDL_FAC parameters centrally
7 years ago
Daniel Agar
c26ca49f36
PWM parameters centralize under sensors and add aux 7&8
7 years ago
Daniel Agar
24d742ed51
FMU PWM parameters respect instance for MAIN/AUX usage
7 years ago
Julian Oes
11d4c32cd4
px_uploader: fix unknown variables
7 years ago
Julian Oes
8b91a68fea
px_uploader: white space PEP8 fixes
7 years ago
mcsauder
f9a6c13d55
Group instances of UAVCAN logic into a single block and copy/paste/regroup OUTPUT_MODE logic to form on block of code handling OUTPUT_MODE.
7 years ago
David Sidrane
6f665aee55
board_common:Update description to include paramater.
7 years ago
David Sidrane
a7a1607689
fmu & px4io:Use uORB Publish Auto
7 years ago
David Sidrane
33c9459ebe
fmu:Use extended board_supports_single_wire APU with UxART
7 years ago
David Sidrane
d0d361ef92
sbus:Add comment that turning off the single wire has not effect
7 years ago
David Sidrane
ec73e73934
px4fmu-v5:Support board_supports_single_wire query by UxART
7 years ago
David Sidrane
ab49b42f1c
board_common:Extend board_supports_single_wire API to use UxART_BASE
7 years ago
David Sidrane
b6d01c36af
px4fmu-v5:Support RX TX swap
7 years ago
David Sidrane
8076b103bc
px4fmu-v5:Provide RC_UXART_BASE to use board_common UxART based INVERT_RC_INPUT
7 years ago
David Sidrane
7dfd26cd8f
nxphlite-v3:Provide RC_UXART_BASE to use board_common UxART based INVERT_RC_INPUT
7 years ago
David Sidrane
f48481fcbd
fmu:Use extended rc_io_invert API with UxART
7 years ago
David Sidrane
c291566c3e
fmu:Remove gpio config on GPIO_SBUS_INV it is done in board_init
7 years ago
David Sidrane
8cc358dff8
px4fmu-v5:extend board_rc_input to pass UxART
7 years ago
David Sidrane
bf36d272bf
nxphlite-v3:extend board_rc_input to pass UxART
7 years ago
David Sidrane
70a453f148
px4nucleoF767ZI-v1:Provide board_common INVERT_RC_INPUT with GPIO based invert
7 years ago
David Sidrane
28a669a637
px4fmu-v4pro:Provide board_common INVERT_RC_INPUT with GPIO based invert
7 years ago
David Sidrane
05b9b5e533
px4fmu-v4:Provide board_common INVERT_RC_INPUT with GPIO based invert
7 years ago
David Sidrane
407fe692d8
mindpx-v2:Provide board_common INVERT_RC_INPUT with GPIO based invert
7 years ago
David Sidrane
9fc37606fd
tap-v1:Use board_common default nop INVERT_RC_INPUT
7 years ago
David Sidrane
3debee9563
aerofc-v1:Use board_common default nop INVERT_RC_INPUT
7 years ago
David Sidrane
b08a0d50f8
aerocore2:Use board_common default nop INVERT_RC_INPUT
7 years ago