Add Arduino upload, Test cmd and log location (#6)
* add log, arduino upload and Test * use correct path * add haptic nodes * readme: add haptic and arduino motor connection
This commit is contained in:
@@ -80,7 +80,21 @@ ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url htt
|
||||
make
|
||||
```
|
||||
|
||||
### Uploading sketch to Arduino Uno
|
||||
```
|
||||
cd ../src/arduino/{simwind/shiftlights/simhaptic} # Depending on the controller you have.
|
||||
make # Make sure serial connection is the same as on the host pc and it have the right group permission to access the device without root
|
||||
```
|
||||
|
||||
### SimHaptic Ardunio Motor Connection
|
||||
- Acc Pedal Motor to be connected to M1
|
||||
- Brake Pedal Motor to be connected to M3
|
||||
|
||||
|
||||
## Testing
|
||||
```
|
||||
./monocoque test -vv # Make sure that ~/.config/monocque/monocoque.config only contains the devices you have connected.
|
||||
```
|
||||
|
||||
### Static Analysis
|
||||
```
|
||||
@@ -95,6 +109,9 @@ make
|
||||
valgrind -v --leak-check=full --show-leak-kinds=all --suppressions=../.valgrindrc ./monocoque play
|
||||
```
|
||||
|
||||
### Logs file location
|
||||
`~/.cache/monocoque/*.log`
|
||||
|
||||
## ToDo
|
||||
- windows port
|
||||
- more memory testing
|
||||
|
||||
Reference in New Issue
Block a user