WARNING: This code is under the Apache License 2.0. Please ensure to check and comply with the license before using or distributing the code. Unauthorized copying or redistribution is strictly prohibited.
This repository contains Python scripts related to serial communication and control of a vehicle. These scripts are designed to be used with the Robot Operating System (ROS2), and they utilize custom messages from the steadylab
package.
The SerialNode
class is responsible for managing serial communication with the connected hardware. It reads and writes data to the specified serial port, translating messages between the system and the device.
sudo apt-get install python3-serial
The Serial
class provides a user interface to control speed and steering of the vehicle. The user can input commands via the terminal, and the class translates these commands into appropriate messages for the hardware.
- ROS 2
- Python 3
- Numpy
- PySerial
- Custom messages (
ReadCar
,WriteCar
) from thesteadylab
package
- Clone the repository.
- Install the necessary dependencies.
- Build the
steadylab
package. - Source the workspace and run the nodes.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
For any inquiries, please contact [okharry1@dgu.ac.kr].