MCPcopy Create free account

hub / github.com/Rhoban/frasa / functions

Functions38 in github.com/Rhoban/frasa

↓ 6 callersMethodset_control
Sets the control for a given actuator. If the actuator is a position actuator, the value is the desired position. If the actu
frasa_env/mujoco_simulator/simulator.py:115
↓ 4 callersMethodstep
(self, action)
frasa_env/env/standup_env.py:211
↓ 3 callersMethodapply_control
(self, q: np.ndarray, reset: bool = False)
frasa_env/env/standup_env.py:171
↓ 3 callersMethodget_actuator_index
(self, name: str)
frasa_env/mujoco_simulator/simulator.py:112
↓ 3 callersMethodget_q
Gets the position of a given joint. Args: name (str): joint name Returns: float: joint position
frasa_env/mujoco_simulator/simulator.py:65
↓ 3 callersMethodget_tilt
(self)
frasa_env/env/standup_env.py:180
↓ 3 callersMethodreset
( self, seed: int = None, options: Optional[dict] = None, )
frasa_env/env/standup_env.py:406
↓ 3 callersMethodstep
(self)
frasa_env/mujoco_simulator/simulator.py:241
↓ 2 callersMethodcentroidal_force
(self)
frasa_env/mujoco_simulator/simulator.py:48
↓ 2 callersMethodget_T_world_fbase
Gets the transformation from world to floating base frame.
frasa_env/mujoco_simulator/simulator.py:166
↓ 2 callersMethodget_control
Gets the control for a given actuator Args: name (str): actuator name
frasa_env/mujoco_simulator/simulator.py:102
↓ 2 callersMethodget_gyro
Gets the gyroscope data. Returns: np.ndarray: gyroscope data
frasa_env/mujoco_simulator/simulator.py:131
↓ 2 callersMethodget_initial_config_filename
(self)
frasa_env/env/standup_env.py:168
↓ 2 callersMethodget_observation
(self)
frasa_env/env/standup_env.py:184
↓ 2 callersMethodrender
(self)
frasa_env/env/standup_env.py:456
↓ 2 callersMethodreset_render
(self)
frasa_env/mujoco_simulator/simulator.py:57
↓ 2 callersMethodset_T_world_fbase
Updates the floating base so that a body transformation match the target one Args: T (np.ndarray): target transformation
frasa_env/mujoco_simulator/simulator.py:178
↓ 2 callersMethodset_T_world_site
Updates the floating base so that a site transformation match the target one Args: site_name (str): site name
frasa_env/mujoco_simulator/simulator.py:212
↓ 1 callersMethodapply_angular_offset
(self, joint: str, offset: float)
frasa_env/env/standup_env.py:327
↓ 1 callersMethodapply_randomization
(self)
frasa_env/env/standup_env.py:333
↓ 1 callersMethoddof_names
(self)
frasa_env/mujoco_simulator/simulator.py:51
↓ 1 callersMethodget_T_world_body
Gets the transformation from world to body frame. Args: body_name (str): body name
frasa_env/mujoco_simulator/simulator.py:140
↓ 1 callersMethodget_T_world_site
Gets the transformation from world to site frame. Args: site_name (str): site name
frasa_env/mujoco_simulator/simulator.py:153
↓ 1 callersMethodrandomize_fall
(self, target: bool = False)
frasa_env/env/standup_env.py:372
↓ 1 callersMethodrender
Renders the visualization of the simulation. Args: realtime (bool, optional): if True, render will sleep to ensure real
frasa_env/mujoco_simulator/simulator.py:255
↓ 1 callersMethodreset_velocity
Resets the velocity of all the joints
frasa_env/mujoco_simulator/simulator.py:193
↓ 1 callersMethodself_collisions
(self)
frasa_env/mujoco_simulator/simulator.py:37
↓ 1 callersMethodset_floor_friction
(self, friction: float)
frasa_env/mujoco_simulator/simulator.py:33
↓ 1 callersMethodset_q
Sets a value of a given joint. Args: name (str): joint name value (float): target value
frasa_env/mujoco_simulator/simulator.py:91
Method__init__
(self, model_dir: Optional[str] = None)
frasa_env/mujoco_simulator/simulator.py:12
Method__init__
(self, evaluation=False, render_mode="none", options=None)
frasa_env/env/standup.py:7
Method__init__
(self, render_mode="none", options: Optional[dict] = None, evaluation: bool = False)
frasa_env/env/standup_env.py:17
Methodget_pressure_sensors
(self)
frasa_env/mujoco_simulator/simulator.py:225
Methodget_qdot
Gets the velocity of a given joint. Args: name (str): joint name Returns: float: joint velocity
frasa_env/mujoco_simulator/simulator.py:78
Methodget_range
(self, name: str)
frasa_env/mujoco_simulator/simulator.py:62
Methodreset
(self)
frasa_env/mujoco_simulator/simulator.py:54
Methodset_T_world_body
Updates the floating base so that a body transformation match the target one Args: body_name (str): body name
frasa_env/mujoco_simulator/simulator.py:199
Methodset_gravity
Sets the gravity vector. Args: gravity (np.ndarray): gravity vector
frasa_env/mujoco_simulator/simulator.py:246