Closed remod closed 7 years ago
The method free_gait::RosVisualization::getStanceMarker might be extended by a check if the stance is empty. However, I would then move the return object to a reference argument and return a bool instead indicating if the creation succeeded.
👍
When no foot is in ground contact a stance marker was created containing no polygons. This lead to a crash of the plugin (and therefore rviz) as soon as the marker was destroyed (see gdb output). This fix prohibits the creation of an empty stance marker and solves the issue.
(gdb)