Closed Hennzau closed 3 months ago
Looks great!
Thanks!
I guess logical_to_pwm_with_offset_arrow
and pwm_to_logical_arrow
and wrap_joints_and_values
can somehow be wrap within fastformat
right? so that we can have one logic to do this everytime we will need to do this in the future :)
I think that zero-copy struct look great for things that have the same length, which is the case in this PR.
Looks great!
Thanks!
I guess
logical_to_pwm_with_offset_arrow
andpwm_to_logical_arrow
andwrap_joints_and_values
can somehow be wrap withinfastformat
right? so that we can have one logic to do this everytime we will need to do this in the future :)
Yup! When fastformat will be ready I will make those changes! :)
Hi, for this short PR of few comits I imroved a bit the documentation (in fact I just made corrections), and I managed to used ZeroCopy StructArray instead of the old way of creating dictionary etc...
Editable node-hub, development mode
development.txt
file next torequirement.txt
for allrobots
. So you can writeAnd you will be able to edit node-hub nodes without the need to build the dataflow again and again.
PWM Position Control
You load it and you can transform pwm/logical values
Note: The PWM Position Control library also enables zero risk of breaking something: if a communication error occurs and the
pwm_goal
is not in the right range, it wraps the value so the servo doesn't have to jump one turnZeroCopy StructArray
wrap
function that will take your array (list or numpy or arrow) of joints and values, and it outputs a sendableStructArray
Use this function to wrap joints and values (from a json configuration file for example)
Then you can directly write this command to the dynamixel bus, or send it to the dataflow