[ WARN] [1540436371.326624289, 0.129000000]: Deprecated syntax, please prepend 'hardware

xiaoxiao2025-06-14  12

ROS中使用iiwa时遇到的问题

我的使用环境: Ubuntu的版本:16.04 ROS的版本:kinetic

[ WARN] [1540436371.326624289, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_1’.

[ WARN] [1540436371.328444294, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_2’. [ WARN] [1540436371.329745112, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_3’. [ WARN] [1540436371.330991403, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_4’. [ WARN] [1540436371.332175478, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_5’. [ WARN] [1540436371.333387608, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_6’. [ WARN] [1540436371.334575222, 0.129000000]: Deprecated syntax, please prepend ‘hardware_interface/’ to ‘PositionJointInterface’ within the tag in joint ‘iiwa_joint_7’. 解决方法:将iiwa.transmission.xacro文件中的下面两行做修改: h a r d w a r e i n t e r f a c e &lt; / h a r d w a r e I n t e r f a c e &gt; &lt; / j o i n t &gt; &lt; a c t u a t o r n a m e = &quot; {hardware_interface}&lt;/hardwareInterface&gt; &lt;/joint&gt; &lt;actuator name=&quot; hardwareinterface</hardwareInterface></joint><actuatorname="{robot_name}_motor_1"> h a r d w a r e i n t e r f a c e &lt; / h a r d w a r e I n t e r f a c e &gt; &lt; m e c h a n i c a l R e d u c t i o n &gt; 1 &lt; / m e c h a n i c a l R e d u c t i o n &gt; &lt; / a c t u a t o r &gt; 改 为 &lt; j o i n t n a m e = &quot; {hardware_interface}&lt;/hardwareInterface&gt; &lt;mechanicalReduction&gt;1&lt;/mechanicalReduction&gt; &lt;/actuator&gt; 改为 &lt;joint name=&quot; hardwareinterface</hardwareInterface><mechanicalReduction>1</mechanicalReduction></actuator><jointname="{robot_name}_joint_1"> hardware_interface/PositionJointInterface hardware_interface/PositionJointInterface 1

转载请注明原文地址: https://www.6miu.com/read-5031820.html

最新回复(0)