Mechanical-Advantage / AdvantageScope

Robot telemetry application
MIT License
165 stars 50 forks source link

3d Custom Robot Asset #128

Closed brennonyoo closed 6 months ago

brennonyoo commented 8 months ago

Hi I had a question about inputting custom robot models. I seem to have followed all of the conventions described in the documentation, I added a model in .glb and the config.json all in the proper format but I do not see any option in the AdvantageScope 3d field menu. Is there something further I need to do? I heard some people mention code but I didn't see any mention of that in the documentation so I'm not sure.

jwbonner commented 8 months ago

To confirm, did you place the files in the folder that opens when you click "Show Assets Folder" in the menu bar? The folder for the robot model should be named "Robot_???", so the overall file structure looks like this:

If all of that looks correct, it would be helpful if you could send the config JSON file so I can try to recreate the issue.

brennonyoo commented 8 months ago

Yes, here it is. I was having some issues with the format so I took the kitbot config and just changed the name, perhaps that might be where the issue is.

https://pastebin.com/z32Tue0M

jwbonner commented 8 months ago

I don't see any issues with the config JSON, so I suspect the problem is somewhere else. Here's what the folder structure should look like with the GLB file:

Screenshot 2024-01-15 at 6 00 08 PM

Could you confirm that your folder structure looks like this?

I see the robot appear under the "Robot" dropdown in AdvantageScope as shown below. Is it accurate that you're seeing other robots in that list but not "Luna"?

Screenshot 2024-01-15 at 6 00 22 PM
jwbonner commented 7 months ago

Did you find a solution to this issue?

jwbonner commented 6 months ago

I assume that you found the issue with the asset and got it to work. If you're still having trouble feel free to reopen this issue.