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

Assign custom driver to a robot/mechanism from the api

#1
Hi all,

How can i do this from the robolink api?

RoboDK links to a specific driver in the robot connection settings:
1.Right click a robot
2.Select [Image: image001.png] Connect to robot…
3.Select More options…
4.Locate or enter the path of the driver path in the Driver path section

Best Regards,
Nedko
#2
You can change the Driver path by using the robot parameter PathDriver using the API.

Example code:
Code:
# Update the driver:
robot.setParam("PathDriver", "your-driver-file.py")

# Get the current driver:
driverpath = robot.setParam("PathDriver")
print(driverpath)

You can find the same question posted here:
https://robodk.com/forum/Thread-Select-d...RoboDK-API
  




Users browsing this thread:
1 Guest(s)