MAVCesium icon indicating copy to clipboard operation
MAVCesium copied to clipboard

cesium update to 1.61 and terrain API change to fix broken terrain in master

Open davidbuzz opened this issue 6 years ago • 7 comments

On Current Master, the terrain data is broken because the old agi.com terrain server/s are no longer available, and you now have to use the cesium-ion servers, which are free for non-commercial use so long as you have a provider token, one of which I've got for free and included in this commit.

davidbuzz avatar Sep 22 '19 02:09 davidbuzz

Hi Buzz,

Any chance you could help me run this branch? I tried, but it still didn't resolve the issue.

I really like this tool, and am considering taking ownership to achieve

  • Get it working with latest ardupilot SITL
  • Abstract away mavproxy enough that we can start to use roslibjs as an alternative messaging
  • Support viewing ardupilot geofences

Ryanf55 avatar Nov 07 '24 20:11 Ryanf55

you realise how long ago I opend this PR, right.? I went through a CesiumJS phase, and its still a great tool, but I haven't used it in years. https://sandcastle.cesium.com/ is a great online learning reasource that lets u edit cesium in the cloud and try it out.

davidbuzz avatar Nov 08 '24 05:11 davidbuzz

Yep! I'm grave digging here a bit, but am really impressed with this interface. Are there any 3D alternatives that you are aware of that work with ArduPilot that also support terrain, sensor frustrum visualization, waypoints?

Ryanf55 avatar Nov 08 '24 05:11 Ryanf55

The only other 3d one i'm aware of is https://plot.ardupilot.org/#/, but its a 3d log viewer not a 3d GCS

davidbuzz avatar Nov 08 '24 05:11 davidbuzz

Tested this branch: image

Gonna try a newer version.

Ryanf55 avatar Nov 08 '24 06:11 Ryanf55

u needed to uninstall the pip-installed mavproxy first, becasue app/cesium_web_server.py , lines 24,25,26 read the "web server root" from the python site folder, not the current directory, and only fall-back to the current directory on lines 28,29,30.

davidbuzz avatar Nov 08 '24 07:11 davidbuzz

I got it working on my branch 2024-refresh and merged to my master. I've proposed a new PR here: https://github.com/goodrobots/MAVCesium/pull/47

This one is no longer needed.

Ryanf55 avatar Nov 08 '24 09:11 Ryanf55