Bug fixes.
authorWalter Fetter Lages <w.fetter@ieee.org>
Wed, 21 Mar 2018 16:36:45 +0000 (13:36 -0300)
committerWalter Fetter Lages <w.fetter@ieee.org>
Wed, 21 Mar 2018 16:36:45 +0000 (13:36 -0300)
twil_description: include transmisions
twil_ident: enable install target on CMakeLists.txt
twil_controllers: use namespace on joint_effort.launch

twil_controllers/launch/joint_effort.launch
twil_description/xacro/fixed_wheel.urdf.xacro
twil_ident/CMakeLists.txt

index 1138f8a..0fe3514 100644 (file)
@@ -11,6 +11,6 @@
   <node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false"
     output="screen" ns="/twil" args="left_wheel_joint_effort_controller right_wheel_joint_effort_controller joint_state_controller"/>
 
-  <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />
+  <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" ns="/twil" />
 
 </launch>
index dfc8761..862bdf1 100644 (file)
     <axis xyz="0 1 0" />
   </joint>
 
+  <transmission name="${name}_transmission">
+    <type>transmission_interface/SimpleTransmission"</type>
+    <joint name="${name}_joint">
+      <hardwareInterface>EffortJointInterface</hardwareInterface>
+    </joint>
+    <actuator name="${name}_motor">
+      <hardwareInterface>EffortJointInterface</hardwareInterface>
+      <mechanicalReduction>1</mechanicalReduction>
+    </actuator>
+  </transmission>
+
   <gazebo reference="${name}">
     <material>Gazebo/FlatBlack</material>
   </gazebo>
index bb4fe69..ad82545 100644 (file)
@@ -130,11 +130,11 @@ include_directories(
 # )
 
 ## Mark executables and/or libraries for installation
-install(TARGETS twil_ident twil_ident_node
+install(TARGETS twil_ident twil_ident_node
 #   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
 #   LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
-#   RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
-)
+   RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
+)
 
 ## Mark cpp header files for installation
 # install(DIRECTORY include/${PROJECT_NAME}/