MCPcopy Index your code
hub / github.com/ArduPilot/UAVLogViewer

github.com/ArduPilot/UAVLogViewer @v1.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.3 ↗ · + Follow
144 symbols 201 edges 41 files 0 documented · 0% updated 7d agov1.0.1 · 2024-04-22★ 250124 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

UAV Log Viewer

log seeking

This is a Javascript based log viewer for Mavlink telemetry and dataflash logs. Live demo here.

prebuilt Docker

To run the prebuilt Docker image, simply run the following command. Make sure to replace <Your cesium ion token> with your actual Cesium ion token. You can obtain a Cesium ion token by signing up for a free account at Cesium ion. More information can be found here

docker run -e VUE_APP_CESIUM_TOKEN=<Your cesium ion token> -p 8080:8080 -d ghcr.io/ardupilot/uavlogviewer:latest

local Build Setup

# initialize submodules
git submodule update --init --recursive

# install dependencies
npm install

# enter Cesium token
export VUE_APP_CESIUM_TOKEN=<your token>

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run production build locally
npm start

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

deployment of static files to a server

To build a static version of the application and deploy it to a server, you can use the following commands. Make sure to replace <your token> with your actual Cesium ion token. The built files will be located in the dist directory, which you can then upload to your server.

git submodule update --init --recursive

npm install

export VUE_APP_CESIUM_TOKEN=<your token>

npm run build

build local Docker image


# Build Docker Image
docker build -t <your username>/uavlogviewer .

# Run Docker Image (token is read at container startup)
docker run -e VUE_APP_CESIUM_TOKEN=<Your cesium ion token> -it -p 8080:8080 -v ${PWD}:/usr/src/app <your username>/uavlogviewer

# Navigate to localhost:8080 in your web browser

# changes should automatically be applied to the viewer

Core symbols most depended-on inside this repo

e
called by 14
src/mavextra/matrix3.js
processData
called by 5
src/tools/parsers/djiParser.js
fromEuler
called by 4
src/mavextra/matrix3.js
extractEvents
called by 2
src/tools/djiDataExtractor.js
extractFlightModes
called by 2
src/tools/djiDataExtractor.js
extractParams
called by 2
src/tools/djiDataExtractor.js
extractTextMessages
called by 2
src/tools/djiDataExtractor.js
extractTrajectory
called by 2
src/tools/djiDataExtractor.js

Shape

Method 89
Function 33
Class 22

Languages

TypeScript99%
Python1%

Modules by API surface

src/tools/mavlinkDataExtractor.js17 symbols
src/tools/dataflashDataExtractor.js17 symbols
src/tools/djiDataExtractor.js16 symbols
src/mavextra/matrix3.js13 symbols
src/tools/parsers/mavlinkParser.js11 symbols
src/components/widgets/baseWidget.js11 symbols
src/mavextra/vector3.js9 symbols
src/tools/parsers/djiParser.js8 symbols
src/components/cesiumExtra/colorCoderRange.js7 symbols
src/components/cesiumExtra/colorCoderPlot.js7 symbols
src/components/cesiumExtra/colorCoderMode.js7 symbols
src/libs/mavlink.js6 symbols

For agents

$ claude mcp add UAVLogViewer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page