Board amc
: test project for streaming AEA3 values
#444
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 adds some features useful for testing the reading of AEA values on the
amc
board.Dedicated test project that sends reading to a socket
At first there is a dedicated test project that reads AEA3 values at a 1 ms rate and transmits them over a UDP socket to address
10.0.1.104:6666
.The socket can be read simply by opening a shell on address
10.0.1.1.104
and digitingand we can save the log with:
$ netcat -u 10.0.1.99 -p 6666 6666 > file.aea3.dat
Using the
amc
withyarprobotinterface
The
amc
application can be used on the robot to move the wrist and also send AEA3 values for debug.There are two methods.
Log of
AEA3
values via dedicated socketIf the
amc
is is compiled with macroDEBUG_AEA3_stream_over_theBackdoor
defined then it sends the AEA3 values via a dedicated socket to10.0.1.104:6666
. Then one can get the values withnetcat
or any other reader.Streaming of the AEA3 values to the StateExt:0 port
If the
amc
is is compiled with macroDEBUG_AEA3_stream_over_TORQUE
defined then it sends the AEA3 values to yarprobotinterface using theeOmc_joint_status_t::core.measures.meas_torque
field that is not used for the wrist.Then one can read the values directly with
yarp read
or much better withtelemetry
. See here.