110 Commits

Author SHA1 Message Date
Jonas Holmberg
f35617c92d Working communication with the BARO
Not a full implementation just a test that can get conntact with the
BARO and no other calculations are made. This is not using the HAL but
its a software implementation that simly sets pins high and low etc...
2016-10-25 14:23:01 +02:00
Jonas Holmberg
e75e8a7089 started calibration fixing 2016-10-20 11:09:35 +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
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
Jonas Holmberg
7da69bb6c2 small comments 2016-10-18 15:07:29 +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
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
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
Jonas Holmberg
9b0d35a579 Small changes to the motermix to perform testing 2016-10-13 10:01:41 +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
2b05c843a1 Fiexed small errors and added more commands for RC things in CLI
Also added some statistical values that can be veiwed in CLI to see how
they sytem performs.
2016-10-12 14:58:21 +02:00
Jonas Holmberg
09daa76d63 Merge remote-tracking branch 'refs/remotes/origin/master' into Failsafe-and-toggles 2016-10-12 09:49:51 +02:00
Jonas Holmberg
7deb9041a6 Adde functionality
Added fucntionality to make failseafes and bool toggles.
2016-10-11 18:06:23 +02:00
26ab9475d5 Merge branch 'master' of https://github.com/MDHSweden/UAV-Control-System 2016-10-11 18:04:16 +02:00
20f006a0ca Some changes to yaw inversion and changed some possible negative ints to int 2016-10-11 18:02:49 +02:00
33398e756c Implemented all but EEPROM and check for Airmode and Armed 2016-10-11 12:02:28 +02:00
Jonas Holmberg
666250485b Merge remote-tracking branch 'refs/remotes/origin/master' into eeprom 2016-10-10 09:07:47 +02:00
Jonas Holmberg
c8599dcf61 Merge remote-tracking branch 'origin/eeprom' into eeprom
# Conflicts:
#	UAV-ControlSystem/src/config/cli.c
#	UAV-ControlSystem/src/tasks_main.c
2016-10-10 09:05:26 +02:00
Jonas Holmberg
33a148b4dd Finished CLI Implementation
The finished CLI implementation. All actions should be in a working
condition. It should be able to read messages from any serial
writer/reader. To do later if time build an desktop application to
communicate with
2016-10-10 08:59:49 +02:00
ff9ebbd15e Created files for motormixer 2016-10-07 17:36:16 +02:00
bb866510f8 Merge branch 'master' of https://github.com/MDHSweden/UAV-Control-System 2016-10-07 17:30:53 +02:00
6aa6084e55 SBUS is done now! besides failsafe which needs more work. 2016-10-07 17:28:10 +02:00
Lennart Eriksson
dca3a03ab9 Small fixes 2016-10-06 10:45:16 +02:00
Lennart Eriksson
912f7d0d39 mpu6000 fix with both SPI changes and accel and gyro working + fifo not crashing ever 2016-10-06 09:00:00 +02:00
Jonas Holmberg
05247d9039 Merge remote-tracking branch 'origin/eeprom' into eeprom
# Conflicts:
#	UAV-ControlSystem/inc/config/eeprom.h
#	UAV-ControlSystem/src/config/eeprom.c
#	UAV-ControlSystem/src/main.c
2016-10-04 14:03:36 +02:00
Jonas Holmberg
214617ed1f CLI things
CLI full func and some extra eeprom
2016-10-04 13:38:44 +02:00
d3423c34e2 Merge remote-tracking branch 'remotes/origin/master' into eeprom
# Conflicts:
#	UAV-ControlSystem/src/main.c
2016-10-04 13:36:58 +02:00
fd354ccf2d Final Philip EEPROM version. Now it will be merged with Master 2016-10-04 13:30:15 +02:00
ad9232147c Code cleanups and optimization 2016-10-03 11:45:49 +02:00
Lennart Eriksson
6983d53f8e Finalizing the I2C 2016-10-03 09:51:09 +02:00
Lennart Eriksson
a4d7eccd2b Merge remote-tracking branch 'refs/remotes/origin/master' into I2C
# Conflicts:
#	UAV-ControlSystem/src/main.c
2016-10-03 09:45:21 +02:00