Dora Kit Car is a DORA node for controlling a differential-drive mobile robot to move forward/backward and turn left/right. Developed in Rust with Python API support.
Accepts an array of six f64's
see https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html
Adds an environment variable SERIAL_PORT to specify the serial port for the car device, with /dev/ttyUSB0 as the default value
nodes:
- id: keyboard-listener # Run on car
build: pip install dora-keyboard
path: dora-keyboard
inputs:
tick: dora/timer/millis/10
outputs:
- twist # for example [2.0,0.0,0.0,0.0,0.0,1.0]
- id: car
build: pip install dora-kit-car
path: dora-kit-car
inputs:
keyboard: keyboard-listener/twist
env:
SERIAL_PORT: /dev/ttyUSB0
The MIT License (MIT)
Copyright (c) 2024-present, Leon