avatar_furo_ros
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
avatar_furo_ros [2022/03/07 22:04] – glee | avatar_furo_ros [2022/06/27 01:52] (current) – glee | ||
---|---|---|---|
Line 1: | Line 1: | ||
====Running ROS scripts==== | ====Running ROS scripts==== | ||
- | $ roscore | + | *This page will describe how to run ROS programs of Furo that are currently being used.* |
+ | \\ | ||
+ | \\ | ||
+ | {{akshay: | ||
+ | \\ | ||
+ | \\ | ||
Roscore is necessary for nodes to establish communication with each other. Rosmaster provides the naming and registration services to the nodes. | Roscore is necessary for nodes to establish communication with each other. Rosmaster provides the naming and registration services to the nodes. | ||
+ | $ roscore | ||
+ | \\ | ||
+ | {{akshay: | ||
+ | \\ | ||
+ | \\ | ||
+ | The joy_node script is to convert joystick value to digital value. | ||
$ rosrun joy joy_node | $ rosrun joy joy_node | ||
- | The joy_node script is to convert joystick value to digital value | + | \\ |
- | $ rosrun learning_joy furo | + | {{akshay: |
+ | \\ | ||
+ | \\ | ||
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. | 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 | + | $ rosrun learning_joy furo |
+ | \\ | ||
+ | {{akshay: | ||
+ | \\ | ||
+ | \\ | ||
The roboclaw.launch script is to control the motor controller that is connected to the wheels of FURO. | The roboclaw.launch script is to control the motor controller that is connected to the wheels of FURO. | ||
- | $ rosrun head_motor finalheadmotor.py | + | $ roslaunch roboclaw_node roboclaw.launch |
+ | \\ | ||
+ | {{akshay: | ||
+ | \\ | ||
+ | \\ | ||
The finalheadmotor.py script is a subscriber that receives value from joystick node and enables Furo's head movement. | The finalheadmotor.py script is a subscriber that receives value from joystick node and enables Furo's head movement. | ||
- | $ rosrun | + | $ rosrun |
+ | \\ | ||
+ | {{akshay: | ||
+ | \\ | ||
+ | \\ | ||
The findface_publisher.py is a publisher that detects people' | The findface_publisher.py is a publisher that detects people' | ||
+ | $ rosrun facedetect findface_publisher.py | ||
+ | \\ | ||
+ | {{akshay: | ||
+ | \\ | ||
+ | \\ | ||
+ | The face_tracks.py script is a subscriber that receives the x,y coordinate of a person' | ||
$ rosrun head_motor face_tracks.py | $ rosrun head_motor face_tracks.py | ||
- | The face_tracks.py script is a subscriber that receives the x,y coordinate of a person' | + |
avatar_furo_ros.1646719466.txt.gz · Last modified: 2022/03/07 22:04 by glee