storage for Individual Projects(自主プロ) at UTokyo
- make sure to be on the same network as robot(NOT eduroam)
- For VM Ubuntu, set ROS_MASTER_URI to http://(IP of raspi):11311 inside ~/.bashrc, set robot_ip on moveit_planning_execution.launch to (IP of raspi).
roslaunch mmm_control robot.launch
on RasPi, which launches roscore, handles communication between Arduino, and audio, and ...roslaunch mmm_moveit_config moveit_planning_execution.launch
which starts MoveIt and RVIZ.rosrun image_view image_view image:=/raspicam_node/image _image_transport:=compressed
to view camera feed
careful- the MMM currently sources the setup file for the ice-cream catkin_ws!
- make sure to be on same network as robot
- on the computer (not RasPi), set ROS_MASTER_URI to http://(IP of raspi):11311 inside ~/.bashrc
- Run
roslaunch mmm_control robot.launch
on the robot. This will launch the arduino connection and the camera and QR code&circle tracking nodes. python pagekite.py 5000 sub-yasu31.pagekite.me
on the PC will let it become a server for the LINE chatbot.- Run
python3 bot.py
the same computer that runs pagekite.py, this will start the LINE chatbot. This will publish stuff to the /command ros topic accordingly to control the robot. - Run
roslaunch mayfes behavior.py
(on the robot, if the communication is unstable) to start the actual behavior created for MayFes. This listens in on the /command ROS topic, and takes steps to realize that behavior. - run
roslaunch mayfes behavior.launch
on the PC.
I am having a hard time launching the MoveIt! stuff. As suggested on this page, I tried sudo apt install ros-kinetic*. It didn't work, it may be an issue with the eduroam security settings or something. I'm pretty sure the same thing worked at home. Oh well, I deleted all the moveit stuff from my code so it's all right now.