Hi @benedictdied ,
We’re testing the encoders with the web tester (openUC2 WebSERIAL Demonstration) and the motors move with the encoder commands (AS 5311 linear encoder for real-time feedback loop | openUC2 Documentation). Unfortunately they move only in one direction, even when using both positive and negative position values:
{
“task”: “/linearencoder_act”,
“moveP”: {
“steppers”: [
{
“stepperid”: 2,
“position”: 5000, # tried +/- 5000 and both move in one direction
“isabs”: 1, # tried also relative with 0.
“cp”: 100,
“ci”: 0.0,
“cd”: 10
}
]
}
}
I wanted to debug the response of the esp32, but somehow I’m not getting any answer from the board. Do you know how to set it, so that we can get the answers from the tasks? We would like to get the response of:
{
“task”: “/linearencoder_get”,
“linencoder”: {
“posval”: 1,
“id”: 1
}
}
{
“task”: “/linearencoder_get”,
“linencoder”: {
“posval”: 1,
“id”: 1
}
}
Best regards!