https://github.com/cong-harvard/eye_tracking_client

The client ROS package for automatic eye tracking.

https://github.com/cong-harvard/eye_tracking_client

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

The client ROS package for automatic eye tracking.

Basic Info
  • Host: GitHub
  • Owner: CoNG-harvard
  • License: bsd-2-clause
  • Language: CMake
  • Default Branch: main
  • Size: 14.6 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

eyetrackingclient

This is the client Python repository for automatic eye tracking acquisition using a robotic arm. It works together with the eyetrackingserver package(https://github.com/lina-robotics-lab/eyetrackingserver) to allow automatic robot arm movement for the eye tracking.

To use the client, first install the eyetrackingserver package(see documentations for https://github.com/lina-robotics-lab/eyetrackingserver), and ensure the server is running by bash $ # Source the ROS workspace $ roscore $ # Bringup the robot and start the MoveIt! control interface. $ rosrun eye_tracking_server RobotArmServer.py

On the computer running the client code, make sure to set the ROS IP parameters properly.

bash $ export ROS_MASTER_URI=http://192.168.xx.xx:11311 # The ROS_MASTER_URI should be set as the IP of the computer running the server code. $ export ROS_HOSTNAME=192.168.xx.xxx # The ROS_HOSTNAME should be set as the IP of the computer running the client code.

Then, in your own code, you may use the client class as follows.

```python from RobotArmClient import RobotArmController

controller = RobotArmController()

waypointidx = 20 controller.goto(waypointidx). # This sends a request to the server to move the robot arm to the 20th waypoint.

`` Thegoto(idx)` method will want until the server has sent back a result before moving on to the next line of code.

Owner

  • Name: CoNG at Harvard
  • Login: CoNG-harvard
  • Kind: organization

GitHub Events

Total
Last Year