Comments (5)
Hopefully this commit solves your issue. Let me know if it doesn't.
from mavcesium.
Fresh clone, and then edit of ini file:
[dev] [mav@maverick-ubuntuvm /usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_cesium]$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: app/mavcesium_default.ini
no changes added to commit (use "git add" and/or "git commit -a")
from mavcesium.
Okay, still broken....
from mavcesium.
My git foo is weak but because the file is already being tracked .gitignore doesn't work. If I remove the file from being tracked users won't get a copy when they clone the repo. Apparently the correct way to do this (going off the git book) is to put the config in a submodule...
At the moment I have the server looking for config files in the user's home directory and the MAVProxy app data directory and prioritising them over the example config. Will it work for you to run a config file external to the repo?
Another fix is passing the config parh at runtime as you suggested. Alternatively you can run git update-index --assume-unchanged app/mavcesium_default.ini which should stop tracking the file in your local repo. The problem with this method is that it only works at a local repo level.
from mavcesium.
Yes I think you're right - this ini file should be considered a default and not to be altered. If any alterations need to be made, the file should be copied into the home directory or the app data directory, or ideally to a specified location by mavproxy. Can mavproxy really not call a module with a parameter?
from mavcesium.
Related Issues (20)
- Websocket address logic faulty HOT 4
- Configurable config? HOT 8
- Add support for streaming video HOT 14
- PX4 Support HOT 3
- README.md is out of date and live demo is down HOT 2
- Make application independent of (but still compatible with) MAVProxy HOT 14
- Add SERVER_PREFIX config option to allow reverse proxy HOT 19
- Possible to run SITL HOT 5
- Editable HTML and JS files HOT 6
- Standalone mavcesium uses a lot of resource HOT 22
- Support more than one vehicle in the same 'world'
- Support touch events for zooming and WP control
- Python bindings for C++ MAVLink processing HOT 2
- Does not retry for mavlink connection HOT 1
- Add pip installer for standalone server
- ConfigParser instance has no attribute 'read_file' HOT 3
- License Question HOT 2
- 3D map not loading
- Error running module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mavcesium.