I’m writing some TCP/IP based code and trying to understand what ServoC does. How does it work? How can I use it to create smooth movements? What are the effects of the different parameters? The API reference isn’t particularly helpful in understanding exactly what it does.
This is an old one but still… the doc lacks of a detailed explaination.
I tried out some settings using servoc with 3 waypoints and i think the behavior can be described as "moves circular in tool space depending on its move vector coming From Point A moving over Point B to Point C, while Point C is the actual move that the command is processing. So to see the outcome you’ll need at least 3 waypoints, like so
using only 2 waypoints in a loop, the command behaves like speedl as it continues its move until the robot reaches its limit. So a “terminating” move command at the end should be used.
I agree the description can be improved and that “moves circular in tool space depending on its move vector” by would end it with somthing like “towards the target pose”. Your example with the two points is challenging because you will end up in a situation were the target pose is aligned with move vector but in the opposite direction.
If you add a Waypoint in front to affect the move vector when reaching the first looping servoc. You will see the robot making nice circles with only two poses.
Since the robot is arriving with a speed, you shall always consider how to progress from the last servoc.
yes, this a good example for the doc