/notebook/deprecated/ros/15-photon-tcp

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
    

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!

Read More...