mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 13:33:29 +00:00
Added UAS Guide
15
Home.md
15
Home.md
@@ -2,23 +2,28 @@
|
||||
|
||||

|
||||
|
||||
ARMATAK is an Arma 3 addon that bridges game data into the TAK ecosystem.
|
||||
ARMATAK is an Arma 3 addon that bridges live game data into the TAK ecosystem.
|
||||
|
||||
It supports two different workflows:
|
||||
- client-side EUD integration, where a player's device follows their in-game position
|
||||
It supports three main workflows:
|
||||
|
||||
- client-side EUD integration, where a player's ATAK device follows their in-game position
|
||||
- server-side CoT routing, where an Arma mission or dedicated server publishes entities directly to a TAK-compatible server
|
||||
- UAS integration, where Arma 3 UAVs appear in ATAK UAS Tool over MAVLink/UDP with video metadata, camera telemetry and basic command handling
|
||||
|
||||
## What It Can Do
|
||||
|
||||
- Send unit, vehicle, pointer and marker CoT from Arma 3 to TAK.
|
||||
- Mirror Arma session data into ATAK, WinTAK or other TAK-compatible clients.
|
||||
- Use a simple legacy TCP route when your server exposes an unauthenticated TAK ingress.
|
||||
- Use TAK-style client certificate enrollment and then publish over authenticated mTLS.
|
||||
- Publish through either legacy TCP or authenticated TAK mTLS.
|
||||
- Advertise controlled Arma 3 UAVs to ATAK UAS Tool over MAVLink/UDP.
|
||||
- Expose UAV callsign, home position, battery percentage, landed state, FPV/turret cameras, SPI/POI support and video stream URI to ATAK.
|
||||
- Receive supported UAS Tool actions and translate them into Arma 3 UAV behavior through engine state, movement commands and waypoints.
|
||||
|
||||
## Main Guides
|
||||
|
||||
- [Mission Maker Guide](./Arma-3-Mission-Maker-Guide)
|
||||
- [Player Guide](./Arma-3-Players-Guide)
|
||||
- [UAS Guide](./UAS-Guide)
|
||||
- [Video Streaming Guide](./Video-Streaming-Guide)
|
||||
|
||||
## Get in Touch
|
||||
|
||||
182
UAS-Guide.md
Normal file
182
UAS-Guide.md
Normal file
@@ -0,0 +1,182 @@
|
||||
# UAS Guide
|
||||
|
||||
ARMATAK exposes the Arma 3 UAV currently controlled by the player as a MAVLink aircraft. UAS Tool receives normal MAVLink telemetry, camera metadata, video stream information and supported command messages over UDP.
|
||||
|
||||
The intended workflow is:
|
||||
|
||||
1. Load ARMATAK on the Arma 3 client that will operate the UAV with the [UAS Tool](https://play.google.com/store/apps/details?id=com.atakmap.android.uastool.plugin) plugin loaded.
|
||||
2. Connect the ATAK EUD through ARMATAK's `Connect to EUD` action.
|
||||
3. Configure UAS Tool for `MAVLink` over `UDP`.
|
||||
4. Control or select a UAV in Arma 3.
|
||||
5. Use UAS Tool for viewing telemetry, selecting cameras, dropping POIs and sending supported actions.
|
||||
|
||||
## What Works Today
|
||||
|
||||
- UAV discovery in UAS Tool over MAVLink/UDP.
|
||||
- Stable UAV identity derived from the Arma entity UUID.
|
||||
- Callsign taken from the Arma marker callsign, falling back to the drone/module name when needed.
|
||||
- Video URI advertised through MAVLink `VIDEO_STREAM_INFORMATION`.
|
||||
- Battery percentage mirrored from the Arma 3 UAV fuel/battery value.
|
||||
- Armed state mirrored from the drone engine state.
|
||||
- Landed state based on low altitude and near-zero ground speed.
|
||||
- Home position initialized from the drone's first broadcast position.
|
||||
- Home position updates from UAS Tool when `SET_HOME_POSITION` or `DO_SET_HOME` is sent.
|
||||
- FPV camera and turret/gunner camera entries for drones that expose a separate turret camera.
|
||||
- Camera-specific telemetry for FPV and turret views, including gimbal yaw/pitch and camera FOV status.
|
||||
- Sensor point of interest data for UAS Tool POI workflows.
|
||||
- Mission upload from UAS Tool into Arma 3 UAV waypoints.
|
||||
- Basic action handling for arm/disarm, takeoff, land, loiter/orbit, move to point, return to launch/home, guided move, speed, altitude and heading.
|
||||
|
||||
## Current Limits
|
||||
|
||||
- Arma 3 UAV AI behavior is waypoint-driven, so fine autopilot behavior will not exactly match a real aircraft stack.
|
||||
- Turret camera behavior depends on the Arma vehicle exposing turret data that can be read from script.
|
||||
- A valid video stream still has to be hosted separately. ARMATAK advertises the URL; it does not magically turn the UAV camera into RTSP by itself.
|
||||
|
||||
## Install UAS Tool on ATAK
|
||||
|
||||
1. Open ATAK on the Android EUD.
|
||||
2. Open the ATAK plugin manager.
|
||||
3. Install `UAS Tool` for your ATAK version.
|
||||
4. Restart ATAK if requested.
|
||||
5. Confirm that `UAS Tool` is available from the ATAK tools UI.
|
||||
|
||||
If your ATAK build uses a managed plugin catalog, install UAS Tool from there. If your environment uses sideloaded plugins, install the matching UAS Tool package for your ATAK version.
|
||||
|
||||
## Arma 3 Setup
|
||||
|
||||
### Load ARMATAK
|
||||
|
||||
Load ARMATAK on the Arma 3 client that will operate the drone.
|
||||
|
||||
### Optional 3DEN UAV Settings
|
||||
|
||||
On a vehicle object in Eden, ARMATAK exposes:
|
||||
|
||||
- `Marker Callsign`
|
||||
- `Marker Type`
|
||||
- `Video Feed URL`
|
||||
|
||||
For UAVs, `Video Feed URL` is the most useful field. When set on the drone object, it overrides the session-level video URL from the EUD connection dialog while that UAV is active.
|
||||
|
||||
### Connect the EUD
|
||||
|
||||
Use `Connect to EUD` and fill:
|
||||
|
||||
- `EUD's Address`
|
||||
- `Network GNSS Port`
|
||||
- `Mavlink Port`
|
||||
- `Video Feed URL (Optional)`
|
||||
|
||||
Default values:
|
||||
|
||||
- `EUD's Address`: `Your Phone's local address`
|
||||
- `Network GNSS Port`: `4349`
|
||||
- `Mavlink Port`: `14550`
|
||||
|
||||
The session-level video URL is used when the active UAV does not provide its own URL. If no URL is available, ARMATAK falls back to:
|
||||
|
||||
`rtsp://undefined:554/fpv`
|
||||
|
||||
## ATAK UAS Tool Setup
|
||||
|
||||
1. Open `UAS Tool`.
|
||||
2. Add a new platform with the `+` button if auto-discovery is not enough.
|
||||
3. Select:
|
||||
- `Platform = MAVLink`
|
||||
- `Network Protocol = UDP`
|
||||
- `Port = 14550` or the custom MAVLink port entered in ARMATAK
|
||||
4. Select the discovered ARMATAK UAV.
|
||||
5. Confirm that the camera list, telemetry and video URI are populated.
|
||||
|
||||
ARMATAK also advertises a `_mavlink._udp` mDNS service on the LAN, but manual setup may still be required depending on ATAK, Android and UAS Tool versions.
|
||||
|
||||
## Camera Behavior
|
||||
|
||||
### Driver-Only FPV Drones
|
||||
|
||||
Driver-only drones expose a single FPV camera in UAS Tool. The FPV camera follows the drone body orientation and projects a sensor point from the aircraft position and look direction.
|
||||
|
||||
### Driver + Turret Drones
|
||||
|
||||
Drones with a separate turret/gunner camera expose two camera entries:
|
||||
|
||||
- `<callsign> FPV`
|
||||
- `<callsign> Turret`
|
||||
|
||||
When the turret camera is selected in UAS Tool, ARMATAK reports turret/gimbal orientation and the independent sensor point of interest. This lets UAS Tool POI tools follow the turret view instead of always using the driver FPV view.
|
||||
|
||||
## UAS Tool Actions
|
||||
|
||||
UAS Tool actions can be done with ARMATAK. Supported actions and command families include:
|
||||
|
||||
- `Arm` / `Disarm`: toggles the Arma UAV engine and ARMATAK armed state.
|
||||
- `Takeoff`: moves the UAV toward the requested altitude.
|
||||
- `Land`: commands the UAV toward ground level and sets low flight height.
|
||||
- `Return to Launch` / `Move to Home`: moves the UAV toward its stored home position.
|
||||
- `Move to Point` / `Guided Move`: creates an Arma movement waypoint at the requested coordinate.
|
||||
- `Loiter` / `Orbit`: creates a loiter waypoint, including orbit direction when UAS Tool sends it.
|
||||
- `Speed`: applies an Arma `limitSpeed` value.
|
||||
- `Altitude`: moves the UAV to a new altitude near its current position.
|
||||
- `Heading`: applies a requested heading when provided.
|
||||
|
||||
## Drop POI (Point of Interest)
|
||||
|
||||
Drop POI is a local UAS Tool/ATAK marker workflow. Can be activated using the Gestures menu on UAS Tool options. It helps by making a fast way to drop Markers to where the drone is pointing.
|
||||
|
||||
## Home, Landed and Battery
|
||||
|
||||
ARMATAK initializes the UAV home position from the drone's first broadcast position. UAS Tool can later update it through supported home-position commands.
|
||||
|
||||
The landed state is reported as landed when the UAV is near ground level and moving slowly. This lets UAS Tool decide when normal disarm should be allowed without requiring force disarm.
|
||||
|
||||
Battery percentage comes from the Arma 3 vehicle fuel/battery value and is sent in MAVLink `SYS_STATUS.battery_remaining`.
|
||||
|
||||
## Video Feed Behavior
|
||||
|
||||
The video feed ARMATAK advertises follows this priority:
|
||||
|
||||
1. The UAV's 3DEN `Video Feed URL`, while the player is actively controlling that UAV.
|
||||
2. The session-level `Video Feed URL (Optional)` from `Connect to EUD`.
|
||||
3. Fallback: `rtsp://undefined:554/fpv`.
|
||||
|
||||
This allows per-drone streams, session-wide shared streams and a known fallback feed for testing.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Drone appears but UAS Tool says `waiting for video URI`
|
||||
|
||||
Check:
|
||||
|
||||
- the UAV has a reachable stream URL
|
||||
- the URL is configured either on the UAV object or in the EUD connection dialog
|
||||
- the EUD can reach the host serving the stream
|
||||
- the active UAV is still the one being broadcast by ARMATAK
|
||||
|
||||
### Drone does not appear in UAS Tool
|
||||
|
||||
Check:
|
||||
|
||||
- the EUD IP and MAVLink port in `Connect to EUD`
|
||||
- that ATAK/UAS Tool is listening on the same UDP port
|
||||
- that the Arma client has ARMATAK loaded
|
||||
- that the player is connected to, operating or recently operated a live UAV
|
||||
- whether a firewall, VPN or different LAN is blocking UDP
|
||||
|
||||
### Route appears in UAS Tool but no Arma waypoints appear
|
||||
|
||||
Check:
|
||||
|
||||
- the UAV is selected and alive in Arma
|
||||
- UAS Tool actually uploaded the mission, not only saved it locally
|
||||
- the route points are not zero coordinates
|
||||
- the UAV terminal is looking at the same UAV group
|
||||
- `armatak.log` for `MISSION_COUNT`, `MISSION_ITEM_INT` and route logs
|
||||
|
||||
### Drop POI opens marker customization instead of dropping
|
||||
|
||||
That screen configures what POI markers look like. Configure an actual UAS Tool controller, shortcut or video touch action to `DROP POI`, then trigger that action while the drone/camera is selected.
|
||||
|
||||
### Turret camera exists but POIs use the FPV view
|
||||
|
||||
Select the turret camera entry in UAS Tool before triggering Drop POI. The turret entry is normally named `<callsign> Turret`.
|
||||
@@ -1,9 +1,36 @@
|
||||
# Video Streaming
|
||||
|
||||
ATAK allow users to connect into a video feed provider, it was designed to be allow video feed from street camera, drones, and operator cameras, we can simulate this in Arma 3 by creating a video stream from the screen and sharing it into a MediaMTX server. You can find information about installing MediaMTX here, and it also comes installed with OpenTakServer by default, just make sure it is working by going into the OTS Web UI and generating a video stream from the browser. ARMATAK can create/stop a video feed from Arma 3 using FFMEG, here is how:
|
||||
ATAK can connect to external video feeds from drones, fixed cameras and operator cameras. ARMATAK can advertise a video URL to ATAK and UAS Tool, but the stream itself still needs to be hosted by a reachable video server such as MediaMTX.
|
||||
|
||||
1. Make sure you have a configured RTSP video stream protocol provider like [MediaMTX](https://github.com/bluenviron/mediamtx) configured, if you have installed OTS using the default installation script it should be there
|
||||
2. Install [FFMPEG for Windows](https://www.ffmpeg.org/download.html) on the streamer's machine
|
||||
3. Open the mission
|
||||
4. Add the ARMATAK Video Provider Module in 3Den Editor and fill the MediaMTX Address, Port and authentication from a user (usually administrator, password)
|
||||
5. In game, you or your player's can start a video stream using the ACE Self Action menu
|
||||
A common local setup is to capture the Arma 3 screen with FFmpeg and publish it to MediaMTX as RTSP.
|
||||
|
||||
## Basic Setup
|
||||
|
||||
1. Install and configure an RTSP provider such as [MediaMTX](https://github.com/bluenviron/mediamtx). OpenTAKServer installations often include MediaMTX by default.
|
||||
2. Install [FFmpeg for Windows](https://www.ffmpeg.org/download.html) on the streaming machine.
|
||||
3. Open the Arma 3 mission.
|
||||
5. Fill the MediaMTX stream address (it must contain the protocol and auth information if needed) on the desired entity.
|
||||
6. In game, start or stop the video stream through the ACE self interaction menu.
|
||||
|
||||
## Using Video With UAS Tool
|
||||
|
||||
For drones, configure either:
|
||||
|
||||
- a per-UAV `Video Feed URL` in 3DEN, or
|
||||
- the session-level `Video Feed URL (Optional)` in the `Connect to EUD` dialog.
|
||||
|
||||
ARMATAK advertises that URL to UAS Tool through MAVLink video stream messages. The EUD must be able to reach the URL directly over the network.
|
||||
|
||||
Example RTSP URL:
|
||||
|
||||
`rtsp://192.168.1.50:8554/fpv`
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If ATAK or UAS Tool cannot show the video:
|
||||
|
||||
- test the stream URL from another device on the same network
|
||||
- confirm Windows firewall allows the stream server port
|
||||
- confirm the URL uses the PC LAN address, not `localhost`
|
||||
- confirm MediaMTX or your chosen server is actually receiving frames
|
||||
- check that UAS Tool selected the correct camera/video entry
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
|
||||
Arma 3 addon for streaming game data into the TAK ecosystem.
|
||||
|
||||
* [Home](./)
|
||||
* [Home](./Home)
|
||||
* [Player Guide](./Arma-3-Players-Guide)
|
||||
* [Mission Maker Guide](./Arma-3-Mission-Maker-Guide)
|
||||
* [UAS Guide](./UAS-Guide)
|
||||
* [Video Streaming Guide](./Video-Streaming-Guide)
|
||||
|
||||

|
||||

|
||||
|
||||
Reference in New Issue
Block a user