-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bugs related to controlBoard implementation
- Loading branch information
1 parent
42a502f
commit 0c419f9
Showing
2 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Silvio, the code that reads the position is executed at every simulation cycle, please consider caching the value returned from robot->GetJoint so that you don't have to access a map and a vector everytime. We don't know if the compiler is smart enough to understand what you are doing and apply optimization to the code in order to automatically cache values.