10-22-2018, 09:04 AM
Hi everyone,
根据RoboDK文档,function called "SearchL" and is described like this:
I would like to know if it's possible (and how) do what it says there... move the robot until an input switch is detected. According to what I understand, the robot just moves to the target without doing anything else in the path.
Is possible to send the robot an instruction that can be stopped if, lets say, I press a button or trigger a sensor?
Thanks for your time :)
根据RoboDK文档,function called "SearchL" and is described like this:
Quote:SearchL(target, blocking=True)
Moves a robot to a specific target and stops when a specific input switch is detected (“Search Linear” mode). This function waits (blocks) until the robot finishes its movements.
Parameters:
target (Mat, list of joints or Item) – Target to move to. It can be the robot joints (Nx1 or 1xN), the pose (4x4) or a target (item pointer)
blocking (bool) – Set to True to wait until the robot finished the movement (default=True). Set to false to make it a non blocking call. Tip: If set to False, use robot.Busy() to check if the robot is still moving.
I would like to know if it's possible (and how) do what it says there... move the robot until an input switch is detected. According to what I understand, the robot just moves to the target without doing anything else in the path.
Is possible to send the robot an instruction that can be stopped if, lets say, I press a button or trigger a sensor?
Thanks for your time :)