Stop using gradlew in gitlab-ci, collapse proto codegen into a single job, add pipeline cacheing
These changes all make the pipeline run much faster for incremental builds.
This commit is contained in:
@@ -24,8 +24,8 @@ func getVehicle2D() throws -> Vehicle2D? {
|
||||
let serialPort = SerialPort(path: "/dev/ttyUSB0")
|
||||
|
||||
// The port does not open/initialise inside of the ESP32ServoOutputs, as on macOS /dev/cu.* blocks.
|
||||
try initPort.openPort()
|
||||
initPort.setSettings(receiveRate: .baud115200, transmitRate: .baud115200, minimumBytesToRead: 1)x
|
||||
try serialPort.openPort()
|
||||
serialPort.setSettings(receiveRate: .baud115200, transmitRate: .baud115200, minimumBytesToRead: 1)
|
||||
guard let throttlePin = Esp32ServoOutput(forChannel: 1, forPin: 14, onPort: serialPort) else {
|
||||
print("Failed to create throttle pin.")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user