Pito Salas, November 2018, pitosalas@brandeis.edu
Basement space is set up like an office
We have to update the map to include fake hallways and offices
Lines will be taped to the floor to indicate the walls
There will be four "offices", two "hallways", one "lab", and one "reception"
We will move furniture into the "rooms" but navigation will be based on the
Map is updated to match the tapes on the floor
Locations are added to the location table
A package has been delivered to reception
The robot is sitting in its charging station
Using a computer sitting on his desk, the receptionist summons the robot over
When the robot arrives at the receptionist it says: "hello Jo, did you call?"
The receptionish gives the robot the package and uses the laptop to send the robot to Jane's office
THere are some people chatting and in the way
As the robot navigates around them it says, "Excuse me I am delivering a package to Jane's office"
Jane accepts the package and the robot starts driving back to its charging station
An evil genius picks the robot up and starts walking it to the Evil Genius office.
When placed back on the floor the robot realizes that it was kidnapped
It recovers by going back into the hall and finding the nearby fiducial
It then continues back to the charging station, awaiting it's next mission
Along the way the robot sees Alex and says "Hello Alex, how's it going?"
The robot comes into the charging station and relaxes until the next mission
Basically all the steps we think are needed to get the Fall 208 Demo Script to work. This was gathered by the team and then experimented and revised further by Pito during the post-semester break.
SSH into the robot’s onboard laptop (turtlebot@129.64.243.64)
Start a roscore
Do a bringup for the onboard laptop: “roslaunch cr_ros campus_rover.launch”
Wait until the bringup finishes. Look for “Odom received” message
Run roslaunch cr_ros offboard_launch.launch
Wait until the bringup finishes. Look for “Odom received” message
Install Flask
Clone cr_web repo
cd into cr_web
Make sure to bring up TB2 (with cr_ros), or run a local roscore
export ROS_MASTERURI=_http://______
export FLASK_APP=rover_app
flask run --no-reload --host=0.0.0.0 --with-threads
Note: --host=0.0.0.0 and --with-threads are only needed if other client machines need to access the hosted app.
Go to localhost:5000/, or replace localhost with the other machine’s IP if you’re accessing it from a client machine. (edited)
aruco_detect (for fiducial_msgs import error)
pip install face_recognition
Kobuki docking might be part of the general TB2 install or may need to be separate
sudo apt-get install ros-kinetic-moveit-ros-visualization
make sure that ROS_MASTER_URI=http://129.64.243.64:11311 (or whereever roscore is runnung)