We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The commands variables for velocity and effort in the HandleLayer class are not initialzed. https://github.com/ros-industrial/ros_canopen/blob/melodic-devel/canopen_motor_node/include/canopen_motor_node/handle_layer.h#L89
I think they should be initialized to zero to avoid bad init with non zero cmd.
The text was updated successfully, but these errors were encountered:
In this case the value should be managed by hardware_interface::JointHandle. And if the JointHandle is not active, it will be overwritten anyway.
hardware_interface::JointHandle
Any fixed value for the commands (especially cmd_pos_) is wrong, but It is okay to set it to 0 to just make any static code analyzer happy :)
Sorry, something went wrong.
No branches or pull requests
The commands variables for velocity and effort in the HandleLayer class are not initialzed.
https://github.com/ros-industrial/ros_canopen/blob/melodic-devel/canopen_motor_node/include/canopen_motor_node/handle_layer.h#L89
I think they should be initialized to zero to avoid bad init with non zero cmd.
The text was updated successfully, but these errors were encountered: