cef02fabea
Before: ``` Simulation time : 1.71 s Steps per second : 5854 Realtime factor : 11.71 x Time per step : 170.8 µs Newton iters / step : 2.19 Contacts / step : 3.45 Constraints / step : 13.79 Degrees of freedom : 12 Dynamic memory usage : 0.2% of 14M ``` After: ``` Simulation time : 1.41 s Steps per second : 7093 Realtime factor : 14.19 x Time per step : 141.0 µs Newton iters / step : 2.19 Contacts / step : 3.45 Constraints / step : 13.79 Degrees of freedom : 12 Dynamic memory usage : 0.2% of 14M ``` PiperOrigin-RevId: 781087896 Change-Id: Iaf69dccc5e95af5bac862344683c74f962162186
32 lines
920 B
C++
32 lines
920 B
C++
// Copyright 2022 DeepMind Technologies Limited
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#include "bolt.h"
|
|
#include "bowl.h"
|
|
#include "gear.h"
|
|
#include "nut.h"
|
|
#include "torus.h"
|
|
|
|
namespace mujoco::plugin::sdf {
|
|
|
|
mjPLUGIN_LIB_INIT {
|
|
Bolt::RegisterPlugin();
|
|
Bowl::RegisterPlugin();
|
|
Gear::RegisterPlugin();
|
|
Nut::RegisterPlugin();
|
|
Torus::RegisterPlugin();
|
|
}
|
|
|
|
} // namespace mujoco::plugin::sdf
|