Julian Oes
fdff6ea325
Revert "commander: remove unused/wrong failsafe handling"
...
This reverts commit 9e704a5e121c7516e2133d02b328500d9d66fb67.
2016-06-21 10:21:34 +02:00
Julian Oes
d0355cef1f
Revert "commander/navigator: remove param NAV_RCL_ACT"
...
This reverts commit 77ea4cebf41cd106fe771b9eb469aa2326339467.
2016-06-21 10:21:34 +02:00
Julian Oes
049146ef9c
commander: param to allow arming without GPS
2016-06-21 10:21:34 +02:00
Julian Oes
3e9d1388af
commander: remove unused/wrong failsafe handling
...
The deleted code conflicts with the failsafe handling in set_nav_state.
Also, flight termination was usually disabled by circuit breaker which
means this code had no effect anyway.
2016-06-21 10:21:34 +02:00
Julian Oes
016d514d80
commander/navigator: remove param NAV_RCL_ACT
...
The param NAV_RCL_ACT was not implemented as described. Also, it has the
completely the wrong name. It should be a COM param and not NAV.
Therefore, remove the param and delete the partly implemented
and probably never used functionality.
2016-06-21 10:21:34 +02:00
Julian Oes
ea10c8c8a3
circuit_breaker: change default for GPS failure
...
We should definitely take action when GPS fails, this circuit breaker
shouldn't be engaged anymore.
2016-06-21 10:21:34 +02:00
Julian Oes
739d1cfd3f
navigator: always run the loop, even without GPS
...
If the navigator stops when no more position updates arrive, it won't
switch to land mode when DESCEND is requested by the commander.
2016-06-21 10:21:34 +02:00
Julian Oes
fe29d99d62
commander: use the gps_failure flag
...
The gps_failure flag had been ignored in some navigation states.
2016-06-21 10:21:34 +02:00
Julian Oes
4d10759699
commander: use DESCEND mode and not LANDGPSFAIL
...
Always use the DESCEND mode and not LANDGPSFAIL because LANDGPSFAIL will
try to loiter for some time and then request termination instead of
descending gently and trying to land.
2016-06-21 10:21:34 +02:00
Henry Zhang
178f32ab41
Commander:fill missing command ack. ( #4814 )
2016-06-21 10:20:33 +02:00
Chris Lovett
847d9ec4f4
Fix code style using Tools/fix_code_style.sh
2016-06-21 10:10:50 +02:00
Chris Lovett
534e10c96a
Implement code review feedback. Add get_id_static to MavlinkStream items. Add implementation of MAV_CMD_SET_MESSAGE_INTERVAL, MAV_CMD_GET_MESSAGE_INTERVAL. Add deprecation message to REQUEST_DATA_STREAM.
2016-06-21 10:10:50 +02:00
Chris Lovett
4ef4be2d70
MavlinkReceiver::handle_message_request_data_stream walks into deleted memory when you send the "stop" bit on a stream. It also fails to restart the stream because it deletes the stream when you send the stop command, so restart needs to use stream_list to find the stream again.
2016-06-21 10:10:50 +02:00
Lorenz Meier
3f45d008eb
Fix stack main usage in motor ramp app
2016-06-21 09:43:00 +02:00
Julian Oes
8aee4432a9
px4io: set safety on before going into bootloader ( #4860 )
...
Sometimes when flashing new firmware, the IO update fails because safety
is off. In this case, we should set safety on first before putting the
IO board into bootloader mode.
v1.4.0rc1
2016-06-21 09:15:38 +02:00
Lorenz Meier
85245471c0
Update 3DR quad config, remove rendundant entries
2016-06-20 22:37:05 +02:00
Andreas Antener
2c29652136
fixed code style in motor_ramp
2016-06-20 20:59:43 +02:00
Andreas Antener
0581f1af52
added motor_ramp to fmu v4
2016-06-20 20:24:46 +02:00
Andreas Antener
2dc97fc680
added check for running attitude controllers, cleaned-up output
2016-06-20 20:24:46 +02:00
Andreas Antener
4e0980aeb9
fixed sine output
2016-06-20 20:24:46 +02:00
Andreas Antener
7f56961e26
removed unnecessary output texts
2016-06-20 20:24:46 +02:00
Roman
87dc996a41
added option to output sine wave
2016-06-20 20:24:46 +02:00
Andreas Antener
b3c3d6f88f
fixed format error
2016-06-20 20:24:46 +02:00
Andreas Antener
7c76c7c25a
added warning, set hold time to 1 sec
2016-06-20 20:24:46 +02:00
Andreas Antener
a7834693e8
updated usage, increased prio and lowered max hold time
2016-06-20 20:24:46 +02:00
Andreas Antener
d8cdb2032c
constantly set outputs for ramp, otherwise the ESC doesn't keep it's setting (why?)
2016-06-20 20:24:46 +02:00
Andreas Antener
ede032c557
ouput pwm values directly
2016-06-20 20:24:45 +02:00
Andreas Antener
fabb37975d
added motor_ramp to v2 config
2016-06-20 20:24:45 +02:00
Andreas Antener
0b930a36b9
added parameters to motor_ramp
2016-06-20 20:24:45 +02:00
Andreas Antener
1aeb139157
added motor ramp app, draft impl
2016-06-20 20:24:45 +02:00
Andreas Antener
d1b27ab056
moved params NAV_OBL to COM_OBL
2016-06-20 19:23:11 +02:00
Andreas Antener
8727295f8e
fix OBL parameters in commander
2016-06-20 19:03:10 +02:00
Andreas Antener
d3d9f013f4
set OBL parameters for iris
2016-06-20 19:03:10 +02:00
Andreas Antener
095997ca59
changed order of arguments for readability
2016-06-20 19:03:10 +02:00
Andreas Antener
fedb9de6ef
fixed offboard loss timing handling
2016-06-20 19:03:09 +02:00
Andreas Antener
ced8376268
added offboard lost actions with additional timeout
2016-06-20 19:03:09 +02:00
Daniel Agar
e42b5804a0
travis-ci only run make check within docker ( #4854 )
...
* otherwise the build environment doesn't get the proper return code
2016-06-20 10:03:37 -04:00
Julian Oes
d92496a7f7
df_ms5607_wrapper: astyle ( #4853 )
2016-06-20 15:29:30 +02:00
Michael Schaeuble
f95f37cb7b
Update to DF commit with the MS5607 driver
2016-06-20 12:55:01 +02:00
Michael Schaeuble
83ec092b46
Update bebop configuration and use parameters
2016-06-20 12:55:01 +02:00
Michael Schaeuble
cc0d28e59b
Update DF to include the MS5607 driver
2016-06-20 12:55:01 +02:00
Michael Schaeuble
0d9c031a2c
Check for bebop ip as environment variable
2016-06-20 12:55:01 +02:00
Michael Schaeuble
847562f5d7
Don't build px4_simple_app anymore
2016-06-20 12:55:01 +02:00
Michael Schaeuble
47613fefa0
Don't advertise garbage, apply same fix from #4735
2016-06-20 12:55:01 +02:00
Michael Schaeuble
52d8723d55
Add df_ms5607_wrapper (a renamed copy from BMP280)
2016-06-20 12:55:01 +02:00
Michael Schaeuble
696a378120
Add modules and commands to bebop build
2016-06-20 12:55:01 +02:00
Michael Schaeuble
9933494d53
Add parrot bebop build structure
2016-06-20 12:55:01 +02:00
Lorenz Meier
b2cfe05881
Adjust Typhoon H480 gains
2016-06-20 12:54:22 +02:00
Julian Oes
146c8ddbc3
px4_getopt: astyle
2016-06-20 09:37:43 +02:00
Lorenz Meier
97f6ad4e53
Even better Gazebo models
2016-06-18 19:28:48 +02:00