This commit is contained in:
2023-08-07 13:29:45 +02:00
parent 8ed91c4b11
commit 8d437b35e8
5 changed files with 3 additions and 82 deletions
-9
View File
@@ -1,9 +0,0 @@
Added this code in SparkFun_u-blox_GNSS_Arduino_Libary.cpp in the function pushRawData.
_spiPort->beginTransaction(SPISettings(_spiSpeed, MSBFIRST, SPI_MODE0));
digitalWrite(_csPin, LOW);
for (uint16_t i = 0; i < numDataBytes; i++) {
spiTransfer(dataBytes[i]);
}
digitalWrite(_csPin, HIGH);
_spiPort->endTransaction();
-26
View File
@@ -1,26 +0,0 @@
ps3.h
void ps3ResetGlobals();
ps3.c
void ps3ResetGlobals() {
// Own Code
is_active = false;
ps3_connection_cb = NULL;
ps3_connection_object_cb = NULL;
ps3_connection_object = NULL;
ps3_event_cb = NULL;
ps3_event_object_cb = NULL;
ps3_event_object = NULL;
}
Ps3Controller.h
private
void resetGlobals();
Ps3Controller.cpp
void Ps3Controller::resetGlobals() {
ps3ResetGlobals();
}
in -> Ps3Controller::begin
this->resetGlobals();
-30
View File
@@ -1,30 +0,0 @@
ESP32 Rover Pinbelegung
3V3 GND
x 23 DirR1
x 22 PWMR
x TX PC
x RX PC Connector I2C
BATTERY 35 21 SDA SDA
INTL1 32 GND GND
INTL2 33 19 SCL SCL
INTR1 25 18 VCC
INTR2 26 5 SPI_CSK
DirL1 27 17 SPI_CS
DirR2 14 16 SPI_COPI
DirL2 12 4 SPI_CIPO
GND x
PWML 13 2 Probleme beim flashen
x 15 WS2812 LED ?
x x
CMD x
5V USB x
Connector Encoder
- 2 1 +
OB 4 3 -
3V3 6 [5] OA
8 7
10 9
@@ -1,7 +1,10 @@
Für irgendwann:
-> Program underfloorLighting
-> Add an beeper
-> Program the beeper
-> Update GNSS Lib to v3
Besser zügig:
Speedometer buffer ergibt kaum Sinn
Abweichung max 25 cm bevor zu ungenau damit nie mehr als 50 cm gesamt.
-17
View File
@@ -1,17 +0,0 @@
Controller
PS3-Button: Change Mode
Mode: ManualControl
L3: Joystick Mode
Left Joystick: Drive
R3: Shoulder Trigger Mode
L2: Spin left side
R2: Spin right side
Mode: Autopilot
Mode: CaptureRoute
Mode: ConsolControl