pantor / ruckig

Motion Generation for Robots and Machines. Real-time. Jerk-constrained. Time-optimal.
https://ruckig.com
MIT License
728 stars 164 forks source link

AttributeError: 'ruckig.OutputParameter' object has no attribute 'pass_to_input' #84

Closed nkashiri closed 3 years ago

nkashiri commented 3 years ago

When running the python examples including the pass_to_input function, it gives the error: AttributeError: 'ruckig.OutputParameter' object has no attribute 'pass_to_input'

The installation was done using: pip install ruckig If it helps: when I run >> dir(ruckig.OutputParameter) I recieve: ['class', 'copy', 'delattr', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'calculation_duration', 'degrees_of_freedom', 'new_acceleration', 'new_calculation', 'new_position', 'new_velocity', 'time', 'trajectory', 'was_calculation_interrupted']

pantor commented 3 years ago

Hi @nkashiri,

unfortunately the docs in the master branch are for the upcoming version. Pip currently installs Ruckig version 0.4.0, so please refer to this Readme in the meantime. We'll release 0.5.0 very soon!

nkashiri commented 3 years ago

Thanks @pantor for the quick reply, The Readme unfortunately concerned only the cpp implementation, so I used the collection of examples that seemed to be concerning the 0.4 version. looking forward to the new release