Documentation
¶
Overview ¶
Package dji implements metadata models written by video cameras on DJI drones.
Index ¶
- Variables
- func NewModel(name string) xmp.Model
- type DJI
- func (m *DJI) Can(nsName string) bool
- func (x *DJI) CanTag(tag string) bool
- func (x *DJI) GetTag(tag string) (string, error)
- func (m *DJI) Namespaces() xmp.NamespaceList
- func (x *DJI) SetTag(tag, value string) error
- func (x *DJI) SyncFromXMP(d *xmp.Document) error
- func (x *DJI) SyncModel(d *xmp.Document) error
- func (x DJI) SyncToXMP(d *xmp.Document) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NsDJI = xmp.NewNamespace("drone-dji", "http://www.dji.com/drone-dji/1.0/", NewModel)
)
Functions ¶
Types ¶
type DJI ¶
type DJI struct {
AbsoluteAltitude float32 `drone-dji:"AbsoluteAltitude" qt:"-" xmp:"drone-dji:AbsoluteAltitude"` // "+543.44",
FlightPitchDegree float32 `drone-dji:"FlightPitchDegree" qt:"©fpt" xmp:"drone-dji:FlightPitchDegree"` // "+4.80",
FlightRollDegree float32 `drone-dji:"FlightRollDegree" qt:"©frl" xmp:"drone-dji:FlightRollDegree"` // "+1.30",
FlightYawDegree float32 `drone-dji:"FlightYawDegree" qt:"©fyw" xmp:"drone-dji:FlightYawDegree"` // "-1.90",
GimbalPitchDegree float32 `drone-dji:"GimbalPitchDegree" qt:"©gpt" xmp:"drone-dji:GimbalPitchDegree"` // "-90.00",
GimbalRollDegree float32 `drone-dji:"GimbalRollDegree" qt:"©grl" xmp:"drone-dji:GimbalRollDegree"` // "+0.00",
GimbalYawDegree float32 `drone-dji:"GimbalYawDegree" qt:"©gyw" xmp:"drone-dji:GimbalYawDegree"` // "-2.00",
RelativeAltitude float32 `drone-dji:"RelativeAltitude" qt:"-" xmp:"drone-dji:RelativeAltitude"` // "+46.60"
SpeedX float32 `drone-dji:"SpeedX" qt:"©xsp" xmp:"drone-dji:SpeedX"`
SpeedY float32 `drone-dji:"SpeedY" qt:"©ysp" xmp:"drone-dji:SpeedY"` // - +0.00
SpeedZ float32 `drone-dji:"SpeedZ" qt:"©zsp" xmp:"drone-dji:SpeedZ"` // - +0.00,+0.40
Model string `drone-dji:"Model" qt:"©mdl" xmp:"tiff:Model"`
}
func (*DJI) Namespaces ¶
func (m *DJI) Namespaces() xmp.NamespaceList
Click to show internal directories.
Click to hide internal directories.