Commit Graph

10499 Commits

Author SHA1 Message Date
Julian Oes 4698bf92a5 snapdragon_rc_pwm: no PWM when timed out
PWM output is now stopped if the mavlink actuator_controls stop being
sent. This means props will stop in case the Snapdragon crashes or the
cable from Snapdragon to Pixhawk/Pixracer breaks.
2016-03-27 12:40:10 +02:00
Julian Oes 8b9c943da9 uart_esc: calculate raw PWM on the Snapdragon
This includes taking care of the arming state and the limit ramp.
2016-03-27 12:40:10 +02:00
Julian Oes df9832f806 snapdragon_rc_pwm: use ioctl to set PWM
This is by far the easiest solution for now.
2016-03-27 12:40:10 +02:00
Julian Oes e5dfda6d46 uart_esc: remove timeout printf 2016-03-27 12:40:10 +02:00
Julian Oes e50f3ad4f2 uart_esc: do an additional advertise
If this is not done, the aDSP crashes, not quite sure why but it's gotta
be something about the context of the callback.
2016-03-27 12:40:10 +02:00
Julian Oes 647526407a snapdragon_rc_pwm: cleanup and raise bitrate 2016-03-27 12:40:10 +02:00
Julian Oes ee7b9751ce px4_layer: removed leftover printf lie 2016-03-27 12:40:10 +02:00
Julian Oes cd2f0eca95 uart_esc: major cleanup, raise UART bitrate
This remove all leftovers from Qualcomm's ESC. Also, the startup
commands are cleaned up, and the UART bitrate is raised to 921600.
2016-03-27 12:40:10 +02:00
Julian Oes 45b41e26cc uart_esc: accept n channels instead of just 8. 2016-03-27 12:40:10 +02:00
Julian Oes 4477566d73 snapdragon_rc_pwm: send RC anyway.
Let's always send RC even if nothing arrives on the UART just yet.
2016-03-27 12:40:10 +02:00
tumbili 07246efef9 added snapdragon rc pwm driver 2016-03-27 12:40:10 +02:00
Julian Oes cf98894a23 df_mpu9250_wrapper: disable coning correction
The coning correction for the accel int slipped in by accident.
2016-03-27 12:40:10 +02:00
Julian Oes b04cfd3eee df_mpu9250_wrapper: publish at 250 Hz 2016-03-27 12:40:10 +02:00
Julian Oes 393bcad4b6 df_mpu9250_wrapper: add delta angles for MPU9250 2016-03-27 12:40:10 +02:00
Lorenz Meier 4aceb21d19 Mission: Be less chatty 2016-03-27 12:26:33 +02:00
Andreas Antener d9cabde13e reset mission after vehicle was in mission and then disarms 2016-03-27 12:25:47 +02:00
Jimmy Johnson fbd2edaae5 fixing possible safety issue with altitude 2016-03-27 12:10:57 +02:00
Lorenz Meier ed2029b5d4 Navigator: Fix header code style 2016-03-27 12:10:57 +02:00
Lorenz Meier 88b2349241 Code style fixes 2016-03-27 12:10:57 +02:00
Lorenz Meier 9dd6327668 Fixed MAVLink app code style 2016-03-27 12:10:57 +02:00
Lorenz Meier b3472d6cc8 Fixed follow target code style 2016-03-27 12:10:57 +02:00
Lorenz Meier 737ad045b2 Fix up formatting in mc pos control 2016-03-27 12:10:57 +02:00
Jimmy Johnson f2777cb6ee making code more robust 2016-03-27 12:10:57 +02:00
Jimmy Johnson 6ff1b2d896 Replacing SETPOINT_TYPE_VELOCITY use with velocity and position valid
booleans in setpoint struct
2016-03-27 12:10:57 +02:00
Jimmy Johnson 38c40d5601 fixing var change after rebase, setting min mission takeoff altitude to 10m for safety 2016-03-27 12:10:57 +02:00
Jimmy Johnson 3ce7d13c51 fixing structure initalization 2016-03-27 12:10:57 +02:00
Jimmy Johnson 3aaad68c76 fixed position tracking overshoot 2016-03-27 12:10:57 +02:00
Jimmy Johnson 142884bcd8 fixing code style and enter/exit radius logic 2016-03-27 12:10:57 +02:00
Jimmy Johnson dfc2d9b5e0 more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson 515882ac0e more clean up 2016-03-27 12:10:57 +02:00
Jimmy Johnson 8829db8844 code clean up complete 2016-03-27 12:10:57 +02:00
Jimmy Johnson 26cb645ee0 follow me working 2016-03-27 12:10:57 +02:00
Jimmy Johnson 01e971b342 Tests 2016-03-27 12:10:57 +02:00
Jimmy Johnson 0797c7fc21 velocity smoothing 2016-03-27 12:10:57 +02:00
Jimmy Johnson 554d1ac013 making first setpoint on follow target activation loiter in place 2016-03-27 12:10:57 +02:00
Jimmy Johnson 69351675b6 follow target mode working 2016-03-27 12:10:57 +02:00
Jimmy Johnson bbc8eaefd7 Adding new follow target navigation and main states. New follow target
topic added. New follow fsm added to the navigator
2016-03-27 12:10:57 +02:00
Bo Liu e697998828 fix sdlog2 self deadlock bug 2016-03-26 13:59:33 -05:00
Daniel Agar 26bb2fd22f capitalize param values 2016-03-25 20:38:08 -04:00
Daniel Agar 6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Daniel Agar bee39d93d9 battery param add units 2016-03-25 20:27:48 -04:00
Daniel Agar 70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Daniel Agar ff9b8118ab fw_att_control add units 2016-03-25 17:24:48 -04:00
Daniel Agar b26f90406b group l1 control and tecs as FW 2016-03-25 17:04:59 -04:00
Daniel Agar c748eb6757 cleanup mission params 2016-03-25 16:28:51 -04:00
James Goppert d02abf2cc0 Removed CMSIS. 2016-03-25 18:43:43 +01:00
Lorenz Meier 425c5dea2a Fixed 9250 mag readouts. From @Inspirati 2016-03-25 16:07:51 +01:00
Lorenz Meier 6d42595c79 Fix MAVLink app teardown with mavlink stop-all command 2016-03-25 15:20:32 +01:00
Lorenz Meier c385d5e32b Adjust multicopter position control default params 2016-03-25 14:22:49 +01:00
Julian Oes 79426c32c7 DriverFramework: update submodule
The latest version must have gotten lost in the merge.
2016-03-24 14:56:54 +01:00