37 Commits

Author SHA1 Message Date
Jonas Holmberg
f49548d141 Merged with accelerometer. Started baro implementation, not working. 2016-11-09 12:06:32 +01:00
johan9107
c791a9ea3b PID added barometer settings to CLI, eeprom and PID 2016-11-09 10:34:03 +01:00
johan9107
9d1b71fabc PID update, deleted code overflow 2016-11-09 08:35:37 +01:00
Jonas Holmberg
70b70fc5b6 ops 2016-11-07 16:58:07 +01:00
Jonas Holmberg
e09c69fbaa small things 2016-11-07 16:57:59 +01:00
Jonas Holmberg
e22ad43c39 Removed very very very small amount of stuff 2016-11-07 13:42:43 +01:00
Jonas Holmberg
280240815d Possible fix to the accelerometer problem 2016-11-07 10:43:43 +01:00
johan9107
8bd9dc986d PID deleted rows 2016-11-02 13:39:15 +01:00
johan9107
29e621b18e added new calcualtions to accel gyro 2016-11-02 11:17:59 +01:00
88f09eef25 First commit to new acc implementation 2016-11-02 09:22:32 +01:00
Jonas Holmberg
fbae0cf452 Fixed abs function for float values
This could cause the anti windup to work. Needs testing.
2016-11-01 14:05:52 +01:00
Jonas Holmberg
4accab0660 Fixed the problem with windup 2016-11-01 12:18:50 +01:00
johan9107
c6d50810cb PID take away antiwindup protection 2016-11-01 10:03:35 +01:00
mdhsweden
40454ae608 Casts added to several functions in PID section
Signed-off-by: mdhsweden <mdhsweden@gmail.com>
2016-10-31 19:07:45 +01:00
mdhsweden
4b7fd40967 Cast Ints to float in constrainf. What happens if we return an int on a function which returns a float? Just to be sure 2016-10-31 18:30:09 +01:00
johan9107
3039f3a394 pid SHIT FIX 2016-10-31 18:17:13 +01:00
johan9107
dcf36fc542 PID changed buffer to filter 2016-10-31 14:44:34 +01:00
johan9107
f787b19572 PID, deleted overflow code 2016-10-31 11:20:30 +01:00
e6ce36f9e9 Changes to scaling of the I-term. It is now 200 times smaller 2016-10-31 11:18:54 +01:00
johan9107
dab5b5626d PID new test changes, cast I term to float 2016-10-31 09:58:04 +01:00
Jonas Holmberg
0f37f6600d Added calibration for accelerometer 2016-10-28 14:34:49 +02:00
c57ec51397 Temp fix for eeprom problem 2016-10-28 10:22:42 +02:00
johan9107
428a6140b4 PID added new dweight values 2016-10-28 08:39:05 +02:00
johan9107
3d3d16cead PID added new lowpas filter and average calculations to Accelerometer values 2016-10-27 14:30:26 +02:00
johan9107
c3e969e982 PID Added new values to improve filter 2016-10-27 11:55:16 +02:00
johan9107
69c9f22dad Pid update angle caluclations 2016-10-26 16:22:33 +02:00
johan9107
facfcb7023 PID accelerometer added low pass filter 2016-10-25 10:13:49 +02:00
1ef8f56ed6 Changes to acc functionality. OBS! Not working correctly 2016-10-24 17:34:58 +02:00
johan9107
c0cb3ffe17 PID, added correct calculations to accelerometer data
PID, added correct calculations to accelerometer data
2016-10-24 14:37:01 +02:00
johan9107
ce9d016e81 PID eeprom settings changed to correct index of PID profile
PID eeprom settings changed to correct index of PID profile
2016-10-20 10:42:49 +02:00
johan9107
7763f73c2c Connected cli and eeprom, and motormix to PID settings
Connected cli and eeprom, and motormix to PID settings
2016-10-19 16:59:48 +02:00
johan9107
8bb27e91fa Improved and added new PID structure
Changed the PID strucutre and added new filters
2016-10-19 14:26:10 +02:00
johan9107
8031d48cb0 PID new rc input
added a new gloabal functions to get rc input from radio (rc_input)
2016-10-18 11:02:23 +02:00
johan9107
2227ab997f PID changes
Added ID profile to PID init and new init func
2016-10-17 11:58:36 +02:00
johan9107
0e61e0ebf2 PID
Added variables to PID and connections to gyro update
2016-10-14 15:30:14 +02:00
johan9107
a9bde4513a PID functions
Added new global variables and functions to the PID controller which is
supposed to sync with the main program
2016-10-14 10:27:46 +02:00
johan9107
f0c400552d pid and low pass filter
Added pid controller functions and low pass filter functions
2016-10-12 17:17:01 +02:00