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

Possible to run SITL #32

Closed
frownsky opened this issue Nov 25, 2017 · 5 comments
Closed

Possible to run SITL #32

frownsky opened this issue Nov 25, 2017 · 5 comments
Assignees
Labels

Comments

@frownsky
Copy link

Hi, are is there a way to load cesium module from MAVProxy running with SITL?

@SamuelDudley
Copy link
Member

Hi,
Yep there sure is :) As an example the server at www.mavcesium.io is running a SITL instance connected to MAVProxy (which is running the cesium module).
If you have a SITL session running and MAVProxy is connected you can simply load the cesium module with module load cesium and everything should work for you.

Let me know if you run into any issues and I'll do my best to help out.

@frownsky
Copy link
Author

Oh thanks, I actually didn't load the cesium like that but somehow I manage to load it using python command and load the cesium_web_server.py server (because I cannot load the cesium module in MAVproxy). Also I noticed that It is just a drone floating in space without the globe.

@SamuelDudley
Copy link
Member

If you are running MAVProxy I suggest loading the application via that method (rather than running cesium_web_server.py directly). Ensure you have an internet connection to be able to download tiles otherwise you will experience the black globe as per your comment above.

@frownsky
Copy link
Author

how can I change the model of the drone? I have a DJI s1000 3D model to replace the single rotor drone shown here

@SamuelDudley
Copy link
Member

Hi,
you will either need to replace the current model files here (with a new set of files that have the same name): https://github.com/SamuelDudley/MAVCesium/tree/master/app/static/DST/models
or add a new set of models to that directory and update the vehicle model call here: https://github.com/SamuelDudley/MAVCesium/blob/master/app/static/DST/js/core.js#L12
Thanks

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

2 participants