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

Select driver through API

#1
Is there a way of selecting the robot driver through the API? I'm referring to the Driver setting under More options in the Connection to <robot> panel. Why isn't this part of the setConnectionParams() function?
#2
You can change the path of the driver by using the parameter PathDriver.

Example:
Code:
robot.setParam("PathDriver", "yourpath.py")
You can also ready it by skipping the 2nd parameter:
Code:
drivepath = robot.setParam("PathDriver")
  




Users browsing this thread:
1 Guest(s)