Skip to content

Commit

Permalink
add joint angle editor demo
Browse files Browse the repository at this point in the history
  • Loading branch information
neka-nat committed Nov 16, 2023
1 parent 1dac028 commit cdb5306
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Simple kinematics body toolkit.
* Support URDF, SDF and MJCF file.
* Calculate FK, IK and jacobian.

![joint_angle_editor](assets/joint_angle_editor.gif)

## Installation

```
Expand Down
Binary file added assets/joint_angle_editor.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@
<parent link="joint6_flange"/>
<child link="camera_flange"/>
<!-- <origin xyz= "0 0.0 0" rpy = "-1.5708 0 0"/> -->
<origin xyz= "0 0 0.01" rpy = "1.579 0 0"/>
<origin xyz= "0 0 0.01" rpy = "1.5708 0 -2.3562"/>
</joint>

<joint name="joint6output_to_pump_head" type="fixed">
<joint name="camera_flange_to_pump_head" type="fixed">
<parent link="camera_flange"/>
<child link="pump_head"/>
<origin xyz= "0 0 0.01" rpy = "0 0 0"/>
<origin xyz= "0 0.016 0" rpy = "0 0 0"/>
</joint>

</robot>
Expand Down
2 changes: 1 addition & 1 deletion examples/mycobot_example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import kinpy as kp

chain = kp.build_serial_chain_from_urdf(open("mycobot/mycobot_with_camera_flange.urdf").read(), "pump_head")
chain = kp.build_serial_chain_from_urdf(open("mycobot/mycobot.urdf").read(), "joint6_flange")
print(chain)

print(chain.get_joint_parameter_names())
Expand Down

0 comments on commit cdb5306

Please sign in to comment.