These instructions were used to create the photon package. Please see the package in the src directory to see the resulting code and setup
Create package
cd code_idealab_ros/src
catkin_create_pkg photon_tcp std_msgs rospy roscpp
Create message
roscd photon_tcp/
mkdir msg
nano data.msg
paste in:
string ip_address
string data
follow instructions for adding a messsage
follow instructions for adding a script
Modify script to suit needs
Make project
roscd thorlabs_linear_actuator/
catkin_make