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

non square boding area #19

Open
seivazi opened this issue Aug 11, 2020 · 3 comments
Open

non square boding area #19

seivazi opened this issue Aug 11, 2020 · 3 comments

Comments

@seivazi
Copy link

seivazi commented Aug 11, 2020

A numpy error : operand could not be broadcast together with shapes
I noticed, in grasp_entropy_node.py file the operation of numpy array are working only if bounding box (mvp_grasp.yaml) is square otherwise the dimension of some of the arrays are swap. The error first occur in line 231 but if you change the shape of d_from_prev_view to the current dimension then the same issue comes up in other part of the code.

Could you test whether you can define non square boding area?

@phuicy
Copy link

phuicy commented Aug 19, 2020

I can confirm this is reproducible.

One option is to change grid_world to be based on bins rather than resolution.

@seivazi
Copy link
Author

seivazi commented Aug 21, 2020

I also now remember it. @dougsm once mentioned about it in a another issue. @phuicy what do you mean based on the bins?

@phuicy
Copy link

phuicy commented Aug 23, 2020

So at the moment, a grid is made based on some fixed resolution in x and y. Instead, a resolution in x and y could be independently determined by a fixed number of bins (number of sections in the grid). This would allow for a rectangular grid.

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

2 participants