> ## Documentation Index
> Fetch the complete documentation index at: https://scaledfoundations-rebrand.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Aerial Robot

## AerialRobot

Inherits from: [Robot](/robot-api/grid/robot/robot#robot)

### land

```python
AerialRobot.land()
```

Land the aerial robot

### takeoff

```python
AerialRobot.takeoff()
```

Takeoff the aerial robot

### moveToPosition

```python
AerialRobot.moveToPosition(position: Vector3r, velocity: float)
```

Move the aerial robot to a position

<ResponseField name="Arguments">
  <ParamField query="position (Vector3r)" type="" required>
    position to move to
  </ParamField>

  <ParamField query="velocity (float)" type="" required>
    velocity to move at
  </ParamField>
</ResponseField>

<ResponseField name="Returns" />

### moveToGPS

```python
AerialRobot.moveToGPS(geopoint: GeoPoint, velocity: float)
```

Move the drone to gps coordinate: (lat, lng, alt)

<ResponseField name="Arguments">
  <ParamField query="geopoint (GeoPoint)" type="" required>
    gps coordinate to move to
  </ParamField>

  <ParamField query="velocity (float)" type="" required>
    velocity to move at
  </ParamField>
</ResponseField>

<ResponseField name="Returns" />

### setYaw

```python
AerialRobot.setYaw(yaw: float)
```

Set the yaw (in radians) of the drone to the specified degrees. Yaw measures the
rotation of the drone around the z-axis (downwards)

<ResponseField name="Arguments">
  <ParamField query="yaw (float)" type="" required>
    the target yaw (radians) for the drone
  </ParamField>
</ResponseField>

<ResponseField name="Returns" />

### moveByVelocity

```python
AerialRobot.moveByVelocity(velocity: Vector3r, duration: int)
```

Fly the drone with `velocity` (velocity vector is respect to world coordinates) for the
specified `duration` of seconds.

<ResponseField name="Arguments">
  <ParamField query="velocity (Tuple[float, float, float])" type="" required>
    three floats corresponding to the X, Y, Z components of velocity with respect to the world coordinate
  </ParamField>

  <ParamField query="duration (int)" type="" required>
    number of seconds that the drone should be moving
  </ParamField>
</ResponseField>

<ResponseField name="Returns" />

### getYaw

```python
AerialRobot.getYaw()
```

Return the current yaw of the drone in radians. Yaw measures the rotation of the drone
