I am using python with C dynamic library to control gazebo haptix robotic arm. But after sending about 300 commands, it came out with the following error:
NodeShared::RecvSrvRequest() error sending response: No route to host
hx_update() Service call timed out.
hx_update(): Request error.
then it continues to run, but cannot do anything.
is there something wrong with my commands?
even when i sending 300 empty commands doing nothing like:
int update()
{
if (hx_update(&cmd, &sensor) != hxOK)
{
printf("hx_update(): Request error.\n");
return -1;
}
if (hx_robot_info(&robotInfo) != hxOK)
{
printf("hx_getrobotinfo(): Request error.\n");
return -1;
}
return 1;
}
it still came out with the error:
NodeShared::RecvSrvRequest() error sending response: No route to host
hx_update() Service call timed out.
hx_update(): Request error.
↧