This repository contains all the developed source code and digital assets needed for the construction, integration, and operation of the LoCoBot Telenursing Platform. Our application depends on and derives from the software developed for the LoCoBot platform by facebook research.
This installation process was verified to complete sucessfully on Ubuntu 18.04 LTS using the python 2 option during installation, and on a machine already configured with ROS Melodic. Follow the steps below to install required dependencies for executing the software found here.
These instructions will set up your system to run a simulated LoCoBot in Gazebo only (instructions modified from https://pyrobot.org/docs/software).
sudo apt update
sudo apt-get install curl (if not already installed)
curl 'https://raw.githubusercontent.com/facebookresearch/pyrobot/master/robots/LoCoBot/install/locobot_install_all.sh' > locobot_install_all.sh
Options: -t (type = simulator), -p (python version = 2), -l (platform = interbotix… Note for Trevor: we should verify this is correct for our hardware)
chmod +x locobot_install_all.sh ./locobot_install_all.sh -t sim_only -p 2 -l interbotix
Start the LoCoBot simulation in Gazebo, and confirm successful startup by controlling the robot via teleop:
source ~/pyenv_pyrobot_python2/bin/activate
roslaunch locobot_control main.launch use_base:=true use_arm:= true use_sim:=true
cd ~/low_cost_ws/src/pyrobot/robots/LoCoBot/locobot_control/nodes python robot_teleop_server.py
cd ~/low_cost_ws/src/pyrobot/robots/LoCoBot/locobot_control/nodes python keyboard_teleop_client.py
sudo apt-get install ros-melodic-web-video-server
pip install flask
pip install Flask-Cors
cd ~/low_cost_ws/src
Clone this repository.
./catkin_make
source ~/pyenv_pyrobot_python2/bin/activate (in both terminals)
roslaunch telenursing_locobot_ctrl locobot_gui_control.launch
roslaunch telenursing_web_gui locobot_GUI.launch
Open ~/low_cost_ws/src/LoCoBot-Telenursing-Platform/telenursing_web_gui/web/html/MainGUIPage_locobot.html