Skip to content
Snippets Groups Projects
Commit 42f25af3 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Correct agent typos

parent ba0f98eb
No related branches found
No related tags found
No related merge requests found
...@@ -194,6 +194,9 @@ CyberBeeAgent is a close loop agent and need to be run within blender \ ...@@ -194,6 +194,9 @@ CyberBeeAgent is a close loop agent and need to be run within blender \
AbstractAgent._alter_posorientvel = \ AbstractAgent._alter_posorientvel = \
lambda motion_vec: navimomath.next_pos(motion_vec, lambda motion_vec: navimomath.next_pos(motion_vec,
move_mode='free_run') move_mode='free_run')
self._alter_posorientvel = \
lambda motion_vec: navimomath.next_pos(motion_vec,
move_mode='free_run')
self.brain = brain self.brain = brain
self._posorients_queue = posorients_queue self._posorients_queue = posorients_queue
self._results_queue = results_queue self._results_queue = results_queue
...@@ -213,6 +216,7 @@ CyberBeeAgent is a close loop agent and need to be run within blender \ ...@@ -213,6 +216,7 @@ CyberBeeAgent is a close loop agent and need to be run within blender \
common_id = list(set(start_posorient.index).intersection( common_id = list(set(start_posorient.index).intersection(
self._posorient_vel.index)) self._posorient_vel.index))
self._posorient_vel.loc[common_id] = start_posorient.loc[common_id] self._posorient_vel.loc[common_id] = start_posorient.loc[common_id]
self._posorient_vel.name = start_posorient.name
self.move() self.move()
posorient_vel = self._posorient_vel posorient_vel = self._posorient_vel
self._posorients_queue.task_done() self._posorients_queue.task_done()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment