UbiquityRobotics / move_basic

A minimal navigation node
BSD 3-Clause "New" or "Revised" License
69 stars 21 forks source link

feature-nav parameter missmatch #77

Closed JanezCim closed 3 years ago

JanezCim commented 3 years ago

Im writing this as a separate issue, because this is more clear that just adding comments to #76.

In feature-nav branch there are some paramter missmatches that i've noticed:

These are just the parameters that i've noticed now. I think what happened is that move_basic was heavily modified without thinking about how collision_checker will be effected and now we have a slight parameter mess. I think we also have to look at collision checker and clear this before we merge into master.

This new heavily modified move_basic works very nicely, but since so many user-exposed params have changed maybe we have to think about this becoming a new version of move_basic (eg. move_basic2)

dorkamotorka commented 3 years ago

I don't know to which branch this is related since some of these information does not seem to be relevant for the "master" (kinetic-devel) branch. Kinetic devel features branch is currently applying step by step features, documentation etc. We should either update the issue or create a new one related to master branch since others are project specific.

JanezCim commented 3 years ago

In feature-nav branch there are some paramter missmatches that i've noticed:

I'm unclear on the parameter names and if they are missmatched in the feature-nav branch. This issue does not concern the parameters in master branch

dorkamotorka commented 3 years ago

robot_front_length, robot_width, robot_back_length are parameters for robot footprint. forward_obstacle_threshold, min_side_dist are parameters for how far from the robot obstacles should at least be - it's like a deadzone where obstacles shouldn't be so the robot can turn and drive through.

JanezCim commented 3 years ago

okay, why do we need robot_front_length if we already have forward_obstacle_threshold? I currently have then at the same value. Same for robot_width vs min_side_dist. Sorry for interrogation but i really dont understand the difference

JanezCim commented 3 years ago

i guess what im asking is is there a scenario where robot_front_length would be different from forward_obstacle_threshold?

dorkamotorka commented 3 years ago

It's hard to tell from code for sure(I would say we are using in paragraphs mentioned method) whether we are using robot_width and robot_front_length also for collision checking, but if we are than I agree with you.

dorkamotorka commented 3 years ago

@JanezCim are we clear on that?

MoffKalast commented 3 years ago

It's gonna be so funny when Janez wakes up on Thursday with a hundred million email pings from all repos.

JanezCim commented 3 years ago

@tp4348 If you understand all the params, both in move_basic.cpp and in collision_checker.cpp, then im fine, we can solve further issues with understanding these down the line @MoffKalast thats why the "Unsubscribe all" button is there :)