NiryoRobotics / ned_ros

Ned ros stack
https://niryo.com
GNU General Public License v3.0
28 stars 16 forks source link

Finding every joint's cartesian position (x,y,z) in relation to the base frame #22

Open zainabsaeed24 opened 3 weeks ago

zainabsaeed24 commented 3 weeks ago

We would like to find the joint cartesian (x,y,z) position for all joints in relation to the base frame whenever a robot moves to a different pose.

End Goal: We are trying to do collision checking of ned2 with any stationary object with not only gripper position but with ned2's body as well.

Note: We want to know the joint cartesian position without using ROS and instead would like to use the python API.

jmottier-niryo commented 3 weeks ago

The only way I can think of to achieve this is by calculating the forward kinematics yourself, which requires knowing the robot's description. Unfortunately, pyniryo won't help you, as it doesn't offer functions to retrieve the joint's Cartesian positions or the robot's description.