File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -382,9 +382,6 @@ def process_action(self, agent: Agent):
382382
383383 It has access to the world through the :class:`world` attribute
384384
385- It can also be used for any other type of computation that has to happen after
386- the input actions have been set but before the simulation step.
387-
388385 For example here you can manage additional actions before passing them to the dynamics.
389386
390387 Args:
@@ -397,7 +394,8 @@ def process_action(self, agent: Agent):
397394 >>> def process_action(self, agent):
398395 >>> # Clamp square to circle
399396 >>> agent.action.u = TorchUtils.clamp_with_norm(agent.action.u, agent.u_range)
400- >>> # Can use a PID controller
397+ >>> # Can use a PID controller to turn velocity actions into forces
398+ >>> # (e.g., from vmas.simulator.controllers.velocity_controller)
401399 >>> agent.controller.process_force()
402400 >>> return
403401 """
You can’t perform that action at this time.
0 commit comments