431 Commits

Author SHA1 Message Date
57982a9423 Fix esp32 servo implementation, update rust service to work with it and support print vehicle 2025-03-08 11:06:02 +10:30
3ea9e30bda Update android version, fix android build, 2025-02-26 18:15:19 +10:30
Michael Pivato
bed026dd20 Clean up rust implementation, add lidar implementation in rust 2024-03-15 21:17:13 +10:30
Piv
a3060d7e22 Update android dependencies, remove legacy python/swift grpc plugins 2023-01-22 20:53:49 +10:30
Michael Pivato
957880f1fb Merge branch 'car-rs' into 'master'
Replace swift implementation with rust

See merge request vato007/picar!10
2023-01-22 04:38:46 +00:00
Piv
34fbc40ebb Initialise esp32 pwm, fix esp32 initial setup as it uses 2 bytes 2023-01-22 15:05:32 +10:30
Piv
40e5269c35 Remove swift source, update esp32 usb servo to share serial port 2023-01-22 14:20:36 +10:30
piv
b56467dd1c Fix android build
Fixes changes to grpc services and downgrades appcompat due to a bug in dependency versions
2022-10-15 14:30:20 +10:30
piv
4d8dddbef0 Add print vehicle to car-rs, update android gradle versions 2022-10-15 13:55:21 +10:30
Piv
3daa815710 Add single steering/throttle grpc methods, add bounds checks to set servo value 2022-10-02 15:44:38 +10:30
Piv
de0e3e3243 Setup 2d streaming with vehicle, add servo vehicle and some servo refactor/implementation 2022-10-02 14:42:24 +10:30
Piv
42477b3542 Minor refactor of vehicle and servo to simplify traits 2022-10-01 23:15:53 +09:30
Piv
8dae07722a Add timeout support to car-rs streaming 2022-10-01 18:28:19 +09:30
piv
f48518e88f Add grpc initalisation, start adding streaming grpc control 2022-08-07 16:04:07 +09:30
Piv
d876fcbb2e Add grpc rust codegen + stubs, add rppal compile feature
for raspberry pi compilation.

This is because rppal won't compile on mac, so we
only want to bring in the dependency when actually compiling
for the raspberry pi, and so will manually need to enable the
dependency.
2022-08-06 20:34:00 +09:30
Piv
26647017c3 Initialise arrays on the stack in esp32 servo 2022-07-31 17:50:03 +09:30
piv
985213311d Add link to tonic docs 2022-07-31 16:08:20 +09:30
piv
825f57dee9 Start adding rust car implementation 2022-07-31 16:05:39 +09:30
Michael Pivato
ba942804db Merge branch 'gradle-7' into 'master'
gradle 7

See merge request vato007/picar!9
2021-04-24 13:49:30 +00:00
Piv
9d8787fd0d Update protobuf, gradle wrapper, grpc, restore gradle latest image 2021-04-24 23:10:35 +09:30
Michael Pivato
4098a3c780 Merge branch 'depth-prediction' into 'master'
Depth prediction

See merge request vato007/picar!8
2021-04-24 13:23:30 +00:00
Piv
95b3bbf607 Downgrade gradle version for ci build
This is until the protobuf compile issue is fixed
2021-04-24 22:32:11 +09:30
Piv
497c3909f8 Add depth model and interface class, update dependencies and android sdk 2021-04-24 17:18:26 +09:30
Piv
8188e4a58f Simplify pid calculation 2021-04-20 22:28:38 +09:30
Piv
0ce5432666 Add simple pid controller 2021-04-20 21:49:20 +09:30
Michael Pivato
6ed0785ac0 Merge branch 'ci-gradlew' into 'master'
Fix CI Build

See merge request vato007/picar!7
2020-11-22 05:52:53 +00:00
Michael Pivato
2d93438eb8 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.
2020-11-22 05:52:53 +00:00
Michael Pivato
775a0149d3 Merge branch 'proto-swift-ci-build' into 'master'
Proto swift ci build

See merge request vato007/picar!6
2020-11-21 23:35:55 +00:00
Piv
993a8ecac9 Use static linked grpc executables for swift gRPC plugins
Swift 5.3.1 fixes the CoreFoundation Dispatch linking issues, which previously did not allow the grpc plugins to be statically linked.
2020-11-22 09:51:10 +10:30
Piv
ec6a0f26e2 Add protocgen/swift build to gitlab ci file. 2020-09-13 21:56:55 +09:30
Piv
3545035e88 Remove protocgen/swift build from gitlab ci.
Need an image/runner that includes the swift libs and gradle for swift protobuf codegen.
As such that will live in a separate branch until it's done.
2020-09-13 21:56:07 +09:30
Piv
2ae5c425ad Update gitlab ci to include protoc gen, swift build.
It also should now only run each module when the correct directory changes.
2020-09-13 21:41:30 +09:30
Michael Pivato
2944e1b5eb Merge branch 'esp32' into 'master'
Esp32

See merge request vato007/picar!5
2020-09-13 12:07:39 +00:00
Piv
0026aade39 Initialise serial port in factory 2020-09-13 21:36:08 +09:30
Piv
3894e04876 Add ESP32 Serial support to SwiftyCar 2020-09-12 22:08:03 +09:30
Piv
cbe2a48f0c Update other config files. 2020-09-12 16:25:43 +09:30
Piv
c97df7bbaa Add Esp32 (serial) vehicle to pycar 2020-09-12 15:49:01 +09:30
Piv
fc3607316d Fix script to point to platformio project file. 2020-09-08 22:03:54 +09:30
Piv
1276947aa4 Change working directory for library dependencies in ci build. 2020-09-08 21:51:25 +09:30
Piv
8fafc46ec4 Add src variable to ci build 2020-09-08 21:46:50 +09:30
Piv
1f4ed129f1 Fix board in ci build 2020-09-08 21:44:11 +09:30
Piv
45ba68f4aa Add esp32 build to gitlab ci 2020-09-08 21:40:09 +09:30
Piv
b72781e322 Initial PlatformIO code. 2020-09-08 21:23:21 +09:30
Piv
756e2741be Move to platformIO for ESP32 2020-09-08 21:01:44 +09:30
Piv
8b0cbdc57a Start adding esp32 sketch 2020-09-08 19:28:53 +09:30
Piv
98c7dd0114 Update grpc version, use servo implementations. 2020-09-02 23:07:51 +09:30
Piv
8201f02224 Fix imports and try error 2020-09-02 22:07:37 +09:30
Piv
618893b367 Add Dockerfile, fix package file 2020-09-02 21:51:15 +09:30
Piv
f0bf033e0f Depend on external car wrapper library 2020-09-02 21:17:03 +09:30
Michael Pivato
2bd46e6901 Fix deploy_pycar stage 2020-08-31 02:52:43 +00:00