Skip to content

What does yarp::dev::IVelocityControl::stop() actually do at the lowest level? #62

Answered by randaz81
pattacini asked this question in Q&A
Discussion options

You must be logged in to vote

The implementation 2 is already used on MC4 boards.

    if (_control_mode[axis] == MODE_IMPEDANCE_POS || \
        _control_mode[axis] == MODE_POSITION || \
        _control_mode[axis] == MODE_IMPEDANCE_VEL || \
        _control_mode[axis] == MODE_VELOCITY || \
        _control_mode[axis] == MODE_MIXED) \
        { \
            _set_vel[axis] = 0; \
            _set_acc[axis] = 0; \
            _desired_vel[axis] = 0; \
            init_trajectory (axis, _position[axis], _position[axis], 1); \
        } \

Replies: 7 comments

Comment options

pattacini
Oct 13, 2015
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Oct 13, 2015
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Oct 13, 2015
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pattacini
Comment options

pattacini
Oct 13, 2015
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #62 on December 08, 2020 16:50.