Closed osrf-migration closed 8 years ago
Original comment by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).
Merged in Gama11/robocup3ds/issue_32 (pull request #57)
Don't clear the effector map each cycle, fixes #32
→ \<\<cset fba6d7ea89a321b1465d62eb1995a22e14348bbc>>
Original report (archived issue) by Stefan Glaser (Bitbucket: umscht).
In SimSpark, when sending no joint effector message, the previous action of the joint keeps active. To reduce network overhead, we implemented in our agent code that if the effector value doesn't change for a joint, it will suppress sending the same value again.
When looking into the Robocup3dsPlugin class, I found a call to clear the map of effectors after they are applied (line 422). When removing this line, our agent moves more like we expect. Is there a reason why the map of effectors is cleared in each cycle?