From c1356295e280971074f4fb15daff18ce3d8c7546 Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Sat, 13 Oct 2018 22:22:08 +1030 Subject: [PATCH] Update readme, limit range for other chase cars to 200km. --- README.md | 6 +++--- static/js/habitat.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d662709..250ee9b 100644 --- a/README.md +++ b/README.md @@ -62,13 +62,13 @@ You can then click 'Download Model' in the web interface's setting tab to trigge ## Chase Car Positions -At the moment Chasemapper only supports receiving chase-car positions via Horus UDP messages. These can be generated by the [ChaseTracker](https://github.com/projecthorus/horus_utils/wiki#chasetracker--chasecar_nogui) application from horus_utils. This application can also plot your position onto the tracker.habhub.org map, so others can see when you're out balloon chasing. +At the moment Chasemapper supports receiving chase-car positions via either a Serial-attached GPS, or Horus UDP messages. Refer to the configuration file for setup information for these options. -Eventually support will be added to get car positions from either GPSD, or from the client's device. +This application can also plot your position onto the tracker.habhub.org map, so others can see when you're out balloon chasing. You can also fetch positions of nearby chase cars from Habitat, to see if others are out chasing as well :-) These options can be enabled from the control pane on the left of the web interface, and can also be set within the configuration file. ## Offline Mapping via FoxtrotGPS's Tile Cache -(This is a work in progress) +(This is a work in progress, but is functional.) Chasemapper can serve up map tiles from a specified directory to the web client. Of course, for this to be useful, we need map tiles to server! [FoxtrotGPS](https://www.foxtrotgps.org/) can help us with this, as it caches map tiles to `~/Maps/`, with one subdirectory per map layer (i.e. `~/Maps/OSM/`, `~/Maps/opencyclemap/`). This can be enabled by setting `[offline_maps] tile_server_enabled = True`, and changing `[offline_maps] tile_server_path` to point to your tile cache directory (i.e. `/home/pi/Maps/`). Chasemapper will assume each subdirectory in this folder is a valid map layer and will add them to the map layer list at the top-right of the interface. diff --git a/static/js/habitat.js b/static/js/habitat.js index 04726ac..cc8c2cb 100644 --- a/static/js/habitat.js +++ b/static/js/habitat.js @@ -12,7 +12,7 @@ var snear_request_running = false; // Store for vehicle data. var habitat_vehicles = {}; // Only add chase cars which are (initially) within this range limit (km). -var habitat_vehicle_max_range = 800.0; +var habitat_vehicle_max_range = 200.0; function process_habitat_vehicles(data){