Commit Graph

17257 Commits

Author SHA1 Message Date
Lorenz Meier e26c5bb590 Do not receive anything in OSD mode 2016-03-28 12:37:03 +02:00
Nic b600e3ee93 added descend into navigation using existing land helper, downstream logic handles ignoring position setpoints (despite being populated), tested with multirotor in gazebo 2016-03-28 12:27:20 +02:00
James Goppert 5418e17a99 Navigator mavlink_fd rename fix. 2016-03-27 15:35:47 -04:00
Lorenz Meier 039d1e4e2f Fix wrong header location 2016-03-27 12:52:47 +02:00
Julian Oes 438c8827f6 snapdragon_rc_pwm: astyle 2016-03-27 12:40:10 +02:00
Julian Oes f718c25dbe commander: remove QURT workaround
Timestamps didn't exist when commander was run on the Linux side.
However, commander is now always run on the QURT side, so the hack is no
longer needed.
2016-03-27 12:40:10 +02:00
Julian Oes 00bee89c66 uart_esc: fix compile error and remove printf 2016-03-27 12:40:10 +02:00
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 8bf41fda94 px4.config: go back to J13 which is /dev/tty-2 2016-03-27 12:40:10 +02:00
Julian Oes 5fc5fc1ba2 posix_eagle_default: define fix for POSIX eagle 2016-03-27 12:40:10 +02:00
Julian Oes e7c997c5f1 rcS: remove hack
The mavlink instance USB can now be shutdown, so this hack is not needed
anymore.
2016-03-27 12:40:10 +02:00
Julian Oes 28a295485c rcS: set PWM output to 400 Hz for passthrough 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 a615f57c80 rcS: Make the passthrough option a vehicle_type 2016-03-27 12:40:10 +02:00
Julian Oes a9a20e0a55 rcS: startup for a passthrough Snapdragon option
This adds a custom passthrough "vehicle" to be used on
Pixhawk/Pixfalcon/Pixracer together with Snapdragon for RC input and PWM
output.
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 a318c4a4cd px4.config: use the ESC J13 UART on Snapdragon 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
Julian Oes 05ad25e141 px4fmu-v4_default: compile snapdragon_rc_pwm 2016-03-27 12:40:10 +02:00
Julian Oes 1d30e352fe rcS: don't stop if mc_att_control not running
This stopped the startup for setups with SYS_AUTOSTART 0.
2016-03-27 12:40:10 +02:00
Julian Oes d06c6a3f5c rcS: don't stop Pixracer startup if no params 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
Julian Oes 4effcc0ac7 cmake/posix-configs: switch to ekf2 on Snapdragon 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 9993b24bf9 reverting .gitmodules file 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