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

MAVCesium: Switch to newer fork #1480

Merged

Conversation

Ryanf55
Copy link
Contributor

@Ryanf55 Ryanf55 commented Nov 8, 2024

Purpose

Add my MAVCesium fork and expose it a bit better in MAVProxy.

Expectations

With mavproxy.py --cesium, it will start the web server, which you can open at http://0.0.0.0:5000/mavcesium/#.

You can also still do module load cesium.

Currently, mavproxy does not connect properly when launched in this mode. It works best with the standalone mode, where you launch mavproxy, then launch mavcesium separately in another terminal.

python3 cesium_web_server.py

I'll chase that down soon - it's likely a difference in default options because the websocket receives no data.
I'd like to propose merging this as-is with the known deficiency because it's still a large improvement.

Here's what you get:

Birds eye view of Kaga (default on open when you start SITL in Kaga)
image

Once you take off, the takeoff orbit is marked in pink.
image
There is a known issue of the vehicle model being yawed 90 off. I'll fix it later.

The forward facing view works too
image

If you switch to FBWB, you can turn on the camera projection, and get a good idea of what it looks like.
image

Follow up

I'd like to get it fully working (integrated as a mavproxy module) and fix any obvious bugs.

.gitmodules Outdated Show resolved Hide resolved
MAVProxy/mavproxy.py Outdated Show resolved Hide resolved
Signed-off-by: Ryan Friedman <[email protected]>
@Ryanf55 Ryanf55 force-pushed the fix-mavroxy-cesium-not-loading-or-running branch from 1bfbc65 to e87be50 Compare November 9, 2024 01:56
@Ryanf55 Ryanf55 changed the title MAVCesium: Switch to newer fork and expose mavcesium CLI MAVCesium: Switch to newer fork Nov 11, 2024
@peterbarker peterbarker self-requested a review November 11, 2024 23:54
@tridge tridge merged commit b87f4c3 into ArduPilot:master Nov 11, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

4 participants