[ros-users] Endless Loop when using 'use_collision_map'==fal…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: ros-users
題目: [ros-users] Endless Loop when using 'use_collision_map'==false in planning_environment (unstable ROS version)

Dear community,

I still have problems with the planning_environment package (unstable
ROS version), when setting the parameter "use_collision_map" in for the
environment_server to false!
Since the previously mentioned error is fixed now, there is one more
spot where the case use_collision_map == false is not handled quite
right and leads to problems (endless loop).

problem:
in planning_environment/src/monitors/environment_server.cpp; in the 
constructor; line 73:
...
while(!planning_monitor_->haveMap()){
     ros::Duration().fromSec(0.05).sleep();
}
...



possible solution:
...
while(setup_.use_collision_map_ && !planning_monitor_->haveMap()){
     ros::Duration().fromSec(0.05).sleep();
}
...



I hope this can be fixed soon so that yet another overlay will not be
necessary after the diamondback-release!


Regards,
Felix