57 Commits

Author SHA1 Message Date
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
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
7ca3bbec8f Changed some min max values in CLI and changed direction of the GYRO 2016-10-20 18:22:40 +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
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
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
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
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
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
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
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
d3423c34e2 Merge remote-tracking branch 'remotes/origin/master' into eeprom
# Conflicts:
#	UAV-ControlSystem/src/main.c
2016-10-04 13:36:58 +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
Lennart Eriksson
9e6ba36ac0 I2C working with compass only so far 2016-10-03 09:42:16 +02:00
Lennart Eriksson
94a00d607d Merge pull request #12 from MDHSweden/Gyro
Working SPI gyroacc, Approved by Lennart Eriksson
2016-10-03 08:50:23 +02:00
Robert Skoglund
cd6087f3d4 Working SPI gyroacc 2016-10-03 08:41:16 +02:00
Lennart Eriksson
d8a9adff6d USART implementation
This is an implementation of the USART but the DMA transfer is not
supported, all other functionalities are working including i.e. polling,
regular processor transmit and dma double buffer
2016-09-30 12:20:10 +02:00
7271ac3138 EEPROM works and is upgraded and simplified 2016-09-29 13:07:43 +02:00
Lennart Eriksson
30cb13cf49 Intermediate storage point 2016-09-27 11:35:07 +02:00
Jonas Holmberg
e23f6c5edd Merge remote-tracking branch 'refs/remotes/origin/master' into Scheduler 2016-09-26 14:58:57 +02:00
Jonas Holmberg
fc5ca4330c Final adjustments
Added the and adjusted the final part to the scheduler. Added ability to
add task functionality that will run. Updated main file to its intended
state. Further added led functinality along with led warnings.
2016-09-26 08:53:50 +02:00
83b56b2404 Renaming for better explanation of rx inverter for uart1 2016-09-22 11:29:16 +02:00
Lennart Eriksson
7c37ef0b47 temp checkin 2016-09-22 08:31:51 +02:00
a89e3dc4e9 Merge branch 'master' of https://github.com/MDHSweden/UAV-Control-System 2016-09-21 16:38:55 +02:00
1de3babe98 Inverter for UART1 implemented. Not tested 2016-09-21 16:27:37 +02:00
Jonas Holmberg
c2ff566c46 Merge remote-tracking branch 'refs/remotes/origin/master' into Scheduler 2016-09-21 10:59:14 +02:00
Jonas Holmberg
049575f54f Commit because update from master needed
Added some functionallity to utilize debug tasks. Only to be used when
testing the scheduler and never when the real system should run.
2016-09-21 10:59:09 +02:00
Lennart Eriksson
6f7a9c6495 Fixed bugs with system clock 2016-09-21 10:47:12 +02:00
Lennart Eriksson
eea60e95da System Clock 2016-09-21 10:01:14 +02:00
310d377f8e Merge remote-tracking branch 'refs/remotes/origin/master' into ADCfix
# Conflicts:
#	UAV-ControlSystem/.cproject
#	UAV-ControlSystem/.settings/language.settings.xml
#	UAV-ControlSystem/Debug/UAV-ControlSystem.bin
#	UAV-ControlSystem/Debug/objects.list
#	UAV-ControlSystem/Debug/output.map
#	revolution_hal_lib/.cproject
#	revolution_hal_lib/.settings/language.settings.xml
#	revolution_hal_lib/Debug/objects.mk
#	revolution_hal_lib/Debug/sources.mk
2016-09-20 16:51:26 +02:00
c8440bd1a8 ADC finalized and working 2016-09-20 16:34:51 +02:00
5716445448 Working ADC with DMA. Needs some cleaning 2016-09-20 11:43:32 +02:00
Lennart Eriksson
4370f1b413 Merge pull request #5 from MDHSweden/pwmDriver
Drivers Oneshot125 approved by Lennart
2016-09-19 16:19:35 +02:00
johan9107
c0c9aa8572 Drivers Oneshot125
Added the protocol oneshot 125 to pwm drivers
2016-09-19 15:54:32 +02:00