Last active
March 28, 2023 13:18
-
-
Save uservar/95bdfef383f691181883ddb2615be443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Help on module pyrocketsim: | |
NAME | |
pyrocketsim | |
CLASSES | |
pybind11_builtins.pybind11_object(builtins.object) | |
Angle | |
Arena | |
Ball | |
BallHitInfo | |
BallState | |
BoostPad | |
BoostPadState | |
Car | |
CarConfig | |
CarContact | |
CarControls | |
CarState | |
GameMode | |
RotMat | |
Team | |
Vec | |
WheelPairConfig | |
WorldContact | |
class Angle(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| Angle | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __format__(...) | |
| __format__(self: pyrocketsim.Angle, arg0: str) -> str | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.Angle, yaw: float = 0, pitch: float = 0, roll: float = 0) -> None | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.Angle) -> str | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.Angle) -> str | |
| | |
| as_numpy(...) | |
| as_numpy(self: pyrocketsim.Angle) -> numpy.ndarray[numpy.float32] | |
| | |
| as_tuple(...) | |
| as_tuple(self: pyrocketsim.Angle) -> tuple | |
| | |
| get_forward_vector(...) | |
| get_forward_vector(self: pyrocketsim.Angle) -> pyrocketsim.Vec | |
| | |
| normalize_fix(...) | |
| normalize_fix(self: pyrocketsim.Angle) -> None | |
| | |
| to_rot_mat(...) | |
| to_rot_mat(self: pyrocketsim.Angle) -> pyrocketsim.RotMat | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods defined here: | |
| | |
| from_rot_mat(...) from builtins.PyCapsule | |
| from_rot_mat(rot_mat: pyrocketsim.RotMat) -> pyrocketsim.Angle | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| pitch | |
| | |
| roll | |
| | |
| yaw | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class Arena(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| Arena | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.Arena, game_mode: pyrocketsim.GameMode = <GameMode.SOCCAR: 0>, tick_rate: float = 120) -> None | |
| | |
| add_car(...) | |
| add_car(self: pyrocketsim.Arena, team: pyrocketsim.Team, config: pyrocketsim.CarConfig = <pyrocketsim.CarConfig object at 0x7f927b1b4cb0>) -> pyrocketsim.Car | |
| | |
| clone(...) | |
| clone(self: pyrocketsim.Arena, copy_callbacks: bool) -> pyrocketsim.Arena | |
| | |
| get_boost_pads(...) | |
| get_boost_pads(self: pyrocketsim.Arena) -> List[pyrocketsim.BoostPad] | |
| | |
| get_car_from_id(...) | |
| get_car_from_id(self: pyrocketsim.Arena, id: int) -> pyrocketsim.Car | |
| | |
| get_cars(...) | |
| get_cars(self: pyrocketsim.Arena) -> List[pyrocketsim.Car] | |
| | |
| remove_car(...) | |
| remove_car(self: pyrocketsim.Arena, car: pyrocketsim.Car) -> bool | |
| | |
| reset_to_random_kickoff(...) | |
| reset_to_random_kickoff(self: pyrocketsim.Arena, seed: int = -1) -> None | |
| | |
| set_goal_score_call_back(...) | |
| set_goal_score_call_back(self: pyrocketsim.Arena, arg0: function) -> None | |
| | |
| step(...) | |
| step(self: pyrocketsim.Arena, arg0: int) -> None | |
| | |
| write_to_file(...) | |
| write_to_file(self: pyrocketsim.Arena, path: os.PathLike) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods defined here: | |
| | |
| load_from_file(...) from builtins.PyCapsule | |
| load_from_file(path_str: os.PathLike) -> pyrocketsim.Arena | |
| | |
| ---------------------------------------------------------------------- | |
| Readonly properties defined here: | |
| | |
| ball | |
| | |
| game_mode | |
| | |
| tick_count | |
| | |
| tick_rate | |
| | |
| tick_time | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class Ball(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| Ball | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(self, /, *args, **kwargs) | |
| Initialize self. See help(type(self)) for accurate signature. | |
| | |
| get_radius(...) | |
| get_radius(self: pyrocketsim.Ball) -> float | |
| | |
| get_state(...) | |
| get_state(self: pyrocketsim.Ball) -> pyrocketsim.BallState | |
| | |
| set_state(...) | |
| set_state(self: pyrocketsim.Ball, ball_state: pyrocketsim.BallState) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class BallHitInfo(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| BallHitInfo | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.BallHitInfo) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| ball_pos | |
| | |
| car_id | |
| | |
| extra_hit_vel | |
| | |
| relative_pos_on_ball | |
| | |
| tick_count_when_hit | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class BallState(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| BallState | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.BallState) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| ang_vel | |
| | |
| ball_hit_info | |
| | |
| pos | |
| | |
| vel | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class BoostPad(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| BoostPad | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(self, /, *args, **kwargs) | |
| Initialize self. See help(type(self)) for accurate signature. | |
| | |
| get_state(...) | |
| get_state(self: pyrocketsim.BoostPad) -> pyrocketsim.BoostPadState | |
| | |
| set_state(...) | |
| set_state(self: pyrocketsim.BoostPad, boost_pad_state: pyrocketsim.BoostPadState) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Readonly properties defined here: | |
| | |
| is_big | |
| | |
| pos | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class BoostPadState(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| BoostPadState | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.BoostPadState) -> None | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.BoostPadState) -> str | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.BoostPadState) -> str | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| cooldown | |
| | |
| is_active | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class Car(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| Car | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(self, /, *args, **kwargs) | |
| Initialize self. See help(type(self)) for accurate signature. | |
| | |
| demolish(...) | |
| demolish(self: pyrocketsim.Car) -> None | |
| | |
| get_config(...) | |
| get_config(self: pyrocketsim.Car) -> pyrocketsim.CarConfig | |
| | |
| get_controls(...) | |
| get_controls(self: pyrocketsim.Car) -> pyrocketsim.CarControls | |
| | |
| get_state(...) | |
| get_state(self: pyrocketsim.Car) -> pyrocketsim.CarState | |
| | |
| respawn(...) | |
| respawn(self: pyrocketsim.Car, seed: int = -1) -> None | |
| | |
| set_controls(...) | |
| set_controls(self: pyrocketsim.Car, car_controls: pyrocketsim.CarControls) -> None | |
| | |
| set_state(...) | |
| set_state(self: pyrocketsim.Car, car_state: pyrocketsim.CarState) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Readonly properties defined here: | |
| | |
| forward_dir | |
| | |
| id | |
| | |
| right_dir | |
| | |
| team | |
| | |
| up_dir | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class CarConfig(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| CarConfig | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.CarConfig) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| back_wheels | |
| | |
| dodge_deadzone | |
| | |
| front_wheels | |
| | |
| hitbox_pos_offset | |
| | |
| hitbox_size | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class CarContact(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| CarContact | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __format__(...) | |
| __format__(self: pyrocketsim.CarContact, arg0: str) -> str | |
| | |
| __init__(self, /, *args, **kwargs) | |
| Initialize self. See help(type(self)) for accurate signature. | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.CarContact) -> str | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.CarContact) -> str | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| cooldown_timer | |
| | |
| other_car_id | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class CarControls(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| CarControls | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __format__(...) | |
| __format__(self: pyrocketsim.CarControls, arg0: str) -> str | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.CarControls, throttle: float = 0, steer: float = 0, pitch: float = 0, yaw: float = 0, roll: float = 0, boost: bool = False, jump: bool = False, handbrake: bool = False) -> None | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.CarControls) -> str | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.CarControls) -> str | |
| | |
| clamp_fix(...) | |
| clamp_fix(self: pyrocketsim.CarControls) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| boost | |
| | |
| handbrake | |
| | |
| jump | |
| | |
| pitch | |
| | |
| roll | |
| | |
| steer | |
| | |
| throttle | |
| | |
| yaw | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class CarState(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| CarState | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.CarState) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Readonly properties defined here: | |
| | |
| angles | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| air_time_since_jump | |
| | |
| ang_vel | |
| | |
| auto_flip_timer | |
| | |
| auto_flip_torque_scale | |
| | |
| boost | |
| | |
| car_contact | |
| | |
| demo_respawn_timer | |
| | |
| flip_time | |
| | |
| handbrake_val | |
| | |
| has_double_jumped | |
| | |
| has_flipped | |
| | |
| has_jumped | |
| | |
| is_auto_flipping | |
| | |
| is_demoed | |
| | |
| is_jumping | |
| | |
| is_on_ground | |
| | |
| is_supersonic | |
| | |
| jump_time | |
| | |
| last_controls | |
| | |
| last_hit_ball_tick | |
| | |
| last_rel_dodge_torque | |
| | |
| pos | |
| | |
| rot_mat | |
| | |
| supersonic_time | |
| | |
| time_spent_boosting | |
| | |
| vel | |
| | |
| world_contact | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class GameMode(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| GameMode | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __eq__(...) | |
| __eq__(self: object, other: object) -> bool | |
| | |
| __getstate__(...) | |
| __getstate__(self: object) -> int | |
| | |
| __hash__(...) | |
| __hash__(self: object) -> int | |
| | |
| __index__(...) | |
| __index__(self: pyrocketsim.GameMode) -> int | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.GameMode, value: int) -> None | |
| | |
| __int__(...) | |
| __int__(self: pyrocketsim.GameMode) -> int | |
| | |
| __ne__(...) | |
| __ne__(self: object, other: object) -> bool | |
| | |
| __repr__(...) | |
| __repr__(self: object) -> str | |
| | |
| __setstate__(...) | |
| __setstate__(self: pyrocketsim.GameMode, state: int) -> None | |
| | |
| __str__ = name(...) | |
| name(self: handle) -> str | |
| | |
| ---------------------------------------------------------------------- | |
| Readonly properties defined here: | |
| | |
| __members__ | |
| | |
| name | |
| name(self: handle) -> str | |
| | |
| value | |
| | |
| ---------------------------------------------------------------------- | |
| Data and other attributes defined here: | |
| | |
| SOCCAR = <GameMode.SOCCAR: 0> | |
| | |
| THE_VOID = <GameMode.THE_VOID: 1> | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class RotMat(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| RotMat | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __add__(...) | |
| __add__(self: pyrocketsim.RotMat, arg0: pyrocketsim.RotMat) -> pyrocketsim.RotMat | |
| | |
| __format__(...) | |
| __format__(self: pyrocketsim.RotMat, arg0: str) -> str | |
| | |
| __getitem__(...) | |
| __getitem__(self: pyrocketsim.RotMat, arg0: int) -> pyrocketsim.Vec | |
| | |
| __imul__(...) | |
| __imul__(self: pyrocketsim.RotMat, arg0: float) -> pyrocketsim.RotMat | |
| | |
| __init__(...) | |
| __init__(*args, **kwargs) | |
| Overloaded function. | |
| | |
| 1. __init__(self: pyrocketsim.RotMat) -> None | |
| | |
| 2. __init__(self: pyrocketsim.RotMat, forward: pyrocketsim.Vec, right: pyrocketsim.Vec, up: pyrocketsim.Vec) -> None | |
| | |
| __itruediv__(...) | |
| __itruediv__(self: pyrocketsim.RotMat, arg0: float) -> pyrocketsim.RotMat | |
| | |
| __mul__(...) | |
| __mul__(self: pyrocketsim.RotMat, arg0: float) -> pyrocketsim.RotMat | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.RotMat) -> str | |
| | |
| __setitem__(...) | |
| __setitem__(self: pyrocketsim.RotMat, arg0: int, arg1: pyrocketsim.Vec) -> None | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.RotMat) -> str | |
| | |
| __sub__(...) | |
| __sub__(self: pyrocketsim.RotMat, arg0: pyrocketsim.RotMat) -> pyrocketsim.RotMat | |
| | |
| __truediv__(...) | |
| __truediv__(self: pyrocketsim.RotMat, arg0: float) -> pyrocketsim.RotMat | |
| | |
| as_numpy(...) | |
| as_numpy(self: pyrocketsim.RotMat) -> numpy.ndarray[numpy.float32] | |
| | |
| dot(...) | |
| dot(self: pyrocketsim.RotMat, vec: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| transpose(...) | |
| transpose(self: pyrocketsim.RotMat) -> pyrocketsim.RotMat | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods defined here: | |
| | |
| get_identity(...) from builtins.PyCapsule | |
| get_identity() -> pyrocketsim.RotMat | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class Team(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| Team | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __eq__(...) | |
| __eq__(self: object, other: object) -> bool | |
| | |
| __getstate__(...) | |
| __getstate__(self: object) -> int | |
| | |
| __hash__(...) | |
| __hash__(self: object) -> int | |
| | |
| __index__(...) | |
| __index__(self: pyrocketsim.Team) -> int | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.Team, value: int) -> None | |
| | |
| __int__(...) | |
| __int__(self: pyrocketsim.Team) -> int | |
| | |
| __ne__(...) | |
| __ne__(self: object, other: object) -> bool | |
| | |
| __repr__(...) | |
| __repr__(self: object) -> str | |
| | |
| __setstate__(...) | |
| __setstate__(self: pyrocketsim.Team, state: int) -> None | |
| | |
| __str__ = name(...) | |
| name(self: handle) -> str | |
| | |
| ---------------------------------------------------------------------- | |
| Readonly properties defined here: | |
| | |
| __members__ | |
| | |
| name | |
| name(self: handle) -> str | |
| | |
| value | |
| | |
| ---------------------------------------------------------------------- | |
| Data and other attributes defined here: | |
| | |
| BLUE = <Team.BLUE: 0> | |
| | |
| ORANGE = <Team.ORANGE: 1> | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class Vec(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| Vec | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __add__(...) | |
| __add__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| __format__(...) | |
| __format__(self: pyrocketsim.Vec, arg0: str) -> str | |
| | |
| __getitem__(...) | |
| __getitem__(self: pyrocketsim.Vec, arg0: int) -> float | |
| | |
| __gt__(...) | |
| __gt__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> bool | |
| | |
| __iadd__(...) | |
| __iadd__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| __imul__(...) | |
| __imul__(*args, **kwargs) | |
| Overloaded function. | |
| | |
| 1. __imul__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| 2. __imul__(self: pyrocketsim.Vec, arg0: float) -> pyrocketsim.Vec | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.Vec, x: float = 0, y: float = 0, z: float = 0) -> None | |
| | |
| __isub__(...) | |
| __isub__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| __itruediv__(...) | |
| __itruediv__(*args, **kwargs) | |
| Overloaded function. | |
| | |
| 1. __itruediv__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| 2. __itruediv__(self: pyrocketsim.Vec, arg0: float) -> pyrocketsim.Vec | |
| | |
| __lt__(...) | |
| __lt__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> bool | |
| | |
| __mul__(...) | |
| __mul__(*args, **kwargs) | |
| Overloaded function. | |
| | |
| 1. __mul__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| 2. __mul__(self: pyrocketsim.Vec, arg0: float) -> pyrocketsim.Vec | |
| | |
| __neg__(...) | |
| __neg__(self: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.Vec) -> str | |
| | |
| __setitem__(...) | |
| __setitem__(self: pyrocketsim.Vec, arg0: int, arg1: float) -> None | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.Vec) -> str | |
| | |
| __sub__(...) | |
| __sub__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| __truediv__(...) | |
| __truediv__(*args, **kwargs) | |
| Overloaded function. | |
| | |
| 1. __truediv__(self: pyrocketsim.Vec, arg0: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| 2. __truediv__(self: pyrocketsim.Vec, arg0: float) -> pyrocketsim.Vec | |
| | |
| as_numpy(...) | |
| as_numpy(self: pyrocketsim.Vec) -> numpy.ndarray[numpy.float32] | |
| | |
| as_tuple(...) | |
| as_tuple(self: pyrocketsim.Vec) -> tuple | |
| | |
| cross(...) | |
| cross(self: pyrocketsim.Vec, other: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| dist(...) | |
| dist(self: pyrocketsim.Vec, other: pyrocketsim.Vec) -> float | |
| | |
| dist_2d(...) | |
| dist_2d(self: pyrocketsim.Vec, other: pyrocketsim.Vec) -> float | |
| | |
| dist_sq(...) | |
| dist_sq(self: pyrocketsim.Vec, other: pyrocketsim.Vec) -> float | |
| | |
| dist_sq_2d(...) | |
| dist_sq_2d(self: pyrocketsim.Vec, other: pyrocketsim.Vec) -> float | |
| | |
| dot(...) | |
| dot(self: pyrocketsim.Vec, other: pyrocketsim.Vec) -> float | |
| | |
| is_zero(...) | |
| is_zero(self: pyrocketsim.Vec) -> bool | |
| | |
| length(...) | |
| length(*args, **kwargs) | |
| Overloaded function. | |
| | |
| 1. length(self: pyrocketsim.Vec) -> float | |
| | |
| 2. length(self: pyrocketsim.Vec) -> float | |
| | |
| length_sq(...) | |
| length_sq(self: pyrocketsim.Vec) -> float | |
| | |
| normalized(...) | |
| normalized(self: pyrocketsim.Vec) -> pyrocketsim.Vec | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| x | |
| | |
| y | |
| | |
| z | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class WheelPairConfig(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| WheelPairConfig | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __init__(...) | |
| __init__(self: pyrocketsim.WheelPairConfig) -> None | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| connection_point_offset | |
| | |
| suspension_rest_length | |
| | |
| wheel_radius | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
class WorldContact(pybind11_builtins.pybind11_object) | |
| Method resolution order: | |
| WorldContact | |
| pybind11_builtins.pybind11_object | |
| builtins.object | |
| | |
| Methods defined here: | |
| | |
| __format__(...) | |
| __format__(self: pyrocketsim.WorldContact, arg0: str) -> str | |
| | |
| __init__(self, /, *args, **kwargs) | |
| Initialize self. See help(type(self)) for accurate signature. | |
| | |
| __repr__(...) | |
| __repr__(self: pyrocketsim.WorldContact) -> str | |
| | |
| __str__(...) | |
| __str__(self: pyrocketsim.WorldContact) -> str | |
| | |
| ---------------------------------------------------------------------- | |
| Data descriptors defined here: | |
| | |
| contact_normal | |
| | |
| has_contact | |
| | |
| ---------------------------------------------------------------------- | |
| Static methods inherited from pybind11_builtins.pybind11_object: | |
| | |
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type | |
| Create and return a new object. See help(type) for accurate signature. | |
FUNCTIONS | |
init(...) method of builtins.PyCapsule instance | |
init(path: os.PathLike = 'collision_meshes') -> None | |
DATA | |
BLUE = <Team.BLUE: 0> | |
BREAKOUT = <pyrocketsim.CarConfig object> | |
DOMINUS = <pyrocketsim.CarConfig object> | |
HYBRID = <pyrocketsim.CarConfig object> | |
MERC = <pyrocketsim.CarConfig object> | |
OCTANE = <pyrocketsim.CarConfig object> | |
ORANGE = <Team.ORANGE: 1> | |
PLANK = <pyrocketsim.CarConfig object> | |
SOCCAR = <GameMode.SOCCAR: 0> | |
THE_VOID = <GameMode.THE_VOID: 1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment