Adding Waypoints In real-time

Hello,
Currently working with a UR30, my use case is as following:

Suppose the robot is polishing a surface, and the user decides in real-time to cover more area and decides to add more points with an external input to cover the area in real-time, is something like this possible ?

Any help would be appreciated. Thanks

Sure. You can write coordinates to a variable whenever you want using a thread for example.

Something like waiting for a trigger, then write the robot’s current position to the variable.
You can then have a counter or something in your program, that increments by 1 when the trigger is pushed. Then your program knows it has to move to another waypoint (which you have already defined beforehand - just without the coordinates).

It will be kind of crudely done due to the program being set up for the waypoints beforehand.

1 Like