Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
add small description and howto
Browse files Browse the repository at this point in the history
  • Loading branch information
fdila committed Aug 11, 2021
1 parent e3782c2 commit 1c181d9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
27 changes: 26 additions & 1 deletion README.md
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```.
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>otto_serial_driver</name>
<version>0.0.1</version>
<version>1.0.0</version>
<description>The otto_serial_driver package</description>

<!-- One maintainer tag required, multiple allowed, one person per tag -->
Expand Down

0 comments on commit 1c181d9

Please sign in to comment.