Skip to content

Commit 3702b34

Browse files
committed
add license to more source files
1 parent 32bbe16 commit 3702b34

File tree

5 files changed

+39
-4
lines changed

5 files changed

+39
-4
lines changed

pinocchio/pinocchio_model.cpp

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2025 Hillbot Inc.
3+
* Copyright 2020-2024 UCSD SU Lab
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
117
#include "pinocchio_model.h"
218
#include <pinocchio/algorithm/aba.hpp>
319
#include <pinocchio/algorithm/crba.hpp>
@@ -348,4 +364,4 @@ Given link index, get the Jacobian. Must be called after compute_full_jacobian.
348364
"Compute the link(body) Jacobian for a single link. It is faster than "
349365
"compute_full_jacobian followed by get_link_jacobian",
350366
py::arg("qpos"), py::arg("link_index"));
351-
}
367+
}

pinocchio/pinocchio_model.h

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2025 Hillbot Inc.
3+
* Copyright 2020-2024 UCSD SU Lab
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
117
#pragma once
218

319
#include "sapien/math/pose.h"
@@ -113,4 +129,4 @@ class PinocchioModel {
113129
int maxIter = 1000, double dt = 1e-1, double damp = 1e-6);
114130
};
115131

116-
}; // namespace sapien
132+
}; // namespace sapien

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Documentation:
191191
Make sure all submodules are initialized `git submodule update --init --recursive`.
192192

193193
### Build with Docker
194-
To build SAPIEN, simply run `./docker_build_wheels.sh`. It is not recommended to
194+
To build SAPIEN, simply run `./scripts/docker_build_wheels.sh`. It is not recommended to
195195
build outside of our provided docker.
196196

197197
For reference, the Dockerfile is provided [here](/docker/Dockerfile). Note that

scripts/apply_license/license_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ target_files: []
4343
target_directories:
4444
- "include"
4545
- "src"
46+
- "pinocchio"
4647
- "python"
4748
- "vulkan_shader"
4849
- "3rd_party/sapien-vulkan-2/include"
4950
- "3rd_party/sapien-vulkan-2/src"
51+
- "3rd_party/simsense/include"
52+
- "3rd_party/simsense/src"

0 commit comments

Comments
 (0)