Lorenz Meier
f154f6e5e7
MAVLink transmission: Allow faster overall transmissions.
2015-05-15 11:16:11 +02:00
Lorenz Meier
4fb91f47cd
Fix mavlink FTP list stack overflow. Fixes #2180 , not flight-critical
2015-05-15 11:15:04 +02:00
Lorenz Meier
535eb7dbd9
param lib: Fix use of array size
2015-05-15 09:11:28 +02:00
Lorenz Meier
fa8dc57236
mavlink app: Only send params if the system has booted.
2015-05-15 08:31:45 +02:00
David Sidrane
a0af91d05c
Missing Brace
2015-05-14 18:15:10 -10:00
David Sidrane
6667e6e078
Update param.c
...
Not used px4_macros.h anyway
2015-05-14 18:03:23 -10:00
David Sidrane
8e9fdc6147
Use stdlib's calloc for compaiblity
2015-05-14 17:03:10 -10:00
David Sidrane
dc4d5619ea
Reduced the amount of memory used by params to only that that is needed
...
Conflicts:
src/modules/systemlib/param/param.c
2015-05-14 17:02:45 -10:00
Johan Jansen
d650820dbf
SystemLib: Add missing CBRK_GPSFAIL circuit breaker parameter
2015-05-14 21:20:34 +02:00
Johan Jansen
510b6124ec
Commander: Fix inverted circuit breaker logic
2015-05-14 21:20:05 +02:00
Johan Jansen
52222de021
Commander: Wait up to 1 second to allow GPS module to be detected
2015-05-14 20:59:23 +02:00
Johan Jansen
fee02c6943
Commander: Fix parameter bug in preflight check function
2015-05-14 20:30:10 +02:00
Johan Jansen
f020ad4ba3
Commander: Check if GPS receiver is suffering from jamming noise
2015-05-14 19:29:35 +02:00
Johan Jansen
45f1fd6634
Commander: Add preflight check for missing GPS module
2015-05-14 19:19:30 +02:00
Lorenz Meier
8a73f91ad6
Commander: Be less verbose about param saves to focus the user attention to relevant output
2015-05-14 17:33:07 +02:00
Mark Charlebois
abe61a3d7e
Added missing return on error
...
When mc_pos_control_main.cpp was ported to posix one error condition
retuned 0 instead of 1.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-14 08:32:51 -07:00
Lorenz Meier
e7c3032218
Mag calibration: Accept less rotation to start the UI, ensure calibration abort does indeed abort.
2015-05-14 17:31:05 +02:00
Lorenz Meier
33338ee2d0
Q attitude estimator: Comment undocumented params
2015-05-14 17:12:31 +02:00
Lorenz Meier
8ac81515ce
EKF estimator: Remove unused params
2015-05-14 17:12:31 +02:00
tumbili
f6bf6c89ff
ported mc_pos_controller
2015-05-14 14:58:23 +02:00
Lorenz Meier
ea278ea926
Merge pull request #2169 from PX4/fix_LED
...
make main LED show low and critical battery status
2015-05-14 00:39:56 +02:00
Lorenz Meier
7d775eb112
Merge pull request #2170 from andrea-nisti/master
...
mpc parameter INAV_W_Z_VIS_P increased
2015-05-14 00:39:22 +02:00
Nate Weibley
b4e7b041ca
Fix potential null pointer deref if Mavlink start fails before task_main loop
...
LL_APPEND is called just before the loop spins up but various error conditions can cause the task to exit before then.
When that happens Mavlink::start_helper calls delete on the instance which tries to prune it from the global list.
If this is the first Mavlink instance to attempt starting the list head is null and we hardfault in the Mavlink dtor.
Only call LL_DELETE after checking the list head for a null pointer.
2015-05-13 11:33:11 -04:00
Andrea Nistico
16aa03e30a
mpc parameter INAV_W_Z_VIS_P increased
2015-05-13 17:22:10 +02:00
Roman Bapst
90c3aec1fd
make main LED show low and critical battery status
2015-05-13 16:24:44 +02:00
Lorenz Meier
66b87ac761
Fix state-level HIL. Reported by @s3erjaeh
2015-05-13 16:04:33 +02:00
Lorenz Meier
6f94951050
Fix sdlog2 stopping on param write. Found by Severin Leuenberger
2015-05-13 15:46:35 +02:00
Lorenz Meier
890c3af13c
multiplatform: Update yaw P param name
2015-05-13 15:34:07 +02:00
Lorenz Meier
efb60ab779
multiplatform pos controller: Rename params to prevent mixup with MPC params
2015-05-13 15:19:16 +02:00
Lorenz Meier
e400ec586d
multiplatform att controller: Rename params to prevent mixup with MC params
2015-05-13 15:18:50 +02:00
Lorenz Meier
164a254214
Merge pull request #2143 from PX4/mc_pos_D_reset
...
mc_pos_control: always update previous velocity
2015-05-13 13:58:15 +02:00
Roman Bapst
cf27fc59c7
read hil sensor message instead of highres imu message
2015-05-13 10:31:52 +02:00
tumbili
9686f8004e
send pwm outputs to simulator
2015-05-12 23:55:32 +02:00
tumbili
3a79679e2d
get manual control setpoint from PIXHAWK
2015-05-12 23:15:58 +02:00
Mark Charlebois
d0bf4ab449
Simulator: refactored mavlink additions
...
QuRT does not support UDP so moved the mavlink specific code
to a new file that is not built for the qurt target
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-11 19:25:11 -07:00
Mark Charlebois
2d32395bc0
Merge branch 'qurt' into linux
2015-05-11 16:07:53 -07:00
Mark Charlebois
a99f916bdf
POSIX: Changed px4_debug.h to px4_log.h
...
Also changed use of printf to PX4_WARN or PX4_INFO in posix and
qurt tests.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-11 16:04:39 -07:00
tumbili
c074d6e913
implemented polling of socket file descriptor and uorb topic file descriptor
2015-05-11 23:55:11 +02:00
Lorenz Meier
b3ed0cf36b
Navigator: be more verbose about RTL
2015-05-11 09:37:42 +02:00
Lorenz Meier
a124bc07aa
Ensure SYS_AUTOSTART param is always selected
2015-05-10 23:58:25 +02:00
tumbili
b6441d2966
implemented new mixer strategy
2015-05-10 00:42:53 +02:00
tumbili
9119687177
make socket non-blocking, moved socket includes to header file to avoid forward declarations
2015-05-09 10:35:25 +02:00
tumbili
39711ca908
implemented bidirectional udp communication with simulator
2015-05-08 21:51:21 +02:00
Lorenz Meier
29eeb724a1
commander: Enforce rotation during mag calibration step
2015-05-08 11:23:19 +02:00
Lorenz Meier
3be1fc7d42
commander gyro calibration: Do not require a specific position, automatically start a retry after motion on the first try
2015-05-08 11:01:19 +02:00
Mark Charlebois
a0d548db9a
Changed circuit_breaker to not use px4.h
...
The inclusion of px4.h requires C++ features not supported in the
Hexagon toolchain. The features are not required so the required
headers are used instead.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-07 11:35:01 -07:00
Mark Charlebois
41a2d30cfe
Merge branch 'linux' of http://github.com/mcharleb/Firmware into linux
2015-05-07 10:08:56 -07:00
Mark Charlebois
2002d4e774
POSIX: disable UART in mavlink
...
Most of the current POSIX builds will not use the UART and it
is just a unnecessary dependency to satisfy when running in a
test environment.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-07 10:07:18 -07:00
Thomas Gubler
cc62033190
improve mavlink set_attitude_target handling
...
port #1920 to mavlink_receiver
fixes #1921
2015-05-07 16:44:54 +02:00
Roman Bapst
1d544e028d
mc_pos_control: always update previous velocity to avoid spikes due to differentiation
2015-05-07 15:04:59 +02:00