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

How do i get the dimensions of an object in the RoboDK environment?

#1
Question 
I am trying to interface MATLAB and RoboDK, and I need to read the environment object dimensions and pose from RoboDK. While I was able to figure out how to read the pose of an Item in the env, I am not sure how to find out the dimensions of an obstacle in the environment (lets say a table).

Is there a method in the Robolink API that does this? Please let me know. Apologies if the answer to this is very straightforward, I might have missed it.

Thanks,
Shubham
#2
Hi Shubham,

You can use Item.setParam('BoundingBox').
Note that the results are absolute.

Sam
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
  




Users browsing this thread:
1 Guest(s)