ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As suggested by @gustavo.velascoh and @devesh, one can modify src/stageros.cpp
.
You can find these two lines in src/stageros.cpp
which gives you a hint:
//@todo Publish stall on a separate topic when one becomes available
//this->odomMsgs[r].stall = this->positionmodels[r]->Stall();
Note that Stall()
should be Stalled()
.
In my case:
if(this->positionmodels[r]->Stalled()){
// do something
}