Comments (7)
The behaviour you are experiencing is 100% the intended behaviour.
Chasemapper is intended to be started up near the start of the chase, and left running until the payloads are recovered. There was never any intention for it to reload old log files (in fact, logging of chase data was only added relatively recently).
I guess the question is - why are you restarting chasemapper in the middle of a balloon chase?
from chasemapper.
Never intentionally, usually a power supply problem. I don't want old telemetry cluttering up the map, as soon as a new chase starts, clean the slate. Sometimes covering the last few km happens on foot, and I lose supply when taking it out of the car.
from chasemapper.
If you're leaving chasemapper on continuously, then there is a 'clear payload data' button to wipe old data.
It definitely sounds like you're using chasemapper in ways I didn't really intend it to be used. I intended it to be used in a car, with a good enough receive system to get a position pretty much down to the ground. If I have to go a long distance on foot I'd often bring DFing gear instead of a RPi.
For those last few km, if you don't want to bring a RPi, then maybe something like a TTGO would be more convenient...
from chasemapper.
In open ground definitely I can pick up data whilst the transmitter is on the ground. In the forest, not so easy unless I am very close.
Given that you intended chasemapper to be for car use, and my use case is on car and then on foot with an RPi in a backpack, I think this issue should probably be closed.
from chasemapper.
Reading something in from a log file is not a bad idea, it's just that to do so will require a fair bit of coding to:
- Find the most recent log file.
- Read in said log file, and buffer up telemetry, or at least the last position.
The log file form is fairly simple, just lines of JSON, so it should be doable...
from chasemapper.
I'll fork and branch.
from chasemapper.
So I would suggest:
- Create a new submodule in the chasemapper dir, maybe logread.py
- Add a configuration file option ('reload_last_position') as a boolean (True / False)
- Make a function which produces a list of log files in the log directory. As these are all timestamped, you should be able to sort these and pick the last one.
- Make a function which reads in a file, and pumps the 'BALLOON TELEMETRY' data (skip the chase car and the prediction log entries) into handle_new_payload_position (
Line 185 in 055014c
- If the reload_last_position value is set, run this on startup.
from chasemapper.
Related Issues (20)
- Chase car speed indication HOT 1
- Add decode percentage for indication of signal quality HOT 2
- Add OpenTopoMaps map layer HOT 2
- Allow disabling of chase logging. HOT 1
- Add the ability to select imperial units on map HOT 22
- Unable to display auto_rx data HOT 3
- Click on prediction point should open a maps application HOT 2
- Dark Mode HOT 1
- Bearings - GPS Heading gating should also threshold on heading change rate.
- Whitespace breaks config HOT 3
- Feature Suggestion: Tile Servers in config HOT 3
- gpsd speed is not what my car say HOT 4
- Numpy Import Error HOT 1
- Www no refresh data, no get data. HOT 4
- Sound signal if burst
- Switch to websockets for sondehub listener info
- ImportError: libcblas.so.3: cannot open shared object file: No such file or directory HOT 6
- Feature request: Keep screen awake
- Variable defined twice in horusmapper.cfg HOT 3
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 chasemapper.