build my car(2) motor

Prepare the repo

1
2
3
4
cd ~/code
git clone https://github.com/joshnewans/serial_motor_demo.git
cd serial_motor_demo
colcon build --symlink-install

Client gui at the ubuntu22

1
2
source install/setup.bash
ros2 run serial_motor_demo gui

run at the pi

1
2
source install/setup.bash
ros2 run serial_motor_demo driver --ros-args -p serial_port:=/dev/ttyUSB0 -p baud_rate:=57600 -p loop_rate:=30 -p encoder_cpr:=1321

Build the motor

motor

Assemble the car

car v0.1
car v0.2