Skip to main content

Velocity

Inherits from: object A class to represent 3D velocity. Represents velocity in 3D space with x, y, and z components. Supports mathematical operations and conversions to/from various formats. Attributes: x (float): x-component of velocity (m/s or rad/s) y (float): y-component of velocity (m/s or rad/s) z (float): z-component of velocity (m/s or rad/s)

x_vel

Velocity.x_vel() -> float
No docstring provided.
Returns
returns
float

x_vel

Velocity.x_vel(value: float) -> None
No docstring provided.
Arguments
value (float)
float
required
No description provided.
Returns
returns
None

y_vel

Velocity.y_vel() -> float
No docstring provided.
Returns
returns
float

y_vel

Velocity.y_vel(value: float) -> None
No docstring provided.
Arguments
value (float)
float
required
No description provided.
Returns
returns
None

z_vel

Velocity.z_vel() -> float
No docstring provided.
Returns
returns
float

z_vel

Velocity.z_vel(value: float) -> None
No docstring provided.
Arguments
value (float)
float
required
No description provided.
Returns
returns
None

to_dict

Velocity.to_dict() -> dict
Serialize to dictionary for JSON transfer.
Returns
dict
dict
Dictionary representation of the velocity

from_dict

Velocity.from_dict(data: dict) -> 'Velocity'
Deserialize from dictionary.
Arguments
data (dict)
dict
required
Dictionary containing velocity data
Returns
Velocity
'Velocity'
Reconstructed velocity object