- Run the command in
requirements.txt
file. - For distributed task execution, the "Mobile Robot Simulator" package is required (https://github.com/mrath/mobile_robot_simulator.git). Download into
catkin_ws/src
. - Run
mics.py
to display current USB ports and replace the valuedevice_index
inscripts/audio_interface/speech_observer.py
with the USB index of your microphone. - Run
catkin_make
in the root catkin directory. - Source the
setup.bash
file aftercatkin_make
- You can test the code is working by running the command
roslaunch verbal_communication greeting_and_movement.launch
- roslaunch verbal_communication greeting_and_movement.launch
- rostopic pub /decoded_message std_msgs/String -1 -- "MOVE FORWARD"
- rostopic pub /decoded_message std_msgs/String -1 -- "STOP"
- rostopic pub /decoded_message std_msgs/String -1 -- "ROTATE LEFT"
- rostopic pub /decoded_message std_msgs/String -1 -- "ROTATE RIGHT"
- roslaunch verbal_communication greeting_and_movement.launch
- say "[robot_name] [command]"
- roslaunch verbal_communication greeting_and_movement.launch
- rostopic pub /decoded_message std_msgs/String -1 -- "HELLO I AM CHRIS" (robot should reply with its name)
- roslaunch verbal_communication greeting_and_movement.launch
- say "jarvis, hello I am [your_name]"
- roslaunch verbal_communication task_distribution.launch
- the robot should begin assigning itself to tasks: yellow, green, orange, blue, indigo, violet
- to say you will complete one of the following say: "[robot_name], I will do [task]"
- or: rostopic pub /decoded_message std_msgs/String -1 -- "I WILL DO [task]"
Note. All messages are translated into full caps. If you publish a message to the robot rather than speak, you should always publish the message with full caps.