Fix typos.

PiperOrigin-RevId: 710678815
Change-Id: Iab6f603f8f4d782ac7f34140add39e1f37625167
This commit is contained in:
Yuval Tassa
2024-12-30 04:14:31 -08:00
committed by Copybara-Service
parent 0336114a88
commit 8cb253b6ca
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -2500,7 +2500,7 @@ struct mjUI_ { // entire UI
// UI sizes (framebuffer units)
int width; // width
int height; // current heigth
int height; // current height
int maxheight; // height when all sections open
int scroll; // scroll from top of UI
+1 -1
View File
@@ -304,7 +304,7 @@ struct mjUI_ { // entire UI
// UI sizes (framebuffer units)
int width; // width
int height; // current heigth
int height; // current height
int maxheight; // height when all sections open
int scroll; // scroll from top of UI
+1 -1
View File
@@ -12380,7 +12380,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
StructFieldDecl(
name='height',
type=ValueType(name='int'),
doc='current heigth',
doc='current height',
),
StructFieldDecl(
name='maxheight',
+1 -1
View File
@@ -988,7 +988,7 @@ def _site_dof_mask(m: Model) -> np.ndarray:
mask = np.ones((m.nu, m.nv))
for i in np.nonzero(m.actuator_trnid[:, 1] != -1)[0]:
id_, refid = m.actuator_trnid[i]
# intialize last dof address for each body
# initialize last dof address for each body
b0 = m.body_weldid[m.site_bodyid[id_]]
b1 = m.body_weldid[m.site_bodyid[refid]]
dofadr0 = m.body_dofadr[b0] + m.body_dofnum[b0] - 1
+1 -1
View File
@@ -147,7 +147,7 @@ void mj_fwdPosition(const mjModel* m, mjData* d) {
mj_collision(m, d); // timed internally (POS_COLLISION)
}
// have threadpool: inertia and collision on seperate threads
// have threadpool: inertia and collision on separate threads
else {
mjTask tasks[2];
mjFwdPositionArgs forward_args;
+2 -2
View File
@@ -278,7 +278,7 @@ int mj_mergeChain(const mjModel* m, int* chain, int b1, int b2) {
return 0;
}
// intialize last dof address for each body
// initialize last dof address for each body
da1 = m->body_dofadr[b1] + m->body_dofnum[b1] - 1;
da2 = m->body_dofadr[b2] + m->body_dofnum[b2] - 1;
@@ -361,7 +361,7 @@ int mj_bodyChain(const mjModel* m, int body, int* chain) {
return 0;
}
// intialize last dof
// initialize last dof
int da = m->body_dofadr[body] + m->body_dofnum[body] - 1;
int NV = 0;
+1 -1
View File
@@ -497,7 +497,7 @@ void mjv_moveModel(const mjModel* m, int action, mjtNum reldx, mjtNum reldy,
// get current model rotation
mju_f2n(rotate, scn->rotate, 4);
// compose rotation, normalize and and set
// compose rotation, normalize and set
mju_mulQuat(result, quat, rotate);
mju_normalize4(result);
mju_n2f(scn->rotate, result, 4);