Movement of the fingers of the new hand in open/close mode #714
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows
embObjMotionControl
to move the fingers of the new hand in open close mode.As such, we can now parse xml files which have the field
SERVICE.type
equaleo_motcon_mode_mc4plusfaps
.This service type needs a mc4plus board of which uses the standard pwm actuators on ports
CONN:P2
,CONN:P3
,CONN:P4
andCONN:P5
.The novelty in here is that the encoders at joint are described as
POS:hand_thumb
,POS:hand_index
,POS:hand_medium
andPOS:hand_pinky
and are associated to absolute magnetic encoders placed on thefap
boards which are managed by CAN boardpmc
of which we specify CAN address in the fieldPOS.location
.So we needed the parsing of the xml to be able to get the new parameters and to send then to a
mc4plus
board and then down to thepmc
board.The code in the PR has demonstrated to be effective in moving the fingers of the new hand and is fully compatible with the other service types used on the iCub platform.
The firmware used for the
mc4plus
is already inrobotology:devel
since this PR.Compatibility test have been done with the standard
eo_motcon_mode_foc
service type which uses anems
two2foc
boards and AEA encoders to move three brushless motors.