Difference between revisions of "Migrate Phidgets to catkin"

From wikidb
Jump to: navigation, search
(Set Up Phidgets Catkin Package)
(Set Up Phidgets Catkin Package)
Line 22: Line 22:
 
    
 
    
 
   cp ~/ros_workspace_tabor/phidgets/src/motor_control_hc.cpp src
 
   cp ~/ros_workspace_tabor/phidgets/src/motor_control_hc.cpp src
 
+
 
 
   emacs CMakeLists.txt&
 
   emacs CMakeLists.txt&
 
+
 
 
   emacs package.xml&
 
   emacs package.xml&
 
    
 
    

Revision as of 10:24, 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
 
 emacs CMakeLists.txt&
 
 emacs package.xml&
 
 cd ..
 
 catkin_make