You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it gives rise to crash the some part of moveit2 while running demo. It is indicated that in this page, at method throws out of range error for this situations:
[std::out_of_range](https://en.cppreference.com/w/cpp/error/out_of_range) if the container does not have:
1,2) an element with the specified key.
3,4) the specified element, that is, if find(x) == end() is true.
Follow the get started documentation and then launch this file with this configuration after creating a new package named hello_moveit. Don't forget to build the relevant package again with this command.
Description
Hello,
I have found a bug in
moveit2/moveit_ros/perception/mesh_filter/src/gl_renderer.cpp
Line 390 in 6454a07
at method of std::map
is misused.The following line is used in moveit2
But it gives rise to crash the some part of moveit2 while running demo. It is indicated that in this page,
at
method throwsout of range error
for this situations:But it is missed in this lines.
moveit2/moveit_ros/perception/mesh_filter/src/gl_renderer.cpp
Lines 385 to 390 in 6454a07
I have a PR in order to fix this bug.
Your environment
Steps to reproduce
Follow the get started documentation and then launch this file with this configuration after creating a new package named
hello_moveit
. Don't forget to build the relevant package again with this command.sensor_3d.yaml
Change the path in
.sensors_3d(file_path = "/home/cihat/ws_moveit/src/hello_moveit/config/sensors_3d.yaml")
by you.And finally run this command
Expected behaviour
It should not be crashed while running demo with sensor_3d option.
Actual behaviour
It crashed while running demo with sensor_3d option.
Backtrace or Console output
Backtrace Output : https://gist.github.com/CihatAltiparmak/c4e82c7bfb0650e33716edadaac6a93d#file-backtrace_outputs-txt
Console Output: https://gist.github.com/CihatAltiparmak/c4e82c7bfb0650e33716edadaac6a93d#file-error_when_moved_group_node_is_ran
The text was updated successfully, but these errors were encountered: