Comments (24)
The blackbox log file please.
Actually, there will so be a $HOME/mwp_stderr_2018-07-20.txt log as well, that will be useful too (or more generally mwp_stderr_YYYY-MM-DD.txt)
from mwptools.
Here are the files.
blackbox_log_2018-07-19_064530.TXT
mwp_stderr_2018-07-20.txt
from mwptools.
Ok, sadly it works here, sort of. There are a number of invalid / corrupt entries in the log, which mwp should survive (it does here), however it fails to find a location -- but nothing bad happens.
Apologies for the piecemeal requests; which Linux (disto, release (i.e Ubuntu xx.yy)) please.
from mwptools.
Yes that's strange.It was working fine with the same log file before update.I am using ubuntu18.04 LTS.
No worries and please let me know if any other files needed.Thanks.
from mwptools.
Unfortunately, it works in my Ubuntu 18.04 VM (hosted on Linux, using kvm). Both the extant master
and the updated development
branch (which does a better job of working out which are the valid logs -- actually non-trivial).
If possible, you might have a try with development
; if nothing else (if it doesn't crash), the work in process flight stats.
from mwptools.
Okay i will try development branch.Could you please guide me how can i install development branch.
from mwptools.
Apologies, I assume far too much (in the following, mwptools
is the mwptools source directory).
cd mwptools
git pull
git checkout development
git pull
make && sudo make install
To get back to master, substitute master
for development
from mwptools.
I think i need to read more about linux commands and stuff.Sorry for asking to spoon feed:(
I tried to install development but got this error.
ninja@ninja-VirtualBox:~/Projects/mwptools$ git pull Already up to date. ninja@ninja-VirtualBox:~/Projects/mwptools$ git checkout development error: pathspec 'development' did not match any file(s) known to git.
from mwptools.
At the moment master and development are the same.
cd mwptools
git checkout master
git pull
make && sudo make install
btw did you originally create the project from a zip file or git clone
?
from mwptools.
and what does
git branch -r
show ?
from mwptools.
I followed the installation video to install.
ninja@ninja-VirtualBox:~/Projects/mwptools$ git branch -r
origin/HEAD -> origin/master
origin/master
from mwptools.
Thanks. I'll have to have a think about that --- tomorrow.
from mwptools.
No worries.I will also try to install it again on my home computer as this is my work PC.Thanks and have a great weekend.
from mwptools.
My git-fu improves!
The default instruction only set up the master branch (in order in minimise the initial setup) .
In order to access other branches:
git remote set-branches origin '*'
git fetch -v
Then:
$ git branch
development
* master
And one can checkout development
$ git checkout development
Switched to branch 'development'
Your branch is up to date with 'origin/development'.
from mwptools.
This is probably fixed in both master and development now.
from mwptools.
I installed ubuntu-18.04 again from scratch on Oracle VM VirtualBox(Version 5.2.16 r123759 (Qt5.6.2) and its behaving in a same way and shutting down by itself while trying to open a log file.While its opening i could see the position of map changing to the location in my log file but after few seconds,mwp shuts down and disappears.
from mwptools.
OK, i'll push a debug branch (with instructions) tomorrow (UK evening).
from mwptools.
Thanks.
from mwptools.
A few hours ago I was almost convinced that this was a problem with the way that mwp was doing a number of asynchronous event; now my suspects are:
- Video drivers (not liking the background zoom)
- Virtualbox / Win 10
- Combination of the above
- Something else to do with async I/O
So let's see. The easiest way is to start from the bottom. So I've split out the bbox processing into a simple standalone application (well two actually, doing the same thing in slightly different ways).
So please download the attached Zip file, then (in an Ubuntu terminal)
bbox_test.zip
unzip bbox_test.zip
cd bbox_test/
make
# FILE is blackbox file, GEOUSER is a geonames user name (optional)
./runme.sh FILE GEOUSER
Then post back mwp_bbox0.log
and mwp_bbox1.log
You should see something like:
$ ./runme.sh blackbox_log_2018-07-19_064530.TXT a_user_name
Analysing log ...
Getting base location from index 6 49.162187 -122.494655 true
Getting data for log 6
Geonames 49.162187 -122.494655 America/Vancouver
6 05:24.249 2018-07-14 18:23:16 PDT
Getting data for log 7
7 05:28.304 2018-07-14 18:30:26 PDT
Getting data for log 8
8 05:58.073 2018-07-14 18:38:00 PDT
Getting data for log 9
9 00:07.803 2018-07-14 18:45:48 PDT
Getting data for log 10
10 05:02.661 2018-07-14 18:46:02 PDT
Getting data for log 11
11 04:15.928 2018-07-14 18:54:15 PDT
File contains 11 entries
from mwptools.
Here are the files.Thanks
mwp_bbox0.log
mwp_bbox1.log
from mwptools.
OK, so Ubuntu on VBox handles the async IO correctly as well; next step is to turn off the background map zoom while analysing logs. For this we need the latest development branch.
cd mwptools
git remote set-branches origin '*'
git fetch -v
git checkout development
git pull
make && sudo make install
Now run it from the terminal with a specific environment (with and without the async map zoom).
# Async zoom, may crash
MWP_NOLOG_REDIRECT=1 mwp 2>> /tmp/bbsync.log
# No async zoom, see if this helps
MWP_NOLOG_REDIRECT=1 MWP_BB_NOZOOM=1 mwp 2>> /tmp/bbnosync.log
And let me have the two log files /tmp/bbsync.log
and /tmp/bbnosync.log
please, and let me know what happens.
from mwptools.
Its working now!!
Both Async zoom and No Async zoom worked from the terminal.
I think newer development build did the trick.Any idea why it wasn't working before?
I also tried to run from the desktop icon and its working now.
bbsync.log
bbnosync.log
from mwptools.
Thanks. No idea what the previous problem was. I now need to tidy a couple of things and document some new setting options then I'll merge it to master, tomorrow. Done.
# back to master
git checkout master
from mwptools.
I think we're done on this, closing.
from mwptools.
Related Issues (20)
- Connection failure via ser2udp HOT 1
- Feature Request - Connect Multiple USB Devices. HOT 11
- Uploading unsaved on screen mission fails
- MWP Not showing / detecting Radar tracked Crafts from ESP32 Radar HOT 15
- [Feature Request] mwp should support BLE (Bluetooth Low Energy) devices HOT 1
- Trying to open "Mission Editor" produces no visible response HOT 14
- [Feature Request] Support local DEMs for Terrain and Line of sight HOT 2
- Exiting CLI Mode results in Reconnect-Loop HOT 2
- WP Placement is active right after application start HOT 4
- mwp confuses the planned home for mission planning and the "fake home" for terrain analysis HOT 1
- Is it expected that a RTH and the end of a fixed-wing mission will by default return at zero altitude ? HOT 3
- mwp crashing few seconds after arm HOT 3
- Current and mAh not shown in Battery Monitor HOT 2
- Current position of aircraft not shown on map HOT 5
- Failed to find "mwp-plot-elevations" on $PATH HOT 6
- LoS analysis does not seem to work HOT 2
- WSL wont start HOT 2
- telemetry on a serial port? HOT 1
- can't GtkClutter.init HOT 3
- Confusing Installation Instructions for mwptools on Windows 11 WSL using Ubuntu 22 .04.3 HOT 1
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 mwptools.