Difference between revisions of "Migrate Phidgets to catkin"
From wikidb
(Created page with "= Background = <tt>motor_control_hc</tt> listens to <tt>odom</tt> and <tt>cmd_vel</tt> messages. Configuring this feedback system is intuitive and the control does not read...") |
|||
Line 8: | Line 8: | ||
* [http://wiki.ros.org/catkin/migrating_from_rosbuild Migrating from rosbuild] | * [http://wiki.ros.org/catkin/migrating_from_rosbuild Migrating from rosbuild] | ||
+ | |||
+ | = Set Up Phidgets Catkin Package = | ||
+ | |||
+ | cd ~/catkin_ws_indigo/src | ||
+ | |||
+ | catkin_create_pkg phidgets_cat std_msgs rospy roscpp | ||
+ | |||
+ | cd .. | ||
+ | |||
+ | catkin_make | ||
+ | |||
+ | cd src/phidgets_cat/ | ||
+ | |||
+ | cp ~/ros_workspace_tabor/phidgets/src/motor_control_hc.cpp src |
Revision as of 10:15, 12 April 2016
Background
motor_control_hc listens to odom and cmd_vel messages. Configuring this feedback system is intuitive and the control does not read param values properly. The most straight forward means to debug the controller was to port it to catkin. This page documents how that was done. Other Phidgets components should be similar.
Reference
Set Up Phidgets Catkin Package
cd ~/catkin_ws_indigo/src catkin_create_pkg phidgets_cat std_msgs rospy roscpp cd .. catkin_make cd src/phidgets_cat/ cp ~/ros_workspace_tabor/phidgets/src/motor_control_hc.cpp src