This repository was archived by the owner on May 29, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22# SPDX-License-Identifier: Apache-2.0
33
4- """Base actuator class."""
5-
64from typing import Any
75
86import numpy as np
Original file line number Diff line number Diff line change 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-
64import math
75from typing import Any
86
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22# SPDX-License-Identifier: Apache-2.0
33
4- """PD controller with input delay."""
5-
64import math
75from dataclasses import dataclass
86from typing import Any
Original file line number Diff line number Diff line change 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
184import math
195from dataclasses import dataclass
Original file line number Diff line number Diff line change 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
184import math
195from dataclasses import dataclass
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22# SPDX-License-Identifier: Apache-2.0
33
4- """Stateless PD controller actuator."""
5-
64import math
75from typing import Any
86
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22# SPDX-License-Identifier: Apache-2.0
33
4- """Stateful PID controller actuator."""
5-
64import math
75from dataclasses import dataclass
86from typing import Any
Original file line number Diff line number Diff line change 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-
64import math
75from typing import Any
86
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22# SPDX-License-Identifier: Apache-2.0
33
4- """Warp kernels for actuator computations."""
5-
64import warp as wp
75
86
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 The Newton Developers
22# SPDX-License-Identifier: Apache-2.0
33
4- """USD parser for actuator prims."""
5-
64from __future__ import annotations
75
86from dataclasses import dataclass , field
You can’t perform that action at this time.
0 commit comments