bresch
25bbe76530
FW att ctrl - Fix vehicle_attitude_setpoint timestamp logging when in stabilized ( #7803 )
2017-08-16 20:38:19 -04:00
CAI Dongcai
63306ada92
FW attitude and position control minor code cleanup ( #7802 )
...
- change a little bit to make the code more readable
2017-08-16 10:51:41 -04:00
Beat Küng
ebafa5698d
log_writer_file: register hardfault handler before opening the log file
...
hardfault_store_filename() opens and closes a file descriptor, so if we do
it before opening the log file, we need one file descriptor less
2017-08-16 16:46:56 +02:00
Beat Küng
9e01842c6a
mavlink ulog: advertise ulog_stream topic before subscribing to ulog_stream_ack
...
This reduces the maximum number of needed file descriptors by 1 when using
ulog streaming.
2017-08-16 16:46:56 +02:00
Julian Oes
ba150566c6
mavlink_command_sender: add some log printfs
...
This improves the printfs which will be logged. This should improve to
debug the camera triggering. The debug printfs are disabled by default.
2017-08-16 09:47:50 +02:00
Julian Oes
31edab6d6d
mavlink_command_sender: remove unused include
2017-08-16 09:47:50 +02:00
sanderux
33e67fd527
Disable PA during landing
2017-08-16 08:19:06 +02:00
sanderux
e6c942033b
Disable pusher assist when descending
2017-08-16 08:19:06 +02:00
sanderux
8f5293d7b0
Remove explicit pusher throttle setting
2017-08-16 08:19:06 +02:00
sanderux
33efd89ef8
Disable pusher assist for quadchute failsafe
2017-08-16 08:19:06 +02:00
sanderux
66bb7adc4c
simplify back transition throttle scaling
2017-08-16 03:06:13 +02:00
sanderux
6b9a8daceb
Correctly name b_trans_thr and remove contraint
2017-08-16 03:06:13 +02:00
sanderux
ff669ee645
Move vtol standard params
2017-08-16 03:06:13 +02:00
sanderux
7a8d3c4ab2
Correctly check reverse thrust conditions
2017-08-16 03:06:13 +02:00
sanderux
4396e78d12
Allow negative thrust on reverse throttle
2017-08-16 03:06:13 +02:00
sanderux
01d9212a29
Widen pusher throttle constraint
2017-08-16 03:06:13 +02:00
sanderux
e5a55cd142
Support negative thrust for back transition
2017-08-16 03:06:13 +02:00
sanderux
59d81ee0f1
Clarify parameters
2017-08-16 03:06:13 +02:00
sanderux
fbbe3d1f41
Check velocity valid and param description
2017-08-16 03:06:13 +02:00
sanderux
50894e8615
VTOL control back transition ramp up time
2017-08-16 03:06:13 +02:00
sanderux
560e9e88dc
Apply slew rate to reverse thrust
2017-08-16 03:06:13 +02:00
sanderux
e9516db5b0
Back transition duration based on deceleration m/s/s
2017-08-16 03:06:13 +02:00
sanderux
2e481867e5
Consider back transtition complete when MPC_XY_CRUISE is reached
2017-08-16 03:06:13 +02:00
sanderux
1a0c23d8b3
Support thrust reversal for vtol back transition
2017-08-16 03:06:13 +02:00
Dennis Mannhart
f50052f290
landdetector mc: widen acceptance threshold after landing instead of arming
2017-08-15 10:30:29 +02:00
Lorenz Meier
861879c6d3
Widen threshold for standard gyro consistency check
...
Without temperature compensation the default is too narrow.
2017-08-12 12:50:46 +02:00
Julien Lecoeur
6e35cb002f
PX4IO interface protocol: Fix rounding error
...
Issue: This conversion test failed with gcc 7.1.1 and clang 4.0.1:
```
ERROR [tests] conversion fail: input: -0.8188, intermediate: -8187, result: -0.8187
conv FAILED
Command 'tests' failed, returned -1
```
Fix: explicit rounding
2017-08-10 03:09:33 -04:00
Daniel Agar
aa9023b72e
COM_RC_STICK_OV fix broken metadata
2017-08-09 22:28:05 +02:00
Daniel Agar
1cc7f47003
COM_FLTMODE* add param group
2017-08-09 22:28:05 +02:00
Daniel Agar
6ddd7ea8ab
RC_MAP_FAILSAFE add missing group
2017-08-09 22:28:05 +02:00
Daniel Agar
353f637e92
move SYS_FMU_TASK to px4fmu
2017-08-09 22:28:05 +02:00
Daniel Agar
928fdf34a6
sensors move THR_MDL_FAC and MOT_SLEW_MAX to px4fmu
2017-08-09 22:28:05 +02:00
Daniel Agar
95631439f1
sensors move PWM params to pwm_params.c
2017-08-09 22:28:05 +02:00
Daniel Agar
110d2968d8
sensors move RC params to rc_params.c
2017-08-09 22:28:05 +02:00
sanderux
220bd82b93
Per channel PWM disarmed values
2017-08-09 22:28:05 +02:00
Daniel Agar
bd7284634d
land_detector add missing header and init all vtol fields ( #7754 )
2017-08-09 11:43:36 -04:00
sanderux
3ccf3bf2a8
Consistent capitalization
2017-08-09 10:35:44 +02:00
sanderux
2c4bbf3f44
Consistent capital use
2017-08-09 10:35:44 +02:00
sanderux
e8a84b4faa
Typo
2017-08-09 10:35:44 +02:00
sanderux
a2ec771f78
Widen first waypoint max setting for FW
2017-08-09 10:35:44 +02:00
sanderux
75c3d92142
typo
2017-08-09 10:35:44 +02:00
sanderux
6ee24a0c80
Move land detector changes to vtol
2017-08-09 08:12:54 +02:00
sanderux
49d2e8a3ff
Land detector fix for VTOL in FW mode
2017-08-09 08:12:54 +02:00
Beat Küng
72f9371ca4
micrortps_client_main: remove unnecessary sleep(1);
...
... and some strange reformatting due to astyle...
2017-08-08 21:47:17 +02:00
Beat Küng
de8e0b54b6
micrortps_client_main: use new module documentation & check param range
2017-08-08 21:47:17 +02:00
Beat Küng
e7d19f0a1a
micrortps_client_main: add status command
2017-08-08 21:47:17 +02:00
José Roberto de Souza
925efe990d
Initialize all outgoing vehicle_command_ack_s and vehicle_command_s
...
This will initialize those structs with zero in all fields not set
and all fields set will only be change once to the final value not
wasting CPU time zeroing it.
This will guarantee that no non-unitialized structs will have
a trash value on from_external causing it to be sent to the
MAVLink channel without need it.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
7c268f4fa1
mavlink: Safely avoid send the same vehicle_command and vehicle_command_ack back
...
The previous approach was checking system id and component id but it
will not work in 100% of cases as external devices can send MAVLink
message with the right system id but with broadcast component id.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
89a428fbfe
commander: Keep vehicle_command_ack_s local
...
No need to keep this struct as global or alive while looping.
2017-08-08 21:46:30 +02:00
José Roberto de Souza
7082cc13e0
mavlink: Allow vehicle to receive a command_ack message and publish it to listeners
2017-08-08 21:46:30 +02:00