smarts.env.gymnasium.wrappers.limit_relative_target_pose module
- class smarts.env.gymnasium.wrappers.limit_relative_target_pose.LimitRelativeTargetPose(*args: Any, **kwargs: Any)[source]
Limits the delta-x and delta-y in the RelativeTargetPose action space.
- step(action: Dict[str, ndarray]) Tuple[Dict[str, Any], Dict[str, float], Dict[str, bool], Dict[str, bool], Dict[str, Dict[str, Any]]] [source]
Steps the environment.
- Parameters:
action (Dict[str, np.ndarray]) – Action for each agent.
- Returns:
Observation, reward, terminated, truncated, and info, for each agent is returned.
- Return type:
Tuple[ Dict[str, Any], Dict[str, float], Dict[str, bool], Dict[str, bool], Dict[str, Dict[str, Any]] ]