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

Add a simulator plugin #3

Open
max-mapper opened this issue May 22, 2013 · 5 comments
Open

Add a simulator plugin #3

max-mapper opened this issue May 22, 2013 · 5 comments
Labels

Comments

@max-mapper
Copy link

For example use voxel-drone for simulation: http://shama.github.io/voxel-drone/

:D

@eschnou
Copy link
Owner

eschnou commented May 22, 2013

Voxel-drone is indeed awesome and it would be really nice to have this easily hooked to a simulator.

However I don't really see how it could be used/integrated in this framework. We either need:

  • a low-level simulator on the backend side which stream tcp or png for video (there may be some flight simulator out there that could be re-used for this)
  • have the simulator at the browser level, but would still need to be a first person view and I don't know if voxel-drone could be hacked into producing a first-person rendering.

Let me know if you have ideas!

@eschnou
Copy link
Owner

eschnou commented May 22, 2013

Also note that there is an open-source ardrone simulator with a real physics engine and 3D video. However I have not been able to run it on my system yet: http://www.ros.org/wiki/tum_simulator

I wonder if the ar-drone lib works with this one.

@max-mapper
Copy link
Author

I think voxel-drone is pretty flexible. Perhaps @shama has some ideas

Sent from my iPhone

On May 22, 2013, at 9:49 AM, Laurent Eschenauer [email protected] wrote:

Voxel-drone is indeed awesome and it would be really nice to have this easily hooked to a simulator.

However I don't really see how it could be used/integrated in this framework. We either need:

a low-level simulator on the backend side which stream tcp or png for video (there may be some flight simulator out there that could be re-used for this)
have the simulator at the browser level, but would still need to be a first person view and I don't know if voxel-drone could be hacked into producing a first-person rendering.
Let me know if you have ideas!


Reply to this email directly or view it on GitHub.

@shama
Copy link

shama commented May 22, 2013

Yeah! A first person view or any view (follow cam, etc) is simple. Streaming png video has been difficult as it greatly slows down the simulation in the browser but there are some new alternative solutions I haven't explored yet.

The physics of the drone isn't very accurate but it can get closer. The benefit of using voxel.js is that the environment in which the drone is navigating can be quickly and easily be constructed.

Running a simulation from previous flight data is easy too. I think a neat feature would be if you could rewind/step through flight data and alter the conditions along each step. voxel.js worlds are getting easier to share as well. So it would be really neat if you could save and share a snapshots of the environment, flight data and altered timelines.

Integrating is easy to and only takes a few lines of code to embed a voxel.js world into the page. I'll be working on upgrading voxel-drone to the latest voxel-engine soon and we'll get a big performance boost. I'd be happy to help integrate it here. :)

@reconbot
Copy link

I started digging into this tonight, I'm still wrapping my head around the build steps to get voxel-drone working locally, but leveraging dnode I think I can hook it up. The "video" on the other hand.. that may be out of my scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants