Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RohanDwivedi opened this issue Sep 20, 2021 · 1 comment

Comments

@RohanDwivedi
Copy link

RohanDwivedi commented Sep 20, 2021

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.

@RohanDwivedi
Copy link
Author

RohanDwivedi commented Sep 20, 2021

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

ros-perception/laser_filters#69
update: had to change type: ScanShadowsFilter to type: laser_filters/ScanShadowsFilter in filters.yaml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant