-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
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
Example of CartesianControlClient is not working properly #143
Comments
Teo-specific example, blocked by all issues related to unifying kinematic model, namely roboticslab-uc3m/teo-main#23, roboticslab-uc3m/teo-main#15, and future derived issues. |
This should fix all your problems at #143
Example working at 1ab71af. |
Merge done at 2a2954d. |
Just for the record, some pointers to misplaced comments: :-) |
@jgvictores sorry for the forgetfulness... |
Some notes of BasicCartesianControl:
>>stat
Response: [ccnc] 0.389496 -0.34692 0.16769 0.0 0.0 0.0
>>movj 0.39 -0.34692 0.16769 0.0 -0.2 0.0
Response: [ok] It works well but we don't know the units (degrees or radians?) |
@PeterBowman said: If you want to read axis-angle data, launch the server device with Please read /issues/113.
There was a major documentation overhaul several months ago, check http://robots.uc3m.es/dox-kinematics-dynamics/. |
Just to sum up, major merge was 2a2954d and most relevant line is kinematics-dynamics/examples/cpp/exampleCartesianControlClient/exampleCartesianControlClient.cpp Line 54 in 2a2954d
|
...for this particular use case, and for the time being. |
I want to ask something about this iCartesianControl->stat(status, vector);
printf("Controller status (forward kinematics): ");
for (int i = 0; i < vector.size(); i++)
{
printf("%f ", vector[i]);
}
printf("\n"); are this values: Controller status (forward kinematics): 0.000000 -0.346920 -0.221806 0.000000 1.570796 -0.000000 I can't see the same result when we have the robot in a initial position and we do Response: [ccnc] 3.25149848407618e-17 -0.34692 -0.221806 1.53080849893419e-16 1.0 -3.06161699786838e-17 90.0 ... but it's the same using Response: [ccnc] 3.25149848407618e-17 -0.34692 -0.221806 2.40458836715224e-16 1.5707963267949 -4.80917673430447e-17 so, we are getting the "compressed" representation with six values (three of position and three of orientation) in the example. We want to work with the four values of orientation like here Is |
Related with WIP at #145, essentially Options:
|
@rsantos88 should be fixed at da0a4ac, RPC is enforced now if users pass on the |
This is arguable. The main hack now is the TL;DR: (bugs aside) please use conversion methods, don't rely on transformations unless both client and server devices are properly configured. See #113 (comment). |
Tested and works, thanks for reporting this! |
Errors found:
The maximum number of iterations is exceeded
andmovj(): invKin failed.
Terminal 1:
Terminal 2:
The text was updated successfully, but these errors were encountered: