User Tools

Site Tools


avatar_furo_ros

This is an old revision of the document!


Running ROS scripts

  $ roscore

Roscore is necessary for nodes to establish communication with each other. Rosmaster provides the naming and registration services to the nodes.

  $ rosrun joy joy_node

The joy_node script is to convert joystick value to digital value

  $ rosrun learning_joy furo

The furo script is a topic is both a publisher as well as subscriber at the same time. Obtaining value from the joystick, converting it to a float data type and passes it to the motor controller.

  $ roslaunch roboclaw_node roboclaw.launch

The roboclaw.launch script is to control the motor controller that is connected to the wheels of FURO.

  $ rosrun head_motor finalheadmotor.py

The finalheadmotor.py script is a subscriber that receives value from joystick node and enables Furo's head movement.

  $ rosrun facedetect findface_publisher.py

The findface_publisher.py is a publisher that detects people's face and transfer the x,y coordinates of people's face to the face_tracks.py script.

  $ rosrun head_motor face_tracks.py

The face_tracks.py script is a subscriber that receives the x,y coordinate of a person's face and enable Furo to move toward the person.

avatar_furo_ros.1646719499.txt.gz · Last modified: 2022/03/07 22:04 by glee