Skip to content

Traversability layer not found exception thrown #1

@aakapatel

Description

@aakapatel

Hi,
Thank you for porting this package to ros2. Great effort!
I have an issue when I call checkFootPrintPath service from another node. It complains that no layer "traversability found."
Have you tried to get traversability value at a position through this service? Please find below the error log.

[traversability_estimation_node-1] terminate called after throwing an instance of 'std::out_of_range'
[traversability_estimation_node-1] what(): GridMap::at(...) : No map layer 'traversability' available.
[ERROR] [traversability_estimation_node-1]: process has died [pid 1143694, exit code -6, cmd '/home/aakapatel/colcon_ws/install/traversability_estimation/lib/traversability_estimation/traversability_estimation_node --ros-args -r __node:=traversability_estimation --params-file /home/aakapatel/colcon_ws/install/traversability_estimation/share/traversability_estimation/config/robot.yaml --params-file /home/aakapatel/colcon_ws/install/traversability_estimation/share/traversability_estimation/config/robot_footprint_parameter.yaml --params-file /home/aakapatel/colcon_ws/install/traversability_estimation/share/traversability_estimation/config/robot_filter_parameter.yaml'].

The termination call originates from this line in which traversabilityType_ is first initialized here

Any help would be appreciated.
Thanks,
Akash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions