mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-04 07:50:56 +08:00
docs(docs): Add AirPixel TAG-E (Sony ILX-LR1 MAVLink camera controller) (#28878)
This commit is contained in:
1 parent
50407621d9
commit
327b87f324
5 files changed
+83
-7
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
@@ -387,6 +387,7 @@
|
||||
- [MAVLink Camera (v2 protocol)](camera/mavlink_v2_camera.md)
|
||||
- [MAVLink Camera (v1 protocol)](camera/mavlink_v1_camera.md)
|
||||
- [Camera Connected to FC Outputs](camera/fc_connected_camera.md)
|
||||
- [AirPixel TAG-E (Sony ILX-LR1)](camera/airpixel_tag_e.md)
|
||||
- [Gimbal \(Mount\) Configuration](advanced/gimbal_control.md)
|
||||
- [Grippers](peripherals/gripper.md)
|
||||
- [Servo Gripper](peripherals/gripper_servo.md)
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
# AirPixel TAG-E (Sony ILX-LR1 Camera Control and Geotagging)
|
||||
|
||||
The [AirPixel TAG-E](https://airpixel.cz/) is a camera controller and EXIF/XMP geotagger for the Sony ILX-LR1.
|
||||
It connects to the camera with a single USB-C cable and to PX4 over MAVLink, and acts as a [MAVLink camera](../camera/mavlink_v2_camera.md) using [Camera Protocol v2](https://mavlink.io/en/services/camera.html).
|
||||
|
||||
_QGroundControl_ detects the camera automatically and shows its shutter, video, exposure and configuration controls.
|
||||
TAG-E writes position, altitude and camera attitude into the EXIF and XMP of every photo on the camera's SD card during the flight, so no log-based geotagging is needed afterwards.
|
||||
|
||||

|
||||
|
||||
## Key Features
|
||||
|
||||
- Full MAVLink Camera Protocol v2 control of the Sony ILX-LR1 (ISO, aperture, shutter speed, exposure compensation, exposure mode, AF mode, photo/video).
|
||||
- Automatic EXIF and XMP geotagging with position, altitude and camera roll/pitch/yaw, at the camera's full trigger rate.
|
||||
- Clock synchronisation with the flight controller using the MAVLink [TIMESYNC](https://mavlink.io/en/services/timesync.html) protocol.
|
||||
- Lever-arm correction from antenna-to-camera offsets, optional rangefinder, GPS/IMU accuracy and custom label tags, PPK output, and video geotagging via subtitles.
|
||||
- Camera clock set automatically from GPS time.
|
||||
|
||||
## Wiring
|
||||
|
||||
Connect TAG-E's IO-B connector to an unused serial port on the flight controller, such as `TELEM2`, and TAG-E's USB-C port to the camera.
|
||||
TAG-E needs a 5V supply able to deliver at least 2A.
|
||||
|
||||
Pinouts are in the [TAG-E pinout manual](https://airpixel.cz/docs/tag-e-pinouts/).
|
||||
|
||||
## PX4 Configuration
|
||||
|
||||
TAG-E uses the component ID `MAV_COMP_ID_CAMERA` (100).
|
||||
Configure an unused MAVLink instance for the port it is connected to.
|
||||
The table below shows the settings for `TELEM2` using the `MAV_1_*` parameters (if using another port or instance, set the corresponding unused `MAV_n_*` parameters and the baud rate parameter for that port):
|
||||
|
||||
| Parameter | Value |
|
||||
| ------------------------------------------------------------------------ | --------- |
|
||||
| [MAV_1_CONFIG](../advanced_config/parameter_reference.md#MAV_1_CONFIG) | `TELEM 2` |
|
||||
| [SER_TEL2_BAUD](../advanced_config/parameter_reference.md#SER_TEL2_BAUD) | `921600` |
|
||||
| [MAV_1_MODE](../advanced_config/parameter_reference.md#MAV_1_MODE) | `Onboard` |
|
||||
| [MAV_1_RATE](../advanced_config/parameter_reference.md#MAV_1_RATE) | `0` |
|
||||
| [MAV_1_FORWARD](../advanced_config/parameter_reference.md#MAV_1_FORWARD) | `Enabled` |
|
||||
|
||||
Reboot the flight controller.
|
||||
When the camera is online, the TAG-E LED turns green and the camera panel appears in _QGroundControl_.
|
||||
|
||||
TAG-E requests the messages it needs using [MAV_CMD_SET_MESSAGE_INTERVAL](https://mavlink.io/en/messages/common.html#MAV_CMD_SET_MESSAGE_INTERVAL): `SYSTEM_TIME` at 1Hz, `ATTITUDE` at 10Hz, and `GPS_RAW_INT` and `GLOBAL_POSITION_INT` at a rate that depends on its configuration.
|
||||
It also uses the `TIMESYNC` protocol to synchronise its clock with the flight controller.
|
||||
|
||||
:::tip
|
||||
TAG-E units with firmware older than `0_193` use 230400 baud.
|
||||
See the manufacturer's [PX4 connection manual](https://airpixel.cz/docs/tag-e-mavlink-connection-px4/) for changing the baud rate, and the [GPS delay calculation](https://airpixel.cz/docs/gps-delay-calculation/) for the best geotag accuracy.
|
||||
:::
|
||||
|
||||
## Camera Control in QGroundControl
|
||||
|
||||
When the camera is online, _QGroundControl_ shows the camera panel on the right of the Fly view: the shutter button, a photo/video switch, and the photo count or recording time.
|
||||
The gear icon under the shutter button opens the camera settings: exposure mode, aperture, shutter speed, ISO, focus mode and image resolution, plus TAG-E functions such as remote SD card format, a custom EXIF label, landing detection and photo mode.
|
||||
|
||||

|
||||
|
||||
## Triggering
|
||||
|
||||
PX4 re-emits the image and video capture commands in missions (`MAV_CMD_IMAGE_START_CAPTURE`, `MAV_CMD_IMAGE_STOP_CAPTURE`, `MAV_CMD_VIDEO_START_CAPTURE`, `MAV_CMD_VIDEO_STOP_CAPTURE`) to `MAV_COMP_ID_CAMERA`, so they reach TAG-E directly.
|
||||
The camera can also be triggered from the _QGroundControl_ camera panel.
|
||||
|
||||
## Further Information
|
||||
|
||||
- [TAG-E product page](https://airpixel.cz/)
|
||||
- [PX4 camera control guide for the ILX-LR1](https://airpixel.cz/nw/guides/px4-ilx-lr1-camera-control/) (AirPixel)
|
||||
- [TAG-E documentation](https://airpixel.cz/docs-tag-e/)
|
||||
- [MAVLink Cameras (Camera Protocol v2)](../camera/mavlink_v2_camera.md)
|
||||
@@ -59,17 +59,18 @@ PX4 allows the following subset of [Camera Protocol v2](https://mavlink.io/en/se
|
||||
- [MAV_CMD_SET_CAMERA_MODE](https://mavlink.io/en/messages/common.html#MAV_CMD_SET_CAMERA_MODE)
|
||||
- [MAV_CMD_SET_CAMERA_ZOOM](https://mavlink.io/en/messages/common.html#MAV_CMD_SET_CAMERA_ZOOM)
|
||||
- [MAV_CMD_SET_CAMERA_FOCUS](https://mavlink.io/en/messages/common.html#MAV_CMD_SET_CAMERA_FOCUS)
|
||||
- [MAV_CMD_SET_CAMERA_SOURCE](https://mavlink.io/en/messages/common.html#MAV_CMD_SET_CAMERA_SOURCE)
|
||||
|
||||
PX4 re-emits the camera commands found in missions as MAVLink commands.
|
||||
The system id of the emitted commands is the same as the ID of the autopilot.
|
||||
The component id of the commands can vary.
|
||||
The first four commands are addressed to [MAV_COMP_ID_CAMERA (100)](https://mavlink.io/en/messages/common.html#MAV_COMP_ID_CAMERA) (if a camera has this component ID, it will execute the indicated command).
|
||||
The camera mode, zoom, and focus, commands are sent to a component with id of [MAV_COMP_ID_ALL](https://mavlink.io/en/messages/common.html#MAV_COMP_ID_ALL).
|
||||
The component ID of the commands can vary.
|
||||
|
||||
:::info
|
||||
PX4 currently ignores the target camera `id` in [MAV_CMD_IMAGE_START_CAPTURE](https://mavlink.io/en/messages/common.html#MAV_CMD_IMAGE_START_CAPTURE) and other camera messages.
|
||||
See [PX4-Autopilot#23083](https://github.com/PX4/PX4-Autopilot/issues/23083).
|
||||
:::
|
||||
PX4 v1.16 respects the target camera `id` param in missions for the following commands (falling back to a component ID of `MAV_COMP_ID_CAMERA` (100) if it is not set): `MAV_CMD_IMAGE_START_CAPTURE`, `MAV_CMD_IMAGE_STOP_CAPTURE`, `MAV_CMD_SET_CAMERA_MODE`, `MAV_CMD_SET_CAMERA_SOURCE`.
|
||||
|
||||
The value is ignored for other commands:
|
||||
|
||||
- `MAV_CMD_VIDEO_START_CAPTURE` and `MAV_CMD_VIDEO_STOP_CAPTURE`: sent unconditionally to the component with ID of `MAV_COMP_ID_CAMERA` (the camera ID param is ignored)
|
||||
- `MAV_CMD_SET_CAMERA_ZOOM` and `MAV_CMD_SET_CAMERA_FOCUS`: sent unconditionally to [MAV_COMP_ID_ALL](https://mavlink.io/en/messages/common.html#MAV_COMP_ID_ALL) (the camera ID param is ignored)
|
||||
|
||||
<!--
|
||||
List of all supported commands in missions in:
|
||||
@@ -152,3 +153,9 @@ More information about camera manager and companion computer setups can be found
|
||||
- [SIYI A8 mini camera manager](https://github.com/julianoes/siyi-a8-mini-camera-manager) - Tutorial for integrating with the [SIYI A8 mini](https://shop.siyi.biz/products/siyi-a8-mini-gimbal-camera) using a MAVSDK-based camera manager running on a Raspberry Pi companion computer.
|
||||
- [Using a Companion Computer with Pixhawk Controllers](../companion_computer/pixhawk_companion.md)
|
||||
- [Companion Computers > Companion Computer Software](../companion_computer/index.md#companion-computer-software): In particular note [MAVLink-Router](https://github.com/mavlink-router/mavlink-router), which you can setup to route MAVLink traffic between a serial port and an IP link (or other camera manager interface).
|
||||
|
||||
## Camera Manager Devices
|
||||
|
||||
The following devices implement the MAVLink camera protocol (act as a camera manager):
|
||||
|
||||
- [AirPixel TAG-E](../camera/airpixel_tag_e.md) - Camera controller and EXIF/XMP geotagger for the Sony ILX-LR1.
|
||||
Reference in new issue
Block a user