Jonas Holmberg
280240815d
Possible fix to the accelerometer problem
2016-11-07 10:43:43 +01:00
88f09eef25
First commit to new acc implementation
2016-11-02 09:22:32 +01:00
27362fcbb6
Merge branch 'PID-Improved'
...
# Conflicts:
# UAV-ControlSystem/src/main.c
2016-11-01 14:41:29 +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
Lennart Eriksson
50bc7bac30
Arduino com working with parser and everything (hopefully)
2016-11-01 09:34:57 +01:00
Lennart Eriksson
1c0c7fb00f
First drafto of new parser
2016-11-01 09:23:40 +01:00
Jonas Holmberg
0f37f6600d
Added calibration for accelerometer
2016-10-28 14:34:49 +02:00
Jonas Holmberg
e1b7a5c2ff
Merge remote-tracking branch 'refs/remotes/origin/PID-Improved' into baro2
...
# Conflicts:
# UAV-ControlSystem/src/drivers/accel_gyro.c
2016-10-28 10:26:19 +02:00
c57ec51397
Temp fix for eeprom problem
2016-10-28 10:22:42 +02:00
Jonas Holmberg
738dca560f
Added I2C soft implementation. Added barometer functionality.
...
In this commit the the barometer is commented out and is not used in the
system. This part also has athe beginnings of the calibration functions
for accel and gyro
2016-10-28 10:22:13 +02:00
Lennart Eriksson
fd743c755e
Fix for starting sampling of data
2016-10-27 13:24:56 +02:00
6838df050b
First test
2016-10-27 10:55:59 +02:00
33426ea90b
Commit only to switch branch. Not ready!
2016-10-26 16:27:34 +02:00
Jonas Holmberg
ec395d11e0
Working software ic2 barometer
...
Can read from baro and get temp, preassure and alt. Will look into
optimizations.
2016-10-25 17:10:36 +02:00
76fb5c8128
Motormixer fixed now! The mid mixer does not max out motors anymore (probably not)
2016-10-25 10:13:51 +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
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
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
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
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