| The ARI workspace contains all the files for the robot management. The main files developed are those for the calibration, the control and the talking / listening to the robot. | ![]() |
|---|
To setup and start working with ARI you need to follow these steps:
- Clone the repository into the docker on your computer
- Source the main files external the workspace
source /opt/ros/melodic/setup.bash
source /opt/pal/ferrum/setup.bash
export ROS_MASTER_URI=http://ari-16c:11311
Remember to set the IP of the computer to the one of the docker. In this case the IP is:
export ROS_IP=<your IP address>
To have the position of ARI in the map and all the features of the robot you need to run the following command:
rosrun rviz rviz -d `rospack find ari_2dnav`/config/rviz/navigation.rviz
The main files of the workspace are:
- calibration: Contains the files for the calibration of the robot using ArUco markers
- control: Contains the files for the control of the robot
- talking: Contains the files for the talking and listening to the robot
- launch: Contains the launch files for the robot
Each launch file is used to start a specific part of the robot, or one to start them simultaneously. To start the robot speech node you need to run the following command:
roslaunch ari_pkg speech.launchTo start the robot control and calibration node you need to run the following command:
roslaunch ari_pkg detect.launchThe talking part of the robot is used to make the robot speak and listen to the user.
You can ask to the robot also to go to a point of interest and it will go. For the moment you can only say some specific words associated to the point of interest, you can find them in the file scripts/points_of_interest.json.
You can also start single nodes for the speech part of the robot, like the talking part is made only in the speech.py file. You can start it with the following command:
rosrun ari_pkg talk.pyOr if you want to test the moving part given by vocal commands you can start the following node:
rosrun ari_pkg move.pybut remember that you need to have another shell open where you send a string with the phrase you want to say to the robot. You can do it with the following command:
rosrun ari_pkg move.pyrostopic pub /speech std_msgs/String "data: 'Vai alla docking station'"
