goodrobots / MAVCesium

An experimental web based map display for MAVProxy based on Cesium
https://gitter.im/goodrobots/Lobby
GNU General Public License v3.0
41 stars 23 forks source link

no webpage at localhost:5000 , how to troubleshoot ? #4

Closed AndKe closed 7 years ago

AndKe commented 7 years ago

I did install as expected using git clone , and submodules. I see no errors, but nor do I see anything at port 5000.. :(

AndKe commented 7 years ago

apparently it works once mavlink data is received, not before..

SamuelDudley commented 7 years ago

Hi, Glad it worked for you. I'll make an issue for this, as it would be nice to have the system give some feedback prior to mavlink data.

Let me know if you run into other issues and ill do my best to help out. Thanks, Sam

AndKe commented 7 years ago

Hi, thank you for the software, I am happy to see you are still working on it. (was unsure due to long time since last commit) Until the server starts before mavlink data, consider updating the readme.md with information about it, following the readme I expected to see something at port 5000 and assumed something failed.

SamuelDudley commented 7 years ago

Updated the readme so that the user knows valid mavlink msg's are required prior to visualisation ee6584d496a67ebe4c5d532d1d17c9ba05e3ff37

SamuelDudley commented 7 years ago

Added a waiting for data message #9

AndKe commented 7 years ago

on load, it would be nice if a message with the URL popped up in mavproxy console, it could be clickable, but would always he helpful to those who have not used cesium a lot yet.

SamuelDudley commented 7 years ago

Thanks, that's a great idea! I'll see what I can do about the clickable link, but a text output will be quite simple.

AndKe commented 7 years ago

Text output should be enough, additionally, you could ask system to open the URL, so it would start in browser right away.

On 20 Feb 2017 10:06 a.m., "Samuel Dudley" notifications@github.com wrote:

Thanks, that's a great idea! I'll see what I can do about the clickable link, but a text output will be quite simple.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SamuelDudley/MAVCesium/issues/4#issuecomment-281023797, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZpqqG_dDC7L4nqzhVcWn_878TNhSCTks5reVevgaJpZM4L-mP6 .

AndKe commented 7 years ago

... basically https://www.google.no/amp/s/pythonconquerstheuniverse.wordpress.com/2010/10/16/how-to-open-a-web-browser-from-python/amp/

On 20 Feb 2017 11:19 a.m., "André Kjellstrup" andre.kjellstrup@gmail.com wrote:

Text output should be enough, additionally, you could ask system to open the URL, so it would start in browser right away.

On 20 Feb 2017 10:06 a.m., "Samuel Dudley" notifications@github.com wrote:

Thanks, that's a great idea! I'll see what I can do about the clickable link, but a text output will be quite simple.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SamuelDudley/MAVCesium/issues/4#issuecomment-281023797, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZpqqG_dDC7L4nqzhVcWn_878TNhSCTks5reVevgaJpZM4L-mP6 .

SamuelDudley commented 7 years ago

Hi, Thanks for the links. For the moment I have the module printing a message in the MAVProxy console and auto loading a tab. If the MAVProxy PR is accepted I will remove the auto load feature from MAVCesium and the user can easily double click the link from the MAVProxy console window.

SamuelDudley commented 7 years ago

Thanks again for the input. I'll have a look at implementing some of the trickier HUD / UI bits after I have the configuration control worked out... Feel free to keep adding ideas / requests to the enhancements issue. Cheers, Sam

SamuelDudley commented 7 years ago

https://github.com/ArduPilot/MAVProxy/pull/381 was merged today adding support for click-able URLs in the MAVProxy console.