-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix assets.json #23
Fix assets.json #23
Conversation
I recommend to accept this PR as-is and to fix these issues later, as it is already a good improvement. The biggest issue is the motor slot swap. |
👍 |
👎 Just found other bugs (cube front/back tinkerbots slots are inverted). Webots fixes are required. |
assets/assets.json
Outdated
"translation": "0.005 0 0.015", | ||
"type": "lego cross female" | ||
}, | ||
"leftSlot": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked in Webots as well and the TinkerbotsCubieBoxWithRoundSlots
model has an up, left and right slots that matches the ones in the TinkerbotsCubieBoxWithCrossSlots
.
So I understand that you removed the front and back slots and replaced them by the axis slot, but I understand why you also removed the up, left and right slots.
With this status, it is not possible to build the racer and roadster models.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right (except I didn't remove the up slot). The axisSlot
and upSlot
should be sufficient to create racer and roadster (except it's not possible to rotate the axis slot due to #7 so the wheels and axis will be badly oriented).
About the left
and right
removal, my concern is that there is an issue in Webots: TinkerbotsCubieBoxWithRoundSlots.leftSlot
and TinkerbotsCubieBoxWithRoundSlots.axisSlot
are wrongly defined at the same position. We should probably add front
and back
slots instead of left
and right
slots in Webots (I have to log this somewhere).
So I decided to remove them until we fix the Webots model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just added an issue here: https://github.com/omichel/webots/issues/215
Why you didn't use the Webots mechanism to specify the gender for the Tinkerbots slots? |
To be honest, I was not aware of the gender mechanism, sorry for this. We could improve the models this way. |
Ok thank you for the explanation. |
Yes it would be good to fix this soon, but I would recommend to accept this PR because it fixes also lot of other small obvious issues not related with Webots. |
👍 |
👀 |
My fix for the male cube was wrong: left and right where simply inverted. 👍 |
Oops it is still wrong, I'm fixing it. |
👍 |
Well spotted, thank you |
Fix incorrect slots definitions in assets.json.