This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# otto_serial_driver | ||
ROS driver for Otto | ||
|
||
ROS driver for Otto. | ||
|
||
|
||
## Description | ||
|
||
The node ``` otto_serial_driver.py ``` is used to communicate with Otto. | ||
It performs the following tasks: | ||
|
||
- Open the serial port | ||
- Reset the MCU | ||
- Transmit the startup configuration | ||
- Listen for messages on cmd_vel, and transmit the last cmd_vel received every 100ms to the MCU | ||
- Receives data from Otto, publish it on ```otto_ticks``` topic | ||
- Publishes odometry and tf transform | ||
|
||
The node ``` otto_pid_tuning.py ``` is used to tune PID parametes. | ||
It subscribes to ```cmd_vel``` and ```otto_ticks``` and publishes a ```otto_pid_tuning_val``` message. | ||
You can use ```rqt_plot``` to plot the values and tune your PID. | ||
|
||
|
||
## How to | ||
|
||
Use ```rosdep``` to install the dependencies needed. | ||
|
||
In the ```launch``` folder you can find the launch files, launch ```otto_serial_driver.launch``` to start the communication with Otto, using the parameters specified in ```config/firware_parameters.yaml```. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters