248 Commits

Author SHA1 Message Date
johan9107
facfcb7023 PID accelerometer added low pass filter 2016-10-25 10:13:49 +02:00
6bdcb6e853 Some more fixes on mixer. Not working well! 2016-10-25 09:50:35 +02:00
johan9107
6994bcaf11 Merge remote-tracking branch 'refs/remotes/origin/master' into PID-Improved 2016-10-25 09:44:01 +02:00
johan9107
75dadc7484 Chnaged port from usart 3 to 6 on cli 2016-10-25 09:43:38 +02:00
4da4736257 Fix for motormix low. Not tested! 2016-10-25 09:17:58 +02:00
johan9107
18cdcc628b Merge remote-tracking branch 'refs/remotes/origin/master' into PID-Improved 2016-10-24 18:00:18 +02:00
johan9107
7186db1c6b Merge remote-tracking branch 'refs/remotes/origin/master' into PID-Improved 2016-10-24 17:36:21 +02:00
1ef8f56ed6 Changes to acc functionality. OBS! Not working correctly 2016-10-24 17:34:58 +02:00
Lennart Eriksson
8ae24669af Merge pull request #19 from MDHSweden/PID-Improved
Pid improved, approved by Lennart
2016-10-24 14:44:55 +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
1f6bf53f62 Change in calibration. MinCommand set to 990 to be lower than lowest calibration of 1000.
Max calibration is set to MAX_Pulse which is 1950 at this time instead of 2000 which we calibrated with earlier
2016-10-24 11:56:43 +02:00
johan9107
339f3538eb Merge remote-tracking branch 'refs/remotes/origin/master' into PID-Improved 2016-10-21 10:36:41 +02:00
Jonas Holmberg
7ca3bbec8f Changed some min max values in CLI and changed direction of the GYRO 2016-10-20 18:22:40 +02:00
Jonas Holmberg
e75e8a7089 started calibration fixing 2016-10-20 11:09:35 +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
Jonas Holmberg
622a61f17f Merge remote-tracking branch 'refs/remotes/origin/master' into baro2 2016-10-20 09:03:02 +02:00
Jonas Holmberg
db48b1235c Ceated new branch for baro 2016-10-20 08:59:30 +02:00
Lennart Eriksson
e21375b2af Merge pull request #18 from MDHSweden/PID-Improved
Added a new Pid improved, connected to cli, eeprom and motormix, Approved by Lennart Eriksson
2016-10-20 08:46:38 +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
23a19c314b PID changed postion of code
PID changed postion of defines
2016-10-18 17:01:11 +02:00
johan9107
4120569ed3 Merge remote-tracking branch 'refs/remotes/origin/master' into PID 2016-10-18 17:00:08 +02:00
Jonas Holmberg
7da69bb6c2 small comments 2016-10-18 15:07:29 +02:00
Lennart Eriksson
f5603ecfea Merge pull request #17 from MDHSweden/PID
Pid fixed conflicts approved by Lennart
2016-10-18 13:02:51 +02:00
Lennart Eriksson
ea48b3560b Merge remote-tracking branch 'origin/PID' into PID
# Conflicts:
#	UAV-ControlSystem/src/config/cli.c
#	UAV-ControlSystem/src/config/eeprom.c
#	UAV-ControlSystem/src/drivers/sbus.c
2016-10-18 12:20:07 +02:00
Lennart Eriksson
d22c77fc06 Merge remote-tracking branch 'refs/remotes/origin/master' into PID 2016-10-18 12:11:15 +02:00
Jonas Holmberg
238b71b8bc Added some more comments to Failsafe and CLI
General comments added for the failsafe and toggles. Also added
description in CLI.h on the necessary steps to add a new command to the
CLI and how to also add the value it should operate on to the EEPROM.
2016-10-18 11:51:47 +02:00
Jonas Holmberg
dfac730893 Added improvement to AUX command processing
Improved the speed of the processing of aux commands from the rc that
handles various bolean flags in the system. Also added some more
commenting to the failsafe and toggles fiels. Also updated the motor 7
and 8s information in the REVO.h
2016-10-18 11:13:27 +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
d72e7e099b New mixer mode implemented with low scaling. Renaming of Airmode into Full scale
Implemented new modes in cli
Fixed bugg in motors.c cutting out max value
2016-10-17 14:34:09 +02:00
johan9107
4bb2d6fdaf Merge remote-tracking branch 'refs/remotes/origin/PID_from_eeprom' into PID 2016-10-17 11:59:41 +02:00
johan9107
2227ab997f PID changes
Added ID profile to PID init and new init func
2016-10-17 11:58:36 +02:00
Lennart Eriksson
8c5d82e416 Fix 2016-10-17 09:08:36 +02:00
Lennart Eriksson
d5dcbf9c25 cli / eeprom implementation tested and verified 2016-10-17 09:05:34 +02:00
82c8040520 Airmode is fixed. Still need to think about the "non Airmode" implementation 2016-10-14 18:07:57 +02:00
Lennart Eriksson
679040f9e7 Merge remote-tracking branch 'refs/remotes/origin/PID' into PID_from_eeprom 2016-10-14 15:54:33 +02:00
Lennart Eriksson
efd9f23f55 temp changes 2016-10-14 15:53:40 +02:00
Jonas Holmberg
51ec5b4170 Fixed some errors with the sbus RC command and other small things
Fixed an issue in the SBUS RC command read. Also fixed some things in
the motormix, not yet fixed totally. Also added a command in CLI to
calibrate the motors of the aircraft.
2016-10-14 15:32:49 +02:00
johan9107
0e61e0ebf2 PID
Added variables to PID and connections to gyro update
2016-10-14 15:30:14 +02:00
Lennart Eriksson
a3fe614d3a temp change on eeprom 2016-10-14 14:33:15 +02:00
Lennart Eriksson
aeda5b45e2 Merge remote-tracking branch 'refs/remotes/origin/PID' into PID_from_eeprom 2016-10-14 10:28:51 +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
Lennart Eriksson
67495c1ba9 Merge remote-tracking branch 'refs/remotes/origin/master' into PID_from_eeprom 2016-10-14 09:51:59 +02:00
Jonas Holmberg
bce8d66ea0 May have fixed the problem
May have solved the issue with the throttle not wokring when maxing some
of the stick controlls. Could still not be correct but the issue seems
to have been located.
2016-10-13 17:10:13 +02:00
0df214b68a Fixing RC problems on header in message 2016-10-13 14:05:00 +02:00
johan9107
de4348c385 Merge remote-tracking branch 'refs/remotes/origin/master' into PID 2016-10-13 10:07:22 +02:00
Jonas Holmberg
9b0d35a579 Small changes to the motermix to perform testing 2016-10-13 10:01:41 +02:00
Lennart Eriksson
62d2701e9e Merge pull request #15 from MDHSweden/PID
pid and low pass filter Accepted by Lennart Eriksson
2016-10-12 17:40:30 +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
Jonas Holmberg
d3112e7128 Merge remote-tracking branch 'refs/remotes/origin/Failsafe-and-toggles' 2016-10-12 15:00:50 +02:00