roll_gains
: kP, kI, kD for roll axis.
PIDGains
pitch_gains
: kP, kI, kD for pitch axis.
PIDGains
yaw_gains
: kP, kI, kD for yaw axis.
PIDGains
to_lists()
Converts gains to list format.roll_gains
: kP, kI, kD for roll axis.
PIDGains
pitch_gains
: kP, kI, kD for pitch axis.
PIDGains
yaw_gains
: kP, kI, kD for yaw axis.
PIDGains
to_lists()
Converts gains to list format.altitude
: Altitude of the barometer.
pressure
: Pressure of the barometer.
qnh
: QNH of the barometer.
time_stamp
: Timestamp of the barometer data.
uint64
fov
: Field of view of the camera.
float
pose
: The pose of the camera in the simulation.
proj_mat
: Projection matrix for the camera.
throttle
: Amount of throttle applied.
float
steering
: Steering angle.
float
brake
: Amount of braking applied.
float
handbrake
: Whether the handbrake is engaged.
bool
is_manual_gear
: Whether manual gear is enabled.
bool
manual_gear
: Current gear in manual mode.
int
gear_immediate
: Whether gear changes take immediate effect.
bool
set_throttle(throttle_val, forward)
Sets the throttle value and direction.collision
: Information about collisions.
gear
: Current gear.
int
handbrake
: Whether the handbrake is engaged.
bool
kinematics_estimated
: Estimated kinematics of the car.
maxrpm
: Maximum revolutions per minute.
float
rpm
: Current revolutions per minute.
float
speed
: Current speed of the car.
float
timestamp
: Timestamp of the car state.
int
has_collided
: Whether a collision occurred.
bool
impact_point
: Location of the collision impact.
impact_time
: Time of the collision.
float
impact_velocity
: Velocity during impact.
bounding_box
: The bounding box of the detected object.
confidence
: Confidence score of the detection.
float
label
: Label of the detected object.
str
distance
: Measured distance.
float
time_stamp
: Timestamp of the data.
uint64
value
: Specifies the drivetrain type (e.g., ForwardOnly or MaxDegreeOfFreedom).
str
temperature
: Temperature in the environment.
float
pressure
: Atmospheric pressure.
float
humidity
: Humidity level.
float
latitude
: Latitude in degrees.
float
longitude
: Longitude in degrees.
float
altitude
: Altitude in meters.
float
position
: Position of the object in geographic coordinates.
orientation
: Orientation of the object.
fix_type
: Type of GNSS fix (e.g., NoFix, TimeOnly, or PositionFix).
str
geo_point
: Geographic point of the GNSS report.
gnss_fix_type
: Type of GNSS fix.
time_stamp
: Timestamp of the GNSS data.
uint64
latitude
: Latitude in degrees.
float
longitude
: Longitude in degrees.
float
altitude
: Altitude in meters.
float
time_stamp
: Time when the data was recorded.
uint64
camera_name
: Name of the camera to capture the image.
str
image_type
: Type of image to capture (e.g., Scene, Depth, or Segmentation).
pixels_as_float
: Whether the image pixels should be returned as floats.
bool
compress
: Whether the image should be compressed.
bool
latitude
: Latitude in degrees.
float
longitude
: Longitude in degrees.
float
altitude
: Altitude in meters.
float
time_stamp
: Time when the data was recorded.
uint64
linear_acceleration
: Linear acceleration vector.
angular_velocity
: Angular velocity vector.
time_stamp
: Timestamp of the IMU data.
uint64
magnetic_field_body
: Magnetic field vector in the body frame.
time_stamp
: Timestamp of the magnetometer data.
uint64
point_cloud
: The point cloud data captured by the LiDAR.
list[float]
time_stamp
: Timestamp of the LiDAR data.
uint64
pose
: Pose of the LiDAR in the simulation.
time_stamp
: Time when the image was captured.
uint64
pose
: Pose of the camera at the time of capture.
projection_matrix
: Projection matrix of the camera.
image_data_uint8
: Image data in uint8 format.
list[uint8]
image_data_float
: Image data in float format.
list[float]
time_stamp
: Timestamp of the captured image.
uint64
width
: Width of the image in pixels.
int
height
: Height of the image in pixels.
int
image_type
: Type of the captured image.
type
: The image type (e.g., Scene, Depth, or Segmentation).
str
linear_acceleration
: Linear acceleration vector.
angular_velocity
: Angular velocity vector.
time_stamp
: Timestamp of the IMU data.
uint64
position
: Position vector.
orientation
: Orientation quaternion.
linear_velocity
: Linear velocity vector.
angular_velocity
: Angular velocity vector.
linear_acceleration
: Linear acceleration vector.
angular_acceleration
: Angular acceleration vector.
state
: The landed state (e.g., Landed, Flying, or Unknown).
str
point_cloud
: The point cloud data captured by the LiDAR.
list[float]
time_stamp
: Timestamp of the LiDAR data.
uint64
pose
: Pose of the LiDAR in the simulation.
magnetic_field_body
: Magnetic field vector in the body frame.
time_stamp
: Timestamp of the magnetometer data.
uint64
vertex_positions
: List of vertex positions.
list[[Vector3r](/simulation/airgen/reference/datatypes#vector3r)]
vertex_normals
: List of vertex normals.
list[[Vector3r](/simulation/airgen/reference/datatypes#vector3r)]
indices
: List of indices for the mesh.
list[int]
to_msgpack()
: Serializes the object to msgpack format.
from_msgpack()
: Deserializes the object from msgpack format.
kinematics_estimated
: Estimated kinematic state of the multirotor.
gps_data
: GPS data of the multirotor.
imu_data
: IMU data of the multirotor.
magnetometer_data
: Magnetometer data of the multirotor.
lidar_data
: LiDAR data of the multirotor.
landed_state
: Landed state of the multirotor.
kP
: Proportional gain.
float
kI
: Integral gain.
float
kD
: Derivative gain.
float
position
: Position vector.
orientation
: Orientation quaternion.
x_gains
: PID gains for the x-axis.
PIDGains
y_gains
: PID gains for the y-axis.
PIDGains
z_gains
: PID gains for the z-axis.
PIDGains
matrix
: 4x4 matrix values stored in row-major order.
list[float]
x
: x component of the quaternion.
float
y
: y component of the quaternion.
float
z
: z component of the quaternion.
float
w
: w component (scalar) of the quaternion.
float
is_valid
: Whether the RC data is valid.
bool
throttle
: Throttle value from the RC.
float
yaw
: Yaw value from the RC.
float
roll
: Roll value from the RC.
float
pitch
: Pitch value from the RC.
float
rotor_speeds
: List of rotor speeds.
list[float]
rotor_thrusts
: List of rotor thrusts.
list[float]
rotor_controls
: List of rotor controls.
list[float]
x
: x component of the vector.
float
y
: y component of the vector.
float
x
: x component of the vector.
float
y
: y component of the vector.
float
z
: z component of the vector.
float
linear_gains
: PID gains for linear velocity.
PIDGains
angular_gains
: PID gains for angular velocity.
PIDGains
parameter_name
: Name of the weather parameter (e.g., “Rain”, “WindSpeed”).
str
value
: Value of the parameter.
float
is_rate
: Indicates whether yaw represents a rate (degrees/second) or an absolute angle.
bool
yaw_or_rate
: Yaw value, which can be either a rate or an angle depending on is_rate
.
float