Problem about KUKA kr4r600 with OPW solver #255
-
Hi, guys. I want to use the OPW solver for my kuka kr4 project. But there is a problem. I used the opw parameters from opw_kinematics_geometric_parameters:
a1: 0.0
a2: -0.02
b: 0.0
c1: 0.33
c2: 0.29
c3: 0.31
c4: 0.075
opw_kinematics_joint_offsets: [0.0, deg(-90.0), 0.0, 0.0, 0.0, 0.0]
opw_kinematics_joint_sign_corrections: [-1, 1, 1, -1, 1, -1] But when I lauch my launch file, it shows: [ INFO] [1689562581.960514870]: Loaded parameters for ik solver:
Distances: [0 -0.02 0 0.33 0.29 0.31 0.075]
Offsets = [0 -1.5708 0 0 0 0 ]
Sign_corrections = [1 1 1 -1 1 -1 ]
[ERROR] [1689562581.960898185]: Pose orientation error on element (0, 0).
[ERROR] [1689562581.960929503]: opw: 0.000000, moveit: 1.000000.
[ERROR] [1689562581.960948347]: Pose orientation error on element (0, 2).
[ERROR] [1689562581.960966460]: opw: 1.000000, moveit: 0.000000.
[ERROR] [1689562581.960990094]: Pose orientation error on element (2, 0).
[ERROR] [1689562581.961013026]: opw: -1.000000, moveit: 0.000000.
[ERROR] [1689562581.961027873]: Pose orientation error on element (2, 2).
[ERROR] [1689562581.961039865]: opw: 0.000000, moveit: 1.000000.
[ERROR] [1689562581.961063168]: The OPW parameters loaded from the parameter server appear to be incorrect (self-test failed for '0 0 0 0 0 0').
[ERROR] [1689562581.961107530]: Kinematics solver of type 'moveit_opw_kinematics_plugin/MoveItOPWKinematicsPlugin' could not be initialized for group 'kuka_kr4'
[ERROR] [1689562581.961265230]: Kinematics solver could not be instantiated for joint group kuka_kr4. Is there any problems about the OPW parameters or my faults? Thanks. Here is the launch file: <launch>
<!-- The planning and execution components of MoveIt! configured to run -->
<!-- using the ROS-Industrial interface. -->
<!-- Non-standard joint names:
- Create a file [robot_moveit_config]/config/joint_names.yaml
controller_joint_names: [joint_1, joint_2, ... joint_N]
- Update with joint names for your robot (in order expected by rbt controller)
- and uncomment the following line: -->
<rosparam command="load" file="$(find kuka_kr4_opw_moveit_config)/config/controller_joint_names.yaml"/>
<arg name="debug" default="false" />
<!-- the "sim" argument controls whether we connect to a Simulated or Real robot -->
<!-- - if sim=false, a robot_ip argument is required -->
<arg name="sim" default="true" />
<arg name="robot_ip" unless="$(arg sim)" />
<!-- load the robot_description parameter before launching ROS-I nodes -->
<include file="$(find kuka_kr4_opw_moveit_config)/launch/planning_context.launch" >
<arg name="load_robot_description" value="true" />
</include>
<!-- run the robot simulator and action interface nodes -->
<group if="$(arg sim)">
<include file="$(find industrial_robot_simulator)/launch/robot_interface_simulator.launch" />
</group>
<!-- run the "real robot" interface nodes -->
<!-- - this typically includes: robot_state, motion_interface, and joint_trajectory_action nodes -->
<!-- - replace these calls with appropriate robot-specific calls or launch files -->
<group unless="$(arg sim)">
<include file="$(find kuka_eki_hw_interface)/launch/robot_interface_streaming.launch" >
<arg name="robot_ip" value="$(arg robot_ip)"/>
<!-- <arg name="pos_ctrlr_name" value="kuka_kr4_controller"/> -->
</include>
</group>
<!-- publish the robot state (tf transforms) -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
<include file="$(find kuka_kr4_opw_moveit_config)/launch/move_group.launch">
<arg name="publish_monitored_planning_scene" value="true" />
<!-- <arg name="moveit_controller_manager" value="kuka_kr4r600"/> -->
</include>
<include file="$(find kuka_kr4_opw_moveit_config)/launch/moveit_rviz.launch">
<arg name="rviz_config" value="$(find kuka_kr4_opw_moveit_config)/launch/moveit.rviz"/>
<arg name="debug" value="$(arg debug)"/>
</include>
<!-- <include file="$(find kuka_kr4_opw_moveit_config)/launch/default_warehouse_db.launch" /> -->
</launch> |
Beta Was this translation helpful? Give feedback.
Answered by
simonschmeisser
Jul 17, 2023
Replies: 1 comment 8 replies
-
@simonschmeisser: could you perhaps take a look? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please use
tool0
as tip link