sr_hand_detector repository

Repository Summary

Checkout URI https://github.com/shadow-robot/sr_hand_detector.git
VCS Type git
VCS Version melodic-devel
Last Updated 2020-10-05
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released RELEASED
Package Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
sr_hand_detector 0.0.2

README

sr_hand_detector

Prerequisites

In order to use this package, install it from debian (recommended) or follow steps below: 1. Compile the package 2. Copy both executables of the sr_hand_detector package (found in <your_workspace>/devel/lib/sr_hand_detector) to /usr/local/bin. 3. Give one of the executables capability to access ethernet devices:

sudo setcap cap_net_raw+ep sr_hand_detector_node

sr_hand_detector class

This class allows user to detect Shadow Hands without knowing the ethernet interface or the hand serial. Usage:

sr_hand_detector_node

Example output:

Detected hand on port: enx000ec653b31a
Hand's serial number: 634

Apart from the console output, all detected hand ethernet port names together with corresponding hand serial numbers will be set inside of the /tmp/sr_hand_detector.yaml file.

If there are no hands detected on any of the ports, a warning will be shown:

No hand detected on any of the ports!

sr_hand_autodetect class

This class allows user to run Shadow Robot launch files without providing information like hand serial, ethercat port or hand side. Example usage:

sr_hand_autodetect roslaunch sr_robot_launch srhand.launch sim:=false

which is equivalent to:

roslaunch sr_robot_launch srhand.launch sim:=false eth_port:=<eth_port> hand_serial:=<hand_serial> hand_id:=<hand_id>

CONTRIBUTING

No CONTRIBUTING.md found.