Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

BuildMechanism with the API and object position

#1
Hello.
I want to set up a mechanism with an API.
I need help with defining the coordinate system via the API in BuildMechanism because it's not working well.
In the diagram below, the gripper on the left is the original object, the one in the middle is the mechanism set up with the UI, and the one on the right is the mechanism set up with the API.
In the API, I have set the coordinates of Hb for Base_Pose and the coordinates of Ht for Tool_Pose. I'm not sure how to set Fb.

test1.jpg    test2.jpg    test3.jpg     
.rdk   New Station (1).rdk (Size: 64.09 KB / Downloads: 166)
.py   robo_test.py (Size: 693 bytes / Downloads: 156)
#2
When creating mechanisms, it is important to use 'Move Geometry' instead of 'Object Position':

   

I attached your station with these slight modifications


Attached Files
.rdk   gripper_tst.rdk (Size: 42.87 KB / Downloads: 191)
#3
Thank you. I achieved the expected results with the station you provided.

I have come to understand the importance of using "geometry movement" rather than "object position" when creating a mechanism, but I am unsure of how to make the changes. Additionally, I would like to know the flow of when to make these changes, whether it should be before or after creating the mechanism.

Thank you in advance.
test4.jpg   
#4
If you need to change the geometry of your objects it is better to do it before creating your mechanism. The geometry allows you to change the position of the object with respect to its own coordinate system.
  




Users browsing this thread:
1 Guest(s)