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

[cob_collision_velocity_filter] cannot use frame other than a robot attached frame as collision costmap global frame. #242

Open
AravindaDP opened this issue Sep 3, 2020 · 0 comments

Comments

@AravindaDP
Copy link

Hi,

I have being using cob_collision_velocity_filter along with cob_linear_nav for controlling holonomic robot other than care-o-bot family robot (Since these are generic enough for use in other robots as well)

But I couldn't set something like odom or map frame as the global frame for local costmap and collision_velocity_filter.

Following are my settings (only relavent fields are shown)

collision_velocity_filter_params.yaml

#where to look for costmap parameters
costmap_parameter_source: "/collision_velocity_filter/anti_collision_costmap/costmap" #default "/local_costmap_node/costmap"

#Parameters specifying collision velocity filter
global_frame: /odom
robot_base_frame: /base_footprint

local_costmap_params.yaml

# global information
global_frame: /odom
robot_base_frame: /base_footprint
update_frequency: 4.0
publish_frequency: 4.0

# local map settings
rolling_window: true
width: 10.0
height: 10.0
resolution: 0.2

This will cause collision_velocity_filter to only correctly recognize relevent obstacles when robot is at 0,0 only. So assume cost grid of cost map is not correctly transformed from map frame to robot frame and compared.

The reason I'm trying to use odom frame as costmap global frame is because when robot link is used for costmap it rotates along with robot and smears the obstacles around our robot (Since it does have very limited FoV of LIDAR) - May be we should simply try to resolve that rather, but I believe above problem in collision_velocity_filter also a genuine limitation

Please let me know if any additional information is required.

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