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

Getting linear speed of the robot using the Python API

#3
Hi Albert,

Is there any way to modify/edit the [kuka] robot driver? I'm using online programming, so I need a way to read "Extruder" callbacks from RoboDK and control the extruder.

Thanks,
Poe

(11-12-2021,下午12:15)Albert Wrote:Hi Poe,

You can store the linear speed in your post processor. The speed is provided through the setSpeed function of your post processor:
//www.sinclairbody.com/doc/en/PythonAPI/post...or-methods

We also have an example in our documentation that shows how you can calculate the average linear speed of the robot when you take accelerations into account:
//www.sinclairbody.com/doc/en/Robot-Machinin...rint3Dpost

In this example, the variable speed_mms is the average speed between two points assuming the robot needs to accelerate/decelerate. We use this average speed to update the extruder signal.

Albert


Messages In This Thread
RE: Getting linear speed of the robot using the Python API - bypnnayyeri- 12-09-2021, 09:56 PM



Users browsing this thread:
1 Guest(s)