Creating a custom Photon Package

Introduction

These instructions were used to create the photon package. Please see the package in the src directory to see the resulting code and setup

Instructions

  1. Create package

    cd code_idealab_ros/src
    catkin_create_pkg photon_tcp std_msgs rospy roscpp
    
  2. Create message

    roscd photon_tcp/
    mkdir msg
    nano data.msg
    
  3. paste in:

    string ip_address
    string data
    
  4. follow instructions for adding a messsage

  5. follow instructions for adding a script

  6. Modify script to suit needs

  7. Make project

    roscd thorlabs_linear_actuator/
    catkin_make