Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit b2bcb65

Browse files
authored
Replace verbose Apache 2.0 boilerplate with SPDX-only headers (#9)
* remove verbose * readme cleanup * cleanup
1 parent db57ba8 commit b2bcb65

12 files changed

Lines changed: 0 additions & 48 deletions

File tree

newton_actuators/_src/actuators/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""Base actuator class."""
5-
64
from typing import Any
75

86
import numpy as np

newton_actuators/_src/actuators/dc_motor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2026 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""DC motor actuator with velocity-dependent torque saturation."""
5-
64
import math
75
from typing import Any
86

newton_actuators/_src/actuators/delayed_pd.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""PD controller with input delay."""
5-
64
import math
75
from dataclasses import dataclass
86
from typing import Any

newton_actuators/_src/actuators/net_lstm.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2026 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
16-
"""LSTM-based neural network actuator."""
173

184
import math
195
from dataclasses import dataclass

newton_actuators/_src/actuators/net_mlp.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2026 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
16-
"""MLP-based neural network actuator."""
173

184
import math
195
from dataclasses import dataclass

newton_actuators/_src/actuators/pd.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""Stateless PD controller actuator."""
5-
64
import math
75
from typing import Any
86

newton_actuators/_src/actuators/pid.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""Stateful PID controller actuator."""
5-
64
import math
75
from dataclasses import dataclass
86
from typing import Any

newton_actuators/_src/actuators/remotized_pd.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2026 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""PD controller with input delay and angle-dependent torque limits."""
5-
64
import math
75
from typing import Any
86

newton_actuators/_src/kernels.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""Warp kernels for actuator computations."""
5-
64
import warp as wp
75

86

newton_actuators/_src/usd_parser.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22
# SPDX-License-Identifier: Apache-2.0
33

4-
"""USD parser for actuator prims."""
5-
64
from __future__ import annotations
75

86
from dataclasses import dataclass, field

0 commit comments

Comments
 (0)