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

Including more robot models #63

Open
Mcpixel53 opened this issue Feb 14, 2019 · 1 comment
Open

Including more robot models #63

Mcpixel53 opened this issue Feb 14, 2019 · 1 comment

Comments

@Mcpixel53
Copy link

Hello everyone,

I was wondering how to add a new model to Enki. I'm currently working on a simulator project for the robotics department of my university, using Enki as physics engine. A spin-off from the same university has created a robot called Robobo, and I would like to add it to the program for future simulations. In fact It would be nice to add the characterization of the sensors and actuators to the engine ( I guess there won't be a problem in case it is interesting to add it later to the main repository).

I have seen the texture map of the robots within the folder viewer, I observed that the models are defined by the "face_indicies" matrix, but I'm not sure about its structure.

I have access to different formats of the model of the Robobo, but I would rather prefer not to mess with OpenGL in the renderScene method by adding it on a different way than the one already implemented.

Could you tell me how exactly did you create the vertex matrix? Is there any converter to translate .obj or alike to that format? I guess that you didn't make every robot by hand.

Thanks in advance!

@stephanemagnenat
Copy link
Collaborator

stephanemagnenat commented Nov 13, 2019

The model for the viewer are not used at all in simulation. There were added using a tool, whose name I have forgotten, that translates 3D objects into CPP source. The placement of the different parts and their animations were done by hand.

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