Skip to content

Filtered leg detector has missing dependencies; map_laser package is installed in a weird way. #103

@RohanDwivedi

Description

@RohanDwivedi

ROS Melodic; Ubuntu 18.04.06.

  • The leg_detector works well on my system but has lot of false detections.
  • So I decided to try out filtered leg detector, but it has a dependency on map laser package.
  • Installed the package using sudo apt-get install ros-melodic-map-laser and it worked succesfully.
  • Got couple of errors as a result

ERROR: cannot launch node of type [map_laser/filter.py]: Cannot locate node of type [filter.py] in package [map_laser]. Make sure file exists in package path and permission is set to executable (chmod +x)

-- Managed to solve it by sudo cp //opt/ros/melodic/build/map_laser/filter.py //opt/ros/melodic/share/map_laser/ since I figured rospack find coudnt find the python file as it looked only inside the share directory.

[ERROR] [1632140530.856963692]: Bad filter type ScanShadowsFilter. Filter type must be of form <package_name>/<filter_name>

-- Did not yet figure this out at the time of writing, will update if I find a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions