1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
Commit Graph

93 Commits

Author SHA1 Message Date
peabody124
3665209195 While changing defaults also changing some default variances
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3102 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 15:00:13 +00:00
peabody124
3b4a88e365 Update default gyro bias in the AHRSCalibration xml.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3101 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 14:29:10 +00:00
peabody124
a57c289b3a CC-24: Support mounting CC at any angle by applying a rotation. Now need to
rotate sensors to make sure stabilization behaves well so don't use till then.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3100 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 02:15:57 +00:00
peabody124
48c20d37a9 OP-349 CC-32: Added a Completed operation that is returned after successful
save or load

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3093 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 19:16:50 +00:00
peabody124
bd5925d526 CC-35: Separate term for CC yaw bias rate and others
Note: AttitudeSettings changed so you'll need to re-zero it

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3090 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 18:42:48 +00:00
edouard
c9db0794f7 Fix for typo in guidancesettings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3078 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:55:10 +00:00
peabody124
e262e3c220 Convert outer position controller to PI
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3077 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:40:33 +00:00
peabody124
16723fbdf9 Change default yaw mode to rate
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3076 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:40:07 +00:00
jonathan
5d23666839 OP-191: Merge from full-calibration branch. Add orthogonality calibration to the accelerometer, and use it. Also adjust the treatment of accelerometer scale factors, such that the diagonal elements of the calibration scale factor matrix are positive.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3057 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:51:45 +00:00
jonathan
160695e546 OP-191: Merge from full-calibration branch. Add the local gravitational field strength to the home location.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3055 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:48:32 +00:00
fredericg
d270f7e987 Changes to FlightBatterySettings as discussed in forums
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3047 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-19 18:45:40 +00:00
fredericg
8488da6039 rename batterysettings.xml => flightbatterysettings.xml
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3045 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-19 18:30:29 +00:00
FredericG
5bb3662820 OP-322 Implement Audible alarm via PWM - new "PWM Alarm Buzzer" channel type
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3027 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-12 08:58:38 +00:00
scott
afc788bea4 Added 2nd rudder to fixed wing config. This is necessary for flying wings, in particular, that have rudders on the wingtips.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2946 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 05:33:51 +00:00
peabody124
e4d9ef98a5 OP-315: Display run time as a percentage
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2944 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:45 +00:00
peabody124
528f74b512 OP-315: Extend TaskInfo to include run time stats. Still need to configure a
timer to run at around 10 khz.  RTC a good option.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2940 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:29 +00:00
vassilis
b084ea7ea1 FlightPlan/Python: Updated object generator to create a Python file for each UAVObject. It is now possible to access all UAVObjects from the FlightPlan Python scripts.
Warning: The memory utilization when importing objects is unacceptably high making it unusable in the flight code at this point. It can be however used with the SITL simulator. Some more investigation is needed to understand why several kb of memory are used each time a module is imported (even before any functions are called or objects from the module are created). 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2938 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 02:22:50 +00:00
peabody124
c21e9f74b3 OP-329 Make the stabilization mode config gadget compatible with new mode.
Feel free to revert the layout change part - but I'm trying to make it clear
that "stabilization1" no longer naturally matches "position1"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:47 +00:00
peabody124
3b13ad6859 OP-329: Enumerate more possible flight modes now like multiple stabilization
modes so that the FlightMode field is complete in terms of being informative
enough

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2935 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:44 +00:00
peabody124
3e17c2ff55 OP-312: Create a StabilizationDesired object that is the generic input to
Stabilization, carries the desired rate or attitude as well as a flag on how to
intepret it.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2930 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:27 +00:00
loris
6e942d786a OP-316 UAVObject Fix typo, indents, units, default values
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2896 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 00:38:59 +00:00
peabody124
ea390d0b90 CC-26: Add accel bias term. Note it's units are LSB, not m/s^s
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2895 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 22:21:44 +00:00
loris
463403ee82 OP-316 - UAVObject units Fix accelerations units
Fix default calibration values

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2869 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 02:52:19 +00:00
loris
c5d1aea9f4 OP-316 - UAVObject units
Fix accelerations units
Fix default mag values
Fix gyro scale
Fix var units

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2868 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 01:52:39 +00:00
peabody124
4972c99519 OP-316 Update accelerometer units to be right
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2823 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 05:58:21 +00:00
corvus
435072cf4e Modules/Stabilization, Modules/ManualControl:
Move channel StabilizationSettings from ManualControlCommand to
AttitudeDesired, unify channel normalization and put them all into ManualControl

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-15 14:55:00 +00:00
stac
ec8135bd5d gpsposition: minor text changes to description text
No functional change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:38 +00:00
peabody124
9f71f4121c CC-18 Attitude: Change units to proper engineering ones. An accelKp=1 means
that it will completely follow the accel attitude each cycle and is way too
high.  Ki=1 means the gyro bias wil be correct by accels each cycle (way too
high).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:35 +00:00
peabody124
cfe295377c CC-18: Normalize the gravity vector to unity gain
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2754 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:31 +00:00
FredericG
d7fc7646b0 OP-246 UAVOBJ CHANGE - Setting to disable arming/disarming
options="Always Disarmed,Always Armed,Roll Left,Roll Right,Pitch Forward,Pitch Aft,Yaw Left,Yaw Right" defaultvalue="Always Disarmed"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 16:16:20 +00:00
peabody124
810fa70856 UAVObjects: Remove the raw versus filtered fields in the sensor data. Save
some memory.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2706 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 02:42:39 +00:00
peabody124
265737427b CC-7: Make the gyro scale adjustable (for now at least, this was largely for
debugging, let's compare values).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 08:57:42 +00:00
peabody124
1663a838ff CC-7 Full complimentary filter ala Mahoney paper using quaternion
representation.  Also improved gyro bias initialization.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2691 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 08:57:38 +00:00
peabody124
c33fa63581 TaskInfo: Remove Watchdog task, no longer used
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 08:57:17 +00:00
peabody124
1c6b51b704 UAVObjects/AttitudeSettinsg: Object for CC to tune the attitude estimation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:26 +00:00
peabody124
15f3ada700 Get rid of ms * 10 units since the time resolution of FreeRTOS is in ms
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2665 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:22 +00:00
peabody124
c9207b3754 CC-14 PIOS/Servo: Set more than two bank speeds
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:55 +00:00
peabody124
85d42868d6 CC-10 Rename the TaskInfo and Alarm field for CCAttitude to Attitude
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2654 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:36 +00:00
corvus
000a45f1bf CopterControl - Build CopterControl with a Makefile specified subset of UAVObjects - code generation by uavobjgenerator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2622 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 12:36:41 +00:00
sambas
ba5ebb6b13 OP-303 PIOS/Sonar: preliminary support for HCSR04 ultrasound altimeter module, tested and working :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2610 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 19:21:22 +00:00
pip
811604649d Change the manual microsecond values from int16 to uint16 - no more negative microsecond PWM readings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2608 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 18:17:26 +00:00
vassilis
b297ef0ae5 Flight/FlightPlanner: First release of openpilot.py library giving access to RTOS and debug fields. Implemented STOP command, this should be the normal way for stopping scripts. The KILL command should be only used as a last resort for misbehaving scripts. The KILL command will delete the VM thread.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 21:32:23 +00:00
stac
5e6d87b2db UAVObjects-xml: Move UAVObject definitions outside of gcs dir
The UAVObject definition (.xml) files are used by both the
GCS build as well as the flight software builds.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:43 +00:00