roslaunch phidget_stepper launch_motor.launch
This will fire up two motor instances suscribing to topic /motor_config
, the message type can be seen by rosmsg show StepperConfig
roslaunch phidget_stepper demo_motor.launch
- Make sure you add
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
to~/.bashrc
file before runningroslaunch
- Seperate phidget library and ROS wrapper
Make a test script to show how to use the node