xArm-Developer / xArm-Python-SDK

Python SDK for UFACTORY robots, 850, xArm5/6/7, and Lite6.
https://www.ufactory.cc
BSD 3-Clause "New" or "Revised" License
179 stars 112 forks source link

Reducing angle speed and acceleration in xarm/tools/blockly_tool.py #120

Open kobabulbul opened 1 month ago

kobabulbul commented 1 month ago

We want to limit the angle speed and acceleration in the following functions:

def _handle_set_angle_speed(self, block, prefix='', arg_map=None) def _handle_set_angle_acceleration(self, block, prefix='', arg_map=None):

What type of variable is "value = field.text"? what is "field"? how can we manipulate value?

Thanks in advance.

Best regards

vimior commented 1 month ago

@kobabulbul blockly_tool is used to convert the Blockly project in Studio into a Python program. The speed limit and acceleration should be set in the Blockly project instead of modifying the conversion tool.