parser for circular interpolation

This commit is contained in:
Nikolay Khabarov committed 2017-05-22 04:01:45 +03:00
1 parent d77d8e0b20
commit 0de4f3dc00
9 files changed
+247 -21

No files matched your search

+14
View File
@@ -85,6 +85,20 @@ def move_linear(delta, velocity):
+ "s, estimated " + str(round(generator.total_time_s(), 2)) + "s")
def move_circular(delta, radius, plane, velocity, direction):
""" Move with circular interpolation.
:param delta: finish position delta from the beginning, must be on
circle on specified plane. Zero means full circle.
:param radius: vector to center of circle.
:param plane: plane to interpolate.
:param velocity: velocity in mm per min.
:param direction: clockwise or counterclockwise.
"""
logging.info("TODO move_circular {} {} {} with radius {} and velocity {}".
format(plane, delta, direction, radius, velocity))
# TODO
def join():
""" Wait till motors work.
"""