Skip to content

ROS2 serial connection package for communicating with DexHand firmware across a USB Serial Connection

License

Notifications You must be signed in to change notification settings

iotdesignshop/dexhand_usb_serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dexhand_usb_serial

ROS2 serial connection package for communicating with DexHand firmware across a USB Serial Connection

What Does This Package Do?

This package is a ROS 2 node that provides a communication bridge between ROS 2 and a USB Serial connection to the firmware running on the DexHand microcontroller. This firmware is available on GitHub Here - DexHand-BLE Repository.

ROS 2 Message Formats

The package is pretty simple, there are really two messages - input and output. These are tied to debug functions that are built into the firmware.

dexhand_hw_command - (Subscribed) Sends a string based command to the firmware via USB. The commands supported by the firmware are described here.

dexhand_hw_response - (Published) Publishes string messages sent by the firmware back to ROS 2

ROS 2 Command Line

To run the package:

ros2 run dexhand_usb_serial usb_serial

By default, it assumes the Arduino is connected to /dev/ttyACM0, and attempts to connect there. You can override this port by specifying the serial_port parameter on the command line.

About

ROS2 serial connection package for communicating with DexHand firmware across a USB Serial Connection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages