feat: Accepts two parameters, one is an array of three f64's and the other is an array of six f64's
- three f64 array [x, w, speed]
- six f64 array [x, y, z, rx, ry, rz] only used x, rz, and the speed is default 0.2
https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html
Author: Leon <echo_ai@foxmail.com>
1 year ago feat: Accepts two parameters, one is an array of three f64's and the other is an array of six f64's
- three f64 array [x, w, speed]
- six f64 array [x, y, z, rx, ry, rz] only used x, rz, and the speed is default 0.2
https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html
Author: Leon <echo_ai@foxmail.com>
1 year ago feat: Accepts two parameters, one is an array of three f64's and the other is an array of six f64's
- three f64 array [x, w, speed]
- six f64 array [x, y, z, rx, ry, rz] only used x, rz, and the speed is default 0.2
https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html
Author: Leon <echo_ai@foxmail.com>
1 year ago |
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # dora-kit-car control
-
- ## Introduce
-
- 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.
-
- ## Highlights
-
- - Compatible with the ROS geometry_msgs/Twist.msg format, utilizing only:
- - linear.x (positive: forward movement, negative: backward movement)
- - angular.z (positive: left turn, negative: right turn)
-
- ## Raw Message Definition
-
- Accepts an array of six f64's
-
- - six f64 array [x, y, z, rx, ry, rz] only used x, rz
-
- see [https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html](https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html)
-
- ## Environment
-
- Adds an environment variable `SERIAL_PORT` to specify the serial port for the car device, with `/dev/ttyUSB0` as the default value
-
- ## Demo Video
-
- [](https://youtu.be/B7zGHtRUZSo)
-
- ## Getting Started
-
- ```yaml
- 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
-
- ```
-
- ## License
-
- The MIT License (MIT)
-
- Copyright (c) 2024-present, Leon
|