Normalizing Each Objective Class's motionCost()#66
Normalizing Each Objective Class's motionCost()#66akash-venkateshwaran wants to merge 28 commits intomainfrom
Conversation
There was a problem hiding this comment.
I added some tests in test_distance_objective that we should use for the other objectives:
sample_states(): commented out checking that all states are valid, which I think is what we want right?find_maximum_motion_cost()- Implicitly test by comparing
max_motion_costto a hardcoded value - Tried to test
find_maximum_motion_cost()directly but was not able to get the type ofstatescorrect so I commented it out for now- Update: fixed and uncommented
- Implicitly test by comparing
If you want to merge this PR today and aren't able to finish the tests, I'm ok with merging this PR and working on the tests in another PR. Just leave some # TODO: <message> comments
Thanks for adding the unit tests. |
Yes and ensure that they are the sampled states are valid. The validity checker currently is just a placeholder but it will be good to set this up now anyways. |
patrick-5546
left a comment
There was a problem hiding this comment.
It seems like sometimes the normalized cost is greater than 1: https://github.com/UBCSailbot/local_pathfinding/actions/runs/7688802043/job/20950435771
|
As discussed, just need to resolve merge conflicts:
|
Description
Verification
Resources