Open liesrock opened 2 years ago
Looks like that on the server side the validate call is the expected one on the actual implementation of the CollisionSupport task/bound, instead for the client side the function that gets called is the following:
bool TaskRos::validate()
{
if(_info.name.empty())
{
return false;
}
return true;
}
Unfortunately _info.name
is equal to "" so the function returns false.
Fyi @alaurenzi
So we are not supposed to use the Collision Avoidance as a task, even though this gets created in the task list, but when we try to
rostopic echo /cartesian/collision_avoidance/task_properties
we get no data: this cause the above issue on the failing validation.
Even if we express the Collision Avoidance as a constraint, the related task gets created, but the task_properties are not streamed in the topic.
I'll look into this asap!
I was trying to help @aled96 with the debug of an issue reported here: https://github.com/ADVRHumanoids/de_luca_hybrid_planner/issues/20
To make the issue more clear I prepared an example to reproduce the issue of the branch
issue_1
here: https://github.com/ADVRHumanoids/cartesio_collision_support/tree/issue_1Step to reproduce the issue (*centauro_cartesio is needed):
No issue here and the validate function for all the tasks/constraints returns true.
On the second terminal:
The error shows up:
The stack in use is the following:
The client test exe just does the following:
I will try to debug more in deep.
fyi @ADVRHumanoids/multi-dof