Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.5 KB

ServerSetup.md

File metadata and controls

35 lines (30 loc) · 1.5 KB

Server Setup

Look at Radiation Visualization's Hololens Testing.md

Server Installation

  1. Install ROS.
    • Configure repositories, sources and keys.
    • sudo apt install ros-melodic-desktop
    • echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
    • source ~/.bashrc
    • sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
    • rosdep init
    • rosdep update
  2. Install ROSBridge-suite.
    • sudo apt install ros-melodic-rosbridge-suite
  3. Install custom messages. Remember to add them to your .bashrc file.

Setting up PCFace messages

  1. Create a Catkin workspace if you have not already
  2. cd src/
  3. Create a package called rntools
    1. catkin_create_pkg rntools std_msgs rospy roscpp
  4. cd rntools
  5. mkdir msg
  6. Place PCFace.msg inside the msg directory
  7. Follow the instructions in this tutorial to modify package.xml and CMakeLists.txt
  8. Return to your catkin workspace root directory, (ex. cd ~/catkin_ws)
  9. catkin build
  10. source devel/setup.bash
  11. Verify that everything works with rosmsg show PCFace. You should see a listing under the rntools package.