https://github.com/freetakteam/freetakserver-simulator
Tool for Simulating moving objects in ATAK
https://github.com/freetakteam/freetakserver-simulator
Last synced: 22 days ago
JSON representation
Tool for Simulating moving objects in ATAK
- Host: GitHub
- URL: https://github.com/freetakteam/freetakserver-simulator
- Owner: FreeTAKTeam
- License: mit
- Created: 2021-02-06T19:53:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-02T23:33:09.000Z (over 4 years ago)
- Last Synced: 2025-04-28T12:59:49.508Z (22 days ago)
- Homepage:
- Size: 19.5 KB
- Stars: 11
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FreeTAKServer-Simulator
Tool for Simulating moving objects in ATAK### GPX
This tool currently will take a gpx file you have generated of a route and "play" it into ATAK.
Taking the data in from the gpx file and filling in gaps where there may not be any location data between 2 points to allow
for fluid movement in ATAK at a given speed.You can also use the GPX class to:
- Mimic a crowd/group following the same gpx file (all offset slightly to look realistic)#### Example
```python
from ftssim import gpxplayer = gpx.GpxPlayer('192.168.3.2', 'test_file.gpx', "A1_Walk", speed_kph=5, max_time_step_secs=4)
player.play_gpx()
```### Wandering
Given a starting point and a few extra parameters this tool will make an object wander aimlessly
in straight lines then change direction (if you want to have an object just head in one straight line
set total_distance and distance_between_change to the same number)You can also use the Wonder class to make an object:
- Loiter in the area (while not remain static)
- Circle a point#### Example
```python
from ftssim import wanderwanderer = wander.Wander('192.168.3.2', total_distance_km=2, distance_between_change=1, callsign="lost_soul", speed_kph=5,
max_time_step_secs=4, start_lat=38.897125, start_lon=-77.036255)
# Wonder
wanderer.start_wandering()# Loiter in an the area for 5 minutes
wanderer.loiter_for_time(300)# Circle anti-clockwise around the point in a 50 meter radius
wanderer.circle_point(50, clockwise=False)
```Refer to gpx_example.py and wander_example.py for examples of running concurrently
For an example, go [here](https://github.com/lennisthemenace/FreeTAKServer-Simulator-UI-Example)