15 for (std::size_t joint = 0; joint < spec.
joint_count; ++joint)
20 const double index =
static_cast<double>(joint);
23 0.015 * (index - 2.0), 0.02 * index,
24 -0.015 * index, 0.01 * index);
38 const double index =
static_cast<double>(joint);
39 body.
mass = 1.0 + 0.15 * index;
40 body.
center_of_mass = {0.04 + 0.002 * index, -0.01 + 0.001 * index,
41 0.015 - 0.0005 * index};