EmanuelFeru
e73f0535d5
UPD: Delay in main loop #138
...
- improvement on HAL_Delay() in main loop, see #138
- minor adjustments for namings
5 years ago
Candas1
7f4b922808
Removed malloc and added more variables (debug protocol). Parameter for alternate adc wiring. Removed unnecessary limiting of cmdL and cmdR. Board_variant parameter for alternate boards
5 years ago
EmanuelFeru
a564f368e2
Ascii Debug updates
...
- added missing pointer to UART2 input user processing
- added comms.c to Makefile
- fixed #134 : uncomment #define AUTO_CALIBRATION_ENA to disable auto-calibration
- small styling adjustments
5 years ago
Candas1
aa5cb18aea
Handle usart overflow mode
5 years ago
Candas1
7a6dc017a6
Improvements
5 years ago
Candas1
69ed548823
FIx
5 years ago
Candas1
2c433ccbb4
Improvements
5 years ago
Candas1
177d5d4dc1
Fix
5 years ago
Candas1
0f6132a71e
Renamed functions
5 years ago
Candas1
3acae8ae10
Function for setting, getting, incrementing,initializing and dumping parameters
5 years ago
EmanuelFeru
63276132a7
Fixed RC switch update
5 years ago
EmanuelFeru
7aee1b37c6
Added beep for input change
5 years ago
EmanuelFeru
31c321c83a
Fixed RC switch reading from Sideboard data
...
- updated figures
- renamed RC switched to match transmitter convention
5 years ago
EmanuelFeru
ce03d4c816
Activated SW2 on RC
5 years ago
EmanuelFeru
e412e9edfc
Fix Nunchuk + UART
...
- fixed Nunchuck timeout when UART was enabled
5 years ago
EmanuelFeru
38d8dc6177
Fixed timeoutCnt init values
5 years ago
EmanuelFeru
df86ef44fd
Dual-inputs implemented
...
- implemented dual-inputs functionality
- the dual-inputs combinations mentioned in Readme are now supported
5 years ago
EmanuelFeru
5ca3fa4f85
InputStruct update
...
- input1, input2 converted to structure
- some functions are re-positioned in util.c
5 years ago
EmanuelFeru
9504845ec1
Reverted pointer cast
...
- was not working as expected
5 years ago
EmanuelFeru
164219c942
Update util.c
...
missed some #ifdef
5 years ago
EmanuelFeru
c86d9c4f43
Improvements and clean-up
...
- clean-up printfs
- removed consoleLog function with respective files
- removed Delay when using printf
- renamed speedL, speedR to cmdL, cmdR
- corrected Arduino baud rate
- updated FLASH write pointer cast int16_t to uint16_t
5 years ago
EmanuelFeru
d1286e246b
Fixed printf - works with default UART settings
...
- still some clean up to do
5 years ago
EmanuelFeru
31f0f915cf
Merge branch 'master' into master
5 years ago
EmanuelFeru
3fcae4fc8b
Baud rate to 115200
...
- updated baud rate to 115200
- minor updates to match sideboard data
5 years ago
EmanuelFeru
994277affe
Fixed beep counter interraction
...
- beep counter interraction fix
- readme update
5 years ago
EmanuelFeru
098ca9f97c
Diag: beep numbers for errors
...
- implemented beep numbers in case of error for easier debugging
- fixed bug: power button needs to be pressed multiple times to turn on
5 years ago
larsm
c57e1a0e4e
implemented write syscall for printf, added float-support for printf, serial tx does not need an interrupt anymore, replaced consoleLog and consoleScope with printf, changed debug output: every comment starts with "# " now, added lots of debug messages, added welcome message with gcc version and build date
5 years ago
larsm
ad8c2a552a
improved VARIANT_ADC documentation in config.h
5 years ago
EmanuelFeru
925008467b
Minor updates RC
...
- moved all the RC inputs (PPM, PWM, iBUS) to Right cable
- updated timing to enter torque and speed update from 300ms to 1000ms
5 years ago
EmanuelFeru
44cf0c8f1f
update Auto-calibration
...
- implemented forced potentiometer type
- extended the INPUTx_TYPE to 0:Disabled, 1:Normal Pot, 2:Middle Resting Pot, 3:Auto-detect
5 years ago
EmanuelFeru
8dc6eb68eb
Updated Flash write order
5 years ago
EmanuelFeru
44befc480a
Input Auto-calibration
...
- mainly rearangement of function
- updated initialization in the auto-calibration function
- added beep for confirmation of Input protection
5 years ago
EmanuelFeru
419ef454f3
Merge branch 'master' into master
5 years ago
Candas1
1ab75e5ff9
Fix auto calibration
5 years ago
Candas1
f962d16cd6
Test print log
5 years ago
Candas1
11ab848103
Current and speed setting for all variants
5 years ago
EmanuelFeru
c2647ed686
Improved Standstill Hold functionality
...
- Standstill Hold should now engage sooner if Brake pedal is pressed to prevent continuous rolling in a Downhill situation.
5 years ago
Candas1
4cc02fddc1
Improved auto-calibration
5 years ago
Candas1
b1169c02b7
Fixes
5 years ago
Candas1
b50efdcab2
Fix typo
5 years ago
Candas1
e508a2131a
Update util.c
5 years ago
Candas1
dd09115e95
Update util.c
5 years ago
Candas1
78246f4e53
Update util.c
5 years ago
Candas1
1b32555fb0
Update util.c
5 years ago
Candas1
d7880dafeb
Update util.c
5 years ago
Candas1
09b2728168
Update util.c
5 years ago
Candas1
5d954a05aa
Fix typo
5 years ago
Candas1
0ab8e8e5ac
Improve adddeadband function
...
- Use MAP function
- add additional parameter for middle value
- use adddeadband function with ADC input when mid resting pot is used
5 years ago
EmanuelFeru
4fbf2549c9
Cruise Control update
...
- added support for Cruise Control in HOVERCAR variant
- updated the shortBeep function, didn't like the beeping sound :)
5 years ago
EmanuelFeru
8369e4d47d
Increased delay for CC
...
In Cruise Control (CC), the button can bounce. The beep delay is increased from 100ms to 200ms to prevent button bouncing and continuous activation/deactivation of CC.
5 years ago