Lorenz Meier
5781b58640
Minor bugfix to commander, emits arming sound now on the right occasions. Fixes an annoying issue where the arming sound would go off constantly if the safety was re-engaged in arming mode, something that we consider to be ok operationally
2013-11-01 09:05:28 +01:00
Lorenz Meier
094fa0bd43
Merge pull request #502 from PX4/pwm_ioctls
...
more esc_calib enhancements
2013-10-31 23:33:50 -07:00
Julian Oes
25bf1abecf
pwm_output: Allow PWM values from 900us to 2100us but use a default of 1000us to 2000us
2013-10-31 10:29:06 +01:00
Lorenz Meier
9544fe446e
Merge pull request #504 from Runepx4/master
...
Added 8 rotor Coaxial Rotor mixer
2013-10-31 02:28:43 -07:00
runepx4
eac640739b
Added 8 rotor Coaxial Rotor mixer
2013-10-31 10:23:58 +01:00
Julian Oes
aecb62a2dd
Fixed small typo
2013-10-31 09:57:30 +01:00
Julian Oes
88351f3da1
esc_calib: Changed cmdline interface (now same as for the pwm systecmd), read in the number of channels available, don't make the esc_calib dependant on min/max/disarmed values
2013-10-31 09:20:44 +01:00
Lorenz Meier
7d443eb332
Commandline parsing fixes
2013-10-31 09:03:37 +01:00
Lorenz Meier
3c8c091e76
esc_calib on steroids
2013-10-31 08:23:44 +01:00
Lorenz Meier
9820ed9de3
Actually allow full range in FMU driver
2013-10-31 08:23:32 +01:00
Lorenz Meier
1a09907d5b
Merge branch 'master' of github.com:PX4/Firmware into pwm_ioctls
2013-10-30 22:35:19 +01:00
Lorenz Meier
0eabacd251
Merge branch 'pwm_ioctls' of github.com:PX4/Firmware into pwm_ioctls
2013-10-30 22:35:09 +01:00
Lorenz Meier
727342a516
Teached the FMU driver that stopping is also an option
2013-10-30 22:34:51 +01:00
Lorenz Meier
9e74f178c9
Merge pull request #496 from PX4/wp_yaw_fix
...
missionlib: waypoint yaw fix
2013-10-30 11:26:58 -07:00
Lorenz Meier
dc80d6745e
Merge branch 'master' of github.com:PX4/Firmware into pwm_ioctls
2013-10-30 09:15:55 +01:00
Lorenz Meier
bd874afcfd
Fixed pwm limit to apply the proper limits / scaling
2013-10-30 09:14:17 +01:00
Lorenz Meier
f0466143de
Minor warning and no error in case of zero value for disarmed
2013-10-30 09:04:03 +01:00
Lorenz Meier
44f88bf0a7
Fix to allow setting again zero disarmed PWM values after boot
2013-10-30 09:03:19 +01:00
Lorenz Meier
2293aa4e0a
Fixed min value check, works for fixed wing now
2013-10-29 21:22:05 +01:00
Julian Oes
a06b3e50ab
Only read 5 values, then return
2013-10-29 15:57:09 +01:00
Lorenz Meier
0fa03e65ab
Cleanup of Doxygen tags
2013-10-28 15:21:50 +01:00
Lorenz Meier
1336d625a8
Hotfix: Announcing important messages via audio
2013-10-28 14:47:37 +01:00
Andrew Tridgell
52ee477137
lsm303d: try to reset the lsm303d if it goes bad in flight
...
this is based on earlier work by Julian Oes
2013-10-28 13:10:52 +01:00
Andrew Tridgell
75a0c18a9e
px4io: FMU half of px4io error fixes
2013-10-28 13:10:38 +01:00
Andrew Tridgell
9064f8bf09
px4io: fixed the io_reg_{set,get} errors
...
this fixes the PX4IO state machine to avoid the io errors we were
seeing. There are still some open questions with this code, but it now
seems to give zero errors, which is an improvement!
2013-10-28 13:10:23 +01:00
Thomas Gubler
4b63c54885
l1: fix constrain of sine_eta1
2013-10-27 14:49:33 +01:00
Anton Babushkin
2733a54fe2
missionlib: waypoint yaw fix
2013-10-26 14:43:34 +04:00
Lorenz Meier
411eb1f4ef
Merge branch 'fw_autoland' of github.com:PX4/Firmware into fw_autoland
2013-10-24 22:46:04 +02:00
Lorenz Meier
20728e83f5
Merge branch 'master' of github.com:PX4/Firmware into fw_autoland
2013-10-24 22:45:43 +02:00
Lorenz Meier
5e1bec10cf
Merge pull request #469 from PX4/gimbal_rc_control
...
Gimbal rc control
2013-10-24 01:41:34 -07:00
Thomas Gubler
1cb73687f7
added parameter for maximal roll angle
2013-10-24 10:29:17 +02:00
Lorenz Meier
fa1c5dd343
Merge branch 'master' of github.com:PX4/Firmware
2013-10-24 09:26:13 +02:00
Lorenz Meier
2cd9ad97ea
Removed unnecessary return statements
2013-10-24 09:26:03 +02:00
Lorenz Meier
b131453443
Merge pull request #482 from thomasgubler/airspeed
...
fix scaling (unit) of airspeed in HIL
2013-10-23 14:32:28 -07:00
Anton Babushkin
3c6f438691
sdlog2: parameters logging implemented (APM-compatible)
2013-10-23 18:57:06 +02:00
Anton Babushkin
3546ded54e
Merge branch 'master' into sdlog2_ver
2013-10-23 14:49:11 +02:00
Lorenz Meier
17ddc7f471
Merge pull request #483 from PX4/calib_rotation
...
Calibration of rotated board
2013-10-23 03:32:20 -07:00
Anton Babushkin
342a7bf55b
esc_calib: get disarmed/max values from PWM device, more informative output
2013-10-22 22:21:10 +02:00
Anton Babushkin
2f66a8894f
param_save_default() rewritten: don't try 10 times to do every operation but do it safe using temp file
2013-10-22 21:02:29 +02:00
Anton Babushkin
28b4e97853
Fixed bug with fd leak in rc_calibration_check
2013-10-22 21:01:30 +02:00
James Goppert
c4a1a338ff
Changed driver to control motor duty cycle.
2013-10-22 05:43:27 -04:00
James Goppert
d143e827dc
Updated segway controller for new state machine.
2013-10-22 05:43:10 -04:00
James Goppert
108d723a49
Removed old timing hack.
2013-10-22 05:10:26 -04:00
James Goppert
174c86321c
Roboclaw encoders/ dutycycledrive complete.
2013-10-22 05:04:13 -04:00
James Goppert
ce68f93867
Debugging roboclaw comm.
2013-10-21 23:40:36 -04:00
James Goppert
7f0ced968e
Working on roboclaw driver.
2013-10-21 21:28:26 -04:00
Anton Babushkin
495073935e
accelerometer_calibration: stability fix
2013-10-21 23:33:01 +02:00
Anton Babushkin
ef42ef15c6
accel/gyro/mag calibration: big cleanup, use common messages
2013-10-21 22:24:59 +02:00
Anton Babushkin
ea89f23c91
calibration: bugs fixed, mavlink messages cleanup
2013-10-21 20:07:47 +02:00
Stefan Rado
ed79b686c5
Adjusted mavlink info messages during gyro calibration to not break QGroundControl.
2013-10-21 09:32:37 +02:00
Anton Babushkin
0dc9c9ac26
accelerometer_calibration: code style fixed, lib/conversion copyright fix
2013-10-20 23:28:09 +02:00
Anton Babushkin
b75c8e672f
accelerometer calibration fix
2013-10-20 23:16:23 +02:00
Anton Babushkin
ef6f1f6f80
get_rot_matrix() moved to separate library, accel calibration of rotated board fixed
2013-10-20 19:36:42 +02:00
Thomas Gubler
8cffd2b8a3
fix scaling (unit) of airspeed in HIL
...
src/modules/mavlink/mavlink_receiver.cpp
2013-10-20 12:28:58 +02:00
Stefan Rado
6a624ff753
Fix gyro calibration for rotated sensors.
...
The calibration routine now uses the raw sensor values instead of the already rotated values.
2013-10-19 23:04:36 +02:00
Andrew Tridgell
14e2464fab
rgbled: don't try the same bus twice
...
on PX4v1 the external I2C bus is the same as the LED bus
2013-10-19 11:42:46 +02:00
Andrew Tridgell
e3fe443720
rgbled: fixed getopt() handling
...
this allows the -a option to be used, for example
rgbled -a 0x55 start
2013-10-19 11:42:33 +02:00
Andrew Tridgell
dbb49c035b
rgbled: fixed detection of device on PX4v1
...
There is a serial EEPROM on the PX4IOv1 board that answers on I2C
address 0x55. We need some extra I2C transfers to ensure we are
talking to a real RGBLED device.
2013-10-19 11:42:19 +02:00
Julian Oes
70ec68ffd0
Merge remote-tracking branch 'px4/master' into pwm_ioctls
...
Conflicts:
src/drivers/px4io/px4io.cpp
2013-10-19 11:39:31 +02:00
Julian Oes
1d3f25ee6c
pwm systemcmd can now set the failsafe values, fmu uses failsafe values as well now, fix to only send the appropriate number of pwm values to IO at once
2013-10-19 10:43:41 +02:00
Lorenz Meier
40610c7d48
Fixes, but approach needs proper design
2013-10-18 10:38:51 +02:00
Alexander Lourier
0f67c5cbb0
Parameters list generator
2013-10-18 03:47:15 +04:00
Lorenz Meier
95aba0d70e
Almost perfect landing approach, needs touch-down fine tuning
2013-10-17 09:36:20 +02:00
Lorenz Meier
013579cffd
More improvements on landing
2013-10-17 07:54:04 +02:00
Lorenz Meier
71ac335968
Small improvements to autoland, ensure that throttle can be shut down close to touch down. Depends on accurate land WP altitude
2013-10-16 21:43:11 +02:00
Lorenz Meier
4532eca4ef
Covered corner case in L1 controller not adressed so far in existing concepts
2013-10-15 22:55:16 +02:00
Lorenz Meier
99068e864b
Enable payload channels as direct pass-through from manual control
2013-10-15 09:10:40 +02:00
Lorenz Meier
7232a6f143
Merge branch 'master' of github.com:PX4/Firmware into gimbal_rc_control
2013-10-15 08:41:40 +02:00
Lorenz Meier
3dcd5dbd0e
Piping through manual control channels
2013-10-15 08:39:57 +02:00
Lorenz Meier
1f39904cea
Merge pull request #466 from PX4/work_queue_test
...
RGB Led work queue revision - fixes #464
2013-10-14 14:44:18 -07:00
Lorenz Meier
fbe595a591
Fixed some stupid compile errors
2013-10-14 23:10:12 +02:00
Lorenz Meier
c6b58491bb
Work queue in RGB driver without work_cancel()
2013-10-14 22:18:44 +02:00
Lorenz Meier
57b8dee709
Bring back proper log conversion copy operation
2013-10-14 13:41:37 +02:00
Anton Babushkin
114b7b696d
sdlog2: VER message added instead of FWRV
2013-10-14 11:14:56 +02:00
Lorenz Meier
b3fb2bf850
Merge branch 'master' of github.com:PX4/Firmware into mixer_testing
2013-10-13 14:56:13 +02:00
Lorenz Meier
6baae41c5e
Merge pull request #444 from PX4/multirotor_att_control_fix
...
multirotor_att_control: cleanup, some refactoring
2013-10-13 03:36:06 -07:00
Lorenz Meier
1d2e6d1b2d
Merged
2013-10-13 12:28:10 +02:00
Lorenz Meier
c8f471c560
Merge branch 'master' into px4io_fix
2013-10-13 12:25:46 +02:00
Lorenz Meier
7b8b568605
Merge pull request #449 from PX4/sensors_fix
...
sensors: minor optimization, cleanup and refactoring
2013-10-13 03:21:53 -07:00
Lorenz Meier
ec0b57076b
Merge pull request #448 from PX4/mavlink_fix
...
mavlink optimization
2013-10-13 03:13:18 -07:00
Lorenz Meier
062ba0acab
Merge pull request #453 from PX4/gcc_47
...
GCC 4.7.4 compatibility
2013-10-13 03:12:17 -07:00
Lorenz Meier
db4ff7f080
Merge pull request #446 from PX4/commander_fixes
...
commander fixes
2013-10-13 03:10:23 -07:00
Lorenz Meier
90127b2d2a
Merge pull request #460 from jean-m-cyr/master
...
Add support for 8 channel DSMX sattelite pairing
2013-10-13 03:03:12 -07:00
Lorenz Meier
1dc9569e31
Fixed mixer chunk load and line ending detection for good.
2013-10-13 11:44:26 +02:00
Lorenz Meier
7d6a4ece6b
Added mixer test
2013-10-12 20:19:09 +02:00
Lorenz Meier
c5b890e87d
Moved mixer file load / compression into mixer library.
2013-10-12 20:17:59 +02:00
Lorenz Meier
4a4834c3de
Merge branch 'beta'
2013-10-12 20:15:06 +02:00
Lorenz Meier
4984ab4418
Comment fix
2013-10-12 20:14:47 +02:00
Jean Cyr
f1c399a60b
Add support for 8 channel DSMX sattelite pairing
2013-10-12 01:14:03 -04:00
Julian Oes
5d36971689
Base max actuators on board revision
2013-10-11 16:59:21 +02:00
Julian Oes
3cbe1ee1a8
Revert "Set the PWM values only once or continuous if specified"
...
This reverts commit 9cd3c40606
.
2013-10-11 16:33:52 +02:00
Anton Babushkin
e770f84858
Merge branch 'master' into px4io_fix
2013-10-11 16:22:08 +02:00
Julian Oes
2d23d5fd4e
Merge remote-tracking branch 'px4/master' into pwm_ioctls
...
Conflicts:
src/drivers/px4io/px4io.cpp
2013-10-11 14:05:11 +02:00
Julian Oes
326f241185
Enable PWM when disarmed on the fmu side
2013-10-11 12:11:25 +02:00
Julian Oes
9cd3c40606
Set the PWM values only once or continuous if specified
2013-10-11 10:48:49 +02:00
Julian Oes
6b079f41b2
Small warning fix
2013-10-11 10:21:37 +02:00
Julian Oes
96111a67a6
Tought the fmu driver the new pwm limit interface
2013-10-11 10:21:22 +02:00
Julian Oes
3dc2bdfa22
Changed pwm_limit interface a bit
2013-10-11 10:19:50 +02:00
Julian Oes
e2fef6b374
Use unsigned for channel counts
2013-10-11 10:16:45 +02:00
Lorenz Meier
1306c9de7b
Output improvements
2013-10-11 09:28:44 +02:00
Lorenz Meier
d04321bcf8
Hotfix: Typo
2013-10-11 09:14:57 +02:00
Lorenz Meier
d144213527
Added non-binary number between 8 and 16
2013-10-11 09:13:54 +02:00
Lorenz Meier
73f507daa6
Make tests file complete up to 64 byte shifts and 1.5 K chunks
2013-10-11 09:12:30 +02:00
Lorenz Meier
260ab5597a
Merge branch 'sdtest'
2013-10-11 08:07:59 +02:00
Lorenz Meier
44deeb85c0
We compile with GCC 4.7.4
2013-10-10 21:15:03 +02:00
Lorenz Meier
6745a91071
Added alignment attribute
2013-10-10 08:42:54 +02:00
Lorenz Meier
6ffa2955b9
Typo in debug output
2013-10-10 08:37:24 +02:00
Lorenz Meier
e0e708241b
More testing output
2013-10-10 08:34:08 +02:00
Lorenz Meier
8407677f20
Updated error message
2013-10-10 00:15:39 +02:00
Lorenz Meier
21dcdf11cf
WIP, typo fix
2013-10-10 00:14:03 +02:00
Lorenz Meier
13b07efc49
added hw test, added better io debugging
2013-10-10 00:12:39 +02:00
Lorenz Meier
d8396ca4b3
Merge branch 'sdtest' into hil_usb_only
2013-10-10 00:09:35 +02:00
Lorenz Meier
1ca718b57f
Slight fix to test, but still fails validating written data after non-aligned writes
2013-10-10 00:03:57 +02:00
Lorenz Meier
b8ccf67e8c
Merge branch 'sdtest' of github.com:PX4/Firmware into hil_usb_only
2013-10-09 22:53:25 +02:00
Lorenz Meier
ed00567400
Extended file test for alignment
2013-10-09 22:23:10 +02:00
Lorenz Meier
d63ad0fb81
Added debug output printing capabilities for IOv2
2013-10-09 09:26:18 +02:00
Julian Oes
b25b9d37d5
Small function definition correction
2013-10-09 09:00:22 +02:00
Julian Oes
1b9e2af742
Moved PWM ramp to systemlib
2013-10-08 17:03:57 +02:00
Anton Babushkin
b2555d70e3
sensors: minor optimization, cleanup and refactoring
2013-10-08 13:39:08 +02:00
Anton Babushkin
d70d8ae68e
mavlink, mavlink_onboard: bugfixes, code style fixed
2013-10-08 11:26:27 +02:00
Anton Babushkin
5e3bdd7789
mavlink_onboard: major optimization, cleanup and minor fixes, WIP
2013-10-08 09:38:04 +02:00
Lorenz Meier
a3bdf536e5
Dynamic integral resets for straight and circle mode, announcing turn radius now
2013-10-08 09:17:58 +02:00
Lorenz Meier
d59cdf6fcc
Added support for dynamic turn radii
2013-10-08 09:15:40 +02:00
Lorenz Meier
5bc7d7c00f
Fixed turn radius return value
2013-10-08 09:13:41 +02:00
Anton Babushkin
3fd2048188
commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics
2013-10-07 22:16:57 +02:00
Anton Babushkin
87e1ffe0ba
px4io: code style fixed
2013-10-07 22:04:06 +02:00
Anton Babushkin
6e7300fb92
px4io: major optimization and cleanup
2013-10-07 22:02:46 +02:00
Julian Oes
19879432ad
Trying to get rid of magic PWM numbers
2013-10-07 18:03:05 +02:00
Julian Oes
ea0aa49b54
pwm info provides more information, some fixes for setting rate/min/max/disarmed
2013-10-07 16:24:49 +02:00
Anton Babushkin
2fd8c6b958
multirotor_att_control: cleanup, some refactoring
2013-10-07 13:54:31 +02:00
Anton Babushkin
378041ad31
px4io: make "too high rate" warning consistent with real behavor
2013-10-06 23:09:55 +02:00
Lorenz Meier
81e9c06129
Robustified flight close to waypoints
2013-10-06 21:04:59 +02:00
Lorenz Meier
d1871bd7bb
State machine fixes for HIL
2013-10-06 14:18:28 +02:00
Lorenz Meier
90c4664dce
Merged status changes
2013-10-06 14:17:37 +02:00
Julian Oes
9ff5217118
Some more interface changes, needs testing and cleanup
2013-10-04 17:20:34 +02:00
Julian Oes
baa4908054
Changes to pwm systemcmd, basic functionality there, needs polishing
2013-10-04 13:00:12 +02:00
Lorenz Meier
4ceddfdd92
Merge pull request #426 from limhyon/master
...
PX4Flow, and several tiny things enhanced.
2013-09-30 22:14:46 -07:00
Hyon Lim
1a3d17d4e7
Update sensor_params.c
...
Not necessarily modify this on initial.
2013-10-01 09:15:15 +09:00
Julian Oes
9493c7a45c
Merge remote-tracking branch 'px4/master' into pwm_ioctls
...
Conflicts:
src/drivers/drv_pwm_output.h
2013-09-29 18:31:13 +02:00
Lorenz Meier
1b32ba2436
Hotfix: Ensure that a minimum of 10 degrees pitch is set on takeoff
2013-09-29 14:12:50 +02:00
Randy Mackay
642081ddfe
tone_alarm: add GPS warning tone
2013-09-27 13:34:25 +02:00
Lorenz Meier
2c54e827ed
Hotfix: Improved file test
2013-09-27 09:24:49 +02:00
Hyon Lim (Retina)
4514045fb6
There were unintialized variables.
...
(control mode was not updated)
Also, new flags (xy_valid etc) were considered.
2013-09-25 02:12:55 +09:00
Hyon Lim (Retina)
bfe22c1140
RC3 usually used as Throttle, but trim was set to 1500 by default.
...
It should be 1000 by default.
2013-09-25 02:02:51 +09:00
Lorenz Meier
f7090db708
Fix the direction of the override switch for the new state machine
2013-09-24 08:22:44 +02:00
Jean Cyr
6f54825000
Comments in GPS UORB topic don't make sense
...
- Describe long, lat, and alt coordinates properly
2013-09-22 23:17:27 -04:00
Lorenz Meier
e7bc322b2d
Merge pull request #421 from julianoes/fix_console_input
...
px4io test and fmu test now work over USB as well
2013-09-22 13:11:01 -07:00
Lorenz Meier
7108c9f475
Merge pull request #420 from julianoes/fix_esc_calib
...
Listen to all consoles plus some more small fixes
2013-09-22 09:06:40 -07:00
Julian Oes
166dba09de
px4io test and fmu test now work over USB as well
2013-09-22 17:23:43 +02:00
Lorenz Meier
07f82efe9b
Merge branch 'master' of github.com:PX4/Firmware
2013-09-22 17:08:42 +02:00
Lorenz Meier
ad4c28507f
Hotfixes for HIL and mode switching.
2013-09-22 17:08:29 +02:00
Julian Oes
bdfc7b9f69
Listen to all consoles plus some more small fixes
2013-09-22 17:07:02 +02:00
Julian Oes
30b151b9a8
Improved esc_calib a little, only works on nsh over USB now
2013-09-22 16:27:52 +02:00
Lorenz Meier
6616aa6f99
Fixed in-air restart, now obeys the right order
2013-09-22 14:58:06 +02:00
Lorenz Meier
826d5687be
Fixed in-air restart
2013-09-22 14:43:12 +02:00
Lorenz Meier
9424728af9
Fix a whole bunch of sanity checks across all mixers
2013-09-22 14:20:19 +02:00
Lorenz Meier
c38e692ebb
Merge branch 'master' into mixer_fix
2013-09-22 12:05:12 +02:00
Lorenz Meier
9eb4e05c9d
Hotfix: Silence GPS driver if no GPS is connected
2013-09-22 12:04:30 +02:00
Lorenz Meier
3189b4a9b4
Merge branch 'master' of github.com:PX4/Firmware
2013-09-22 12:04:10 +02:00
Lorenz Meier
5a54354044
Merge branch 'master' into mixer_fix
2013-09-22 11:31:06 +02:00
Lorenz Meier
ebd16975d0
An even number of bytes is when modulo 2 is zero, not modulo 1 is one.
2013-09-22 11:30:37 +02:00
Lorenz Meier
f62aeba420
Cover last potential corner case with mixers, should be totally safe now
2013-09-22 11:16:19 +02:00
Anton Babushkin
96d8ee3483
Merge branch 'master' into mpc_yaw_fix
2013-09-21 15:36:16 +02:00
Lorenz Meier
7033aa173b
Merge pull request #415 from PX4/gps_cleanup
...
GPS cleanup
2013-09-21 03:06:46 -07:00
Julian Oes
327f1f8001
Look for the appropriate images in the uploader
2013-09-21 11:23:42 +02:00
Anton Babushkin
b56723af2a
mavlink: bugfix
2013-09-21 10:20:26 +02:00
Anton Babushkin
32fbf80ab8
mavlink: EPH/EPV casting issue fixed
2013-09-21 10:17:00 +02:00
Anton Babushkin
42f930908f
gps: more cleanup, some more info in 'gps status'
2013-09-21 10:13:50 +02:00
Anton Babushkin
8d6a47546a
gps: fixed code style, more informative and clean messages
2013-09-21 08:59:04 +02:00
Lorenz Meier
cd8854e622
Hotfix: Make param saving relatively robust
2013-09-20 19:59:48 +02:00
Anton Babushkin
ab26ecf188
Merge branch 'master' into mpc_yaw_fix
2013-09-20 16:14:21 +02:00
Thomas Gubler
d542735b2a
re-enable state hil
2013-09-20 09:44:48 +02:00
Anton Babushkin
2362041dc1
commander: state indication changed, 3 green blinks = succsess, 3 white blinks = neutral, 3 red blinks = reject
2013-09-19 19:58:41 +02:00
Anton Babushkin
09452805b1
rgbled: copyright updated
2013-09-19 18:46:35 +02:00
Anton Babushkin
528666c912
multirotor_pos_control: yaw setpoint bug fixed
2013-09-19 18:26:33 +02:00
Anton Babushkin
7ac13df081
Merge branch 'master' into rgbled_fix
2013-09-19 18:14:42 +02:00
Anton Babushkin
a012d5be82
rgbled: more cleanup
2013-09-19 18:13:11 +02:00
Anton Babushkin
f2d5d008a6
rgbled: major cleanup and bugfixes
2013-09-19 11:33:04 +02:00
Lorenz Meier
8b992f720b
Merge pull request #398 from NosDE/master
...
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
2013-09-19 01:24:31 -07:00
Lorenz Meier
fdc4521949
Hotfix: Disabling param lock, not operational yet
2013-09-19 07:51:37 +02:00
px4dev
978a234d29
Lock name should not equal locking function name. Urr.
2013-09-18 22:40:54 -07:00
Lorenz Meier
a9de6149da
Merge pull request #406 from jean-m-cyr/master
...
Implement Spektrum DSM pairing in V2
2013-09-18 22:30:15 -07:00
px4dev
7e0da345f0
The parameter system is supposed to have a lock; implement one.
2013-09-18 21:47:29 -07:00
Jean Cyr
72df378577
Finally get the #if right!!!
2013-09-18 20:24:33 -04:00
Jean Cyr
390d5b34de
Fix backwards ifdef in dsm.c
2013-09-18 20:14:53 -04:00
Jean Cyr
89d3e1db28
Implement Spektrum DSM pairing in V2
...
- Bind control for V2
- Relays and accessory power not supported on V2 hardware
2013-09-18 20:04:22 -04:00
Lorenz Meier
626f433630
Merge branch 'master' of github.com:PX4/Firmware
2013-09-18 11:49:32 +02:00
Lorenz Meier
6624c8f1c4
Hotfix: Make voltage scaling for standalone default
2013-09-18 11:49:22 +02:00
Lorenz Meier
210e7f9245
Make param save command tolerant of FS timing
2013-09-18 08:44:02 +02:00
Lorenz Meier
ac00100cb8
Hotfix: Disable gyro scale calibration to prevent people from wrongly using it
2013-09-18 08:43:38 +02:00
Lorenz Meier
a4ecdc9582
Removed unneeded flush
2013-09-17 08:53:39 +02:00
Lorenz Meier
6c2640768d
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1
2013-09-16 13:30:49 +02:00
Lorenz Meier
9e7077fdf9
Added more acknowledgements after another author sweep
2013-09-16 13:09:37 +02:00
Lorenz Meier
489e7b2f1e
Merge pull request #401 from PX4/sdlog2_LPOS
...
sdlog2: position & velocity valid, postion global and landed flags added...
2013-09-15 22:53:33 -07:00
Randy Mackay
f4abcb51a1
tone_alarm: add #define for device path
2013-09-16 07:21:31 +02:00
Randy Mackay
1a641b791d
tone_alarm: more device paths replaced with #define
2013-09-16 07:21:16 +02:00
Lorenz Meier
03727974f1
Fix binding states for DSM
2013-09-15 18:48:28 +02:00
Lorenz Meier
3c59877b50
Naming consistency improved
2013-09-15 09:13:13 +02:00
Lorenz Meier
ac3f1c55c7
Adding more references, adding inline references to make sure a reader of the source file will not miss them
2013-09-15 09:08:14 +02:00
Anton Babushkin
2fbd23cf6e
sdlog2: position & velocity valid, postion global and landed flags added to LPOS, some refactoring
2013-09-14 17:31:58 +02:00
Lorenz Meier
a0d26cb282
Make mixer upload not depending on single serial transfer error
2013-09-14 16:25:38 +02:00
Anton Babushkin
8a70efdf43
Beep and print message when arming is not allowed
2013-09-14 08:55:45 +02:00
marco
318abfabcb
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
2013-09-13 21:05:41 +02:00
Lorenz Meier
7ad2654b2d
Merge pull request #393 from PX4/takeoff_sp_fix
...
multirotor_pos_control: setpoint reset rewritten
2013-09-13 11:07:32 -07:00
Lorenz Meier
4b92138207
Merge pull request #395 from jean-m-cyr/master
...
Implement message based receiver pairing
2013-09-13 09:41:50 -07:00
Lorenz Meier
24648b5294
Minor cleanups in the drivers
2013-09-13 10:16:32 +02:00
Lorenz Meier
11530ac021
Merge remote-tracking branch 'origin/spi-device-locking' into fat-dma-spi
2013-09-13 09:56:01 +02:00
Lorenz Meier
6a784b770e
Merge branch 'master' of github.com:PX4/Firmware into status_monitoring
2013-09-13 09:30:33 +02:00
px4dev
19fdaf2009
Use the generic device::SPI locking strategy.
2013-09-12 23:56:53 -07:00
Jean Cyr
41610ff7dd
DSM pairing cleanup in px4io.cpp
...
- Simplify parameter range checking in dsm_bind_ioctl
- Replace DSM magic numbers with symbolic constants
2013-09-12 21:36:20 -04:00
Lorenz Meier
d84fe2913e
Move IRQ restore to right position
2013-09-13 01:34:49 +02:00
Lorenz Meier
6dd4069561
Merge branch 'master' of github.com:PX4/Firmware into fat-dma
2013-09-13 00:36:08 +02:00
Lorenz Meier
8fbf698e62
Adding missing author info and acknowledgements
2013-09-12 14:02:30 +02:00
Lorenz Meier
df763ff7e2
Merged master
2013-09-12 13:54:59 +02:00
Lorenz Meier
a418498f1b
Hotfix: Use sensible default gains for users not being able to read instructions.
2013-09-12 12:51:21 +02:00
Lorenz Meier
be436d3a99
Merge branch 'master' of github.com:PX4/Firmware into fat-dma
2013-09-12 09:52:49 +02:00
Lorenz Meier
c92e3f3f4b
Merge branch 'master' into fat-dma
2013-09-12 09:51:06 +02:00
Andrew Tridgell
4893509344
drivers: report error_count in drivers where possible
2013-09-12 09:26:49 +02:00
Lorenz Meier
c9b8a019ea
Merge branch 'master' of github.com:PX4/Firmware into status_monitoring
2013-09-12 09:26:30 +02:00
Andrew Tridgell
7257642371
perf: added perf_event_count() method
...
this allows drivers to get an event_count from a perf counter
2013-09-12 09:25:08 +02:00
Andrew Tridgell
0b7294a26e
added error_count field to sensor report structures
2013-09-12 09:25:01 +02:00
Andrew Tridgell
e9e46f9c9d
px4io: added monitoring of vservo and vrssi
...
publish via servorail_status ORB topic
2013-09-12 09:24:53 +02:00
Andrew Tridgell
f12794d30e
uORB: added new servorail_status object
...
used for VSERVO and RSSI on FMUv2
2013-09-12 09:24:40 +02:00
Andrew Tridgell
f7c3ed3ed6
px4io: split io_handle_battery() out from io_handle_status()
...
ready to add vservo and rssi
2013-09-12 09:24:23 +02:00
Jean Cyr
41982579b3
Refactor dsm binding code in px4io.cpp
...
- Move repeated code into member function
2013-09-11 22:54:23 -04:00
Jean Cyr
3b8039e4e0
Implement message based receiver pairing
2013-09-11 22:11:37 -04:00
Andrew Tridgell
760b3ab2e7
ringbuffer: converted to item_size units
...
this fixes a number of indexing bugs
2013-09-12 00:53:14 +02:00
px4dev
cefc7ac00e
Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore.
2013-09-12 00:53:08 +02:00
Andrew Tridgell
a5821d2928
ms5611: converted to using RingBuffer
2013-09-12 00:53:01 +02:00
Andrew Tridgell
4b4f4fee5b
lsm303d: convert to using RingBuffer
2013-09-12 00:52:53 +02:00
Andrew Tridgell
274e3aa2ca
bma180: convert to using RingBuffer
2013-09-12 00:52:45 +02:00
Andrew Tridgell
b8ffb574ca
mb12xx: convert to using RingBuffer class
2013-09-12 00:52:38 +02:00
Andrew Tridgell
63fb702d7f
l3gd20: convert to using RingBuffer class
2013-09-12 00:52:31 +02:00
Andrew Tridgell
36b7b7bc5f
airspeed: convert to using RingBuffer class
2013-09-12 00:52:21 +02:00
Andrew Tridgell
815ccee0e7
mpu6000: fixed race condition in buffer increment
2013-09-12 00:52:13 +02:00
Andrew Tridgell
37d09f0944
mpu6000: use a wrapper struct to avoid a linker error
...
the linker doesn't cope with us having multiple modules implementing
RingBuffer<gyro_report>
this also switches to use force() instead of put(), so we discard old
entries when the buffer overflows
2013-09-12 00:51:54 +02:00
Andrew Tridgell
3c45261117
hmc5883: use a RingBuffer to hold report queue
...
this simplifies the queue handling, and avoids the need for a
start()/stop() on queue resize
2013-09-12 00:51:41 +02:00
Andrew Tridgell
3329e3c38c
ringbuffer: added resize() and print_info() methods
...
this simplifies the drivers
2013-09-12 00:51:34 +02:00
px4dev
1828b57c58
ringbuffer: added force() and use lockless methods
...
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
2013-09-12 00:51:24 +02:00
Andrew Tridgell
04f8e338b6
hmc5883: add perf count, and removed unnecessary checks for -32768
...
we've already checked that the absolute value is <= 2048
2013-09-12 00:51:13 +02:00
Lorenz Meier
0308f399d9
Merge branch 'master' of github.com:PX4/Firmware
2013-09-12 00:43:27 +02:00
Lorenz Meier
5e6d3604a3
Made MS5611 startup exclusive as well
2013-09-11 22:46:00 +02:00
px4dev
514d32e961
Cut down 'tests file' for debugging
2013-09-11 13:42:29 -07:00
px4dev
ed4b34547c
Make the init code compile if we don't have the granule allocator / dma allocator required
2013-09-11 13:42:29 -07:00
px4dev
bbac1445b0
Add DMA buffer allocation pool.
2013-09-11 13:42:29 -07:00
Lorenz Meier
3a326cb467
Guard probe / reset against other SPI drivers
2013-09-11 22:16:29 +02:00
Lorenz Meier
da3620bd53
Compile fix
2013-09-11 01:15:54 +02:00
Anton Babushkin
90873474a9
multirotor_pos_control: setpint reset rewritten
2013-09-10 22:58:44 +02:00
Lorenz Meier
8131d28a0f
Exported disarmed PWM values as IOCTLs
2013-09-10 21:38:32 +02:00
Lorenz Meier
3047b6ced0
Another set of minor style edits
2013-09-10 21:09:11 +02:00