PyVESC
PyVESC copied to clipboard
what's the mean of 61 in pyvesc/examples/get_values.py??????
My MayTech motor is Successfully working now, but I can't get rpm and position of motor...
and I can't understand the mean of 61 in ser.read(61)
61 is the framesize. It didnt work for me on firmware version 5 on VESC 6. I changed it to 78 and it works.
(To come up with 78 I hade a look here and printed len(buffer) and frame_size. https://github.com/LiamBindle/PyVESC/blob/45f372d3075a344c0d6d797565809140cab7cebe/pyvesc/protocol/packet/codec.py#L92-L93)
@psomers3 Any chance you would have time to implement this?
@LiamBindle I can try and remember to include this when I get around to messing with the project I used this on, but that will likely be a little while (~month).
That would be terrific. Thanks!