Exemple #1
0
 def compute_forces(self, commands):
     force = self.max_force * commands[0]
     return hat_map_2d(force)
Exemple #2
0
 def compute_forces(self, commands):
     force = self.max_force * commands[0]
     return hat_map_2d(force)
Exemple #3
0
 def compute_velocities(self, commands):
     omega = self.max_velocity * commands[0]
     return hat_map_2d(omega)
Exemple #4
0
 def compute_velocities(self, commands):
     omega = self.max_velocity * commands[0]
     return hat_map_2d(omega)