Use std::thread in compiler on all platforms.
PiperOrigin-RevId: 651005412 Change-Id: I8dfb142dc2d87ab0af79583f2df168c105b50138
This commit is contained in:
committed by
Copybara-Service
parent
7e97caaafd
commit
b483ce608e
+1
-2
@@ -737,8 +737,7 @@ Automatic computation of actuator length ranges is done at compile time, and the
|
||||
mjModel.actuator_lengthrange of the compiled model. If the model is then saved (either as XML or MJB), the computation
|
||||
does not need to be repeated at the next load. This is important because the computation can slow down the model
|
||||
compiler with large musculo-skeletal models. Indeed we have made the compiler multi-threaded just to speed up this
|
||||
operation (different actuators are processed in parallel in different threads). Incidentally, this is why the flag
|
||||
'-pthread' is now needed when linking user code against the MuJoCo library on Linux and macOS.
|
||||
operation (different actuators are processed in parallel in different threads).
|
||||
|
||||
Automatic computation relies on modified physics simulation. For each actuator we apply force (negative when computing
|
||||
the minimum, positive when computing the maximum) through the actuator's transmission, advance the simulation in a
|
||||
|
||||
Reference in New Issue
Block a user