Commit Graph

17288 Commits

Author SHA1 Message Date
CarlOlsson 3244808ca8 Adopted logging 2016-03-30 17:33:37 +02:00
CarlOlsson 1bb07ff50c adopted ekf2_params.c 2016-03-30 17:33:37 +02:00
CarlOlsson 3af01a8c5e adopted ekf2_main.cpp 2016-03-30 17:33:37 +02:00
CarlOlsson c821f41631 added msg 2016-03-30 17:33:37 +02:00
Julian Oes 9a5aa4f112 commander: pass PreflightCheck on Snapdragon
The tests don't work properly on Snapdragon yet, so just report happy
for now. Otherwise users get messages such as "No Gyro found" which is
wrong.
2016-03-30 10:00:22 +02:00
Roman 99723975a6 ekf2 replay: apply parameter values from log at the beginning 2016-03-30 07:45:54 +02:00
Lorenz Meier bc39cae5a3 Revert argc change reqquired for NuttX 2016-03-29 22:47:48 +02:00
Julian Oes 3464648533 sdlog2: fix segfault when starting without args
`sdlog2 start` lead to a segfault.
2016-03-29 22:43:20 +02:00
Julian Oes 4179ed6c19 sdlog2: don't free the logbuffer after disarm
Only free the logbuffer if you exit sdlog2. After disarming, just reset
the pointers. This way, we don't take any risks doing malloc and free.

The actual "double free" was caused by trying to free the perf counter
inside logbuffer_free.
2016-03-29 22:43:20 +02:00
Julian Oes 7ce297be59 sdlog2: add logbuffer_reset to reset pointers
This allows resetting of the logbuffer without having to free and malloc
again.
2016-03-29 22:43:20 +02:00
Lorenz Meier 3981f06d42 Reject arming timeout 2016-03-29 22:42:57 +02:00
Julian Oes 4e64382ba5 sdlog2: fixes for Snapdragon 2016-03-29 09:55:29 +02:00
Julian Oes 3ae0ef6eb6 mainapp.config: add sdlog2 to Snapdragon startup 2016-03-29 09:54:19 +02:00
Lorenz Meier a66cf2a658 MAVLink app hotfix: Enable MAVLink daemon on default port 2016-03-28 17:30:43 +02:00
Lorenz Meier 0cab404cb8 Recuperate 1.7K RAM with leaner startup scripts 2016-03-28 14:48:14 +02:00
Lorenz Meier 15427bec58 Trone: Use shorter perf names 2016-03-28 13:05:47 +02:00
Lorenz Meier 2c6119e355 SRF02: Use shorter perf names 2016-03-28 13:05:36 +02:00
Lorenz Meier 90f731a134 SF10a: Use shorter perf names 2016-03-28 13:05:22 +02:00
Lorenz Meier c7cc563832 SF0X: use shorter perf names 2016-03-28 13:05:07 +02:00
Lorenz Meier 6e34e0acaf Flow: Use shorter perf names 2016-03-28 13:04:53 +02:00
Lorenz Meier 0f31f88b24 PCA: Remove unuses perf counter 2016-03-28 13:04:41 +02:00
Lorenz Meier 8891c94087 Gimbal: remove unuses perf counters 2016-03-28 13:04:25 +02:00
Lorenz Meier 96fd15f42e MS5611: Use shorter perf names 2016-03-28 13:04:10 +02:00
Lorenz Meier 5a65f41482 MPU9K: Use shorter perf names 2016-03-28 13:03:56 +02:00
Lorenz Meier b8c5f6be6a MPU6K: Use shorter perf names 2016-03-28 13:03:41 +02:00
Lorenz Meier fdf57e14a1 Use shorter perf names for MB12xx 2016-03-28 13:03:25 +02:00
Lorenz Meier 37fb74c8b7 Use shorter perf names for LSM303D 2016-03-28 13:03:10 +02:00
Lorenz Meier 6b7142469a Use shorter perf names for L3GD20H 2016-03-28 13:02:59 +02:00
Lorenz Meier 54a75d5ef9 HMC: Use shorter perf names 2016-03-28 13:02:41 +02:00
Lorenz Meier b71123f4fe GPS: Use shorter perf names 2016-03-28 13:02:29 +02:00
Lorenz Meier 924b7efaa2 Airspeed: Use shorter perf names 2016-03-28 13:02:15 +02:00
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