/notebook/deprecated/ros/06-2-create-scripts

Creating Scripts


Steps

see https://wiki.ros.org/ROS/Tutorials/CustomMessagePublisherSubscriber(python) for details on how to customize

  1. create the scripts directory and pull talker and listener examples

    roscd thorlabs_linear_actuator/
    mkdir scripts
    cd scripts
    # pull talker and listener
    wget https://raw.github.com/ros/ros_tutorials/kinetic-devel/rospy_tutorials/001_talker_listener/talker.py
    chmod +x talker.py
    wget https://raw.github.com/ros/ros_tutorials/kinetic-devel/rospy_tutorials/001_talker_listener/listener.py
    chmod +x listener.py
    
  2. Customize scripts as needed

  3. Make project

    cd ~/code/code_idealab_ros/
    catkin_make
    

Contents

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...