-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate pulse/sample parameter #153
Comments
|
Sample loop is 1 ms default, see e.g. docs for object 6081h (profile velocity). Regarding object 207Ah (interpolated position 1st order time), it is stated that time "is given in IU which is by default 0.8ms for steppers and 1ms for the other configurations". We don't care about steppers, I'm just curious whether the sample loop refers to that same time dimension in both objects. |
Makes more sense the other way around:
That is, we want to sample a given amount of pulses per one second. Assuming we already translated a
I might be wrong in my interpretation regarding time units; however, the maths are clear and 1 millisecond as stated in the manual translates into 1000 pulses per one |
Ready at 36b6360. |
Yup, even though the result was correct (not accounting for #253), this is not how real dimensions should be translated to internal units. Instead:
|
We are currently counting on a fixed pulse/sample value (
0.001
(?) for velocities and thus0.001^2
for accelerations):yarp-devices/libraries/YarpPlugins/TechnosoftIpos/IVelocityControl2RawImpl.cpp
Line 25 in 4b2c591
yarp-devices/libraries/YarpPlugins/TechnosoftIpos/ICanBusSharerImpl.cpp
Line 743 in 4b2c591
yarp-devices/libraries/YarpPlugins/TechnosoftIpos/ICanBusSharerImpl.cpp
Line 761 in 4b2c591
This looks dangerous and undocumented!
Incorporate a pulse/sample parameter, such as
pulsePerSample
or better name?The text was updated successfully, but these errors were encountered: