AutelSDK / AndroidAdvanceSample

3 stars 3 forks source link

How to get information of which waypoint the drone is heading towards? #25

Closed masayuki-kobayashi1 closed 1 year ago

masayuki-kobayashi1 commented 1 year ago

Could you give me the meaning and examples of values of each of the properties of the Evo2WaypointRealTimeInfoImpl class?

memo: Q3

masayuki-kobayashi1 commented 1 year ago

evo2Aircraft.getMissionManager().setRealTimeInfoListener , onSuccess ((Evo2WaypointRealTimeInfoImpl)RealTimeInfo ).getWaypointSequence


1. `timeStamp` (Timestamp):
   - Type: `long`
   - Description: Represents the timestamp of the information, measured in milliseconds. This timestamp is typically used to record the timestamp of the information.

2. `speed` (Current Waypoint Flight Speed):
   - Type: `float`
   - Description: Indicates the current flight speed of the waypoint, usually measured in meters per second (m/s). This speed represents the drone's speed at the current waypoint.

3. `isArrived` (Whether Reached Waypoint):
   - Type: `boolean`
   - Description: A boolean value used to indicate whether the drone has reached the current waypoint. It is `true` if the drone has reached the current waypoint; otherwise, it is `false`.

4. `isDirecting` (Whether Directing to First Waypoint):
   - Type: `boolean`
   - Description: A boolean value used to indicate whether the drone is currently flying towards the first waypoint in the mission. It is `true` if the drone is flying towards the first waypoint; otherwise, it is `false`.

5. `waypointSequence` (Waypoint Sequence):
   - Type: `int`
   - Description: Represents the sequence number of the current waypoint in the mission. It is typically used to identify the order of different waypoints in the mission.

6. `actionSequence` (Action Sequence):
   - Type: `int`
   - Description: Represents the action sequence number in the current mission. It is typically used to identify the order of different actions executed in the mission.

7. `photoCount` (Number of Photos Taken):
   - Type: `int`
   - Description: Represents the number of photos taken in the current mission. It is used to keep track of the image data captured during the mission.

8. `remainFlyTime` (Remaining Flight Time):
   - Type: `int`
   - Description: Represents the remaining flight time of the drone in the current mission, typically measured in seconds. This value can assist in planning the remaining time for the mission.

9. `remainFlyDistance` (Remaining Flight Distance):
   - Type: `int`
   - Description: Represents the remaining flight distance of the drone in the current mission, typically measured in meters. This value can assist in planning the remaining distance for the mission.

10. `guid` (Unique Identifier):
    - Type: `String`
    - Description: A string used as a unique identifier for the drone or mission. It is typically a unique identifier that can be used to distinguish different missions or drones.
    - ```