mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-24 02:06:15 +00:00
[done] make precommit happy
This commit is contained in:
@@ -22,7 +22,7 @@ from functools import cached_property
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from scipy.spatial.transform import Rotation as R
|
from scipy.spatial.transform import Rotation as R # noqa: N817
|
||||||
from unitree_sdk2py.idl.default import unitree_hg_msg_dds__LowCmd_
|
from unitree_sdk2py.idl.default import unitree_hg_msg_dds__LowCmd_
|
||||||
from unitree_sdk2py.idl.unitree_hg.msg.dds_ import (
|
from unitree_sdk2py.idl.unitree_hg.msg.dds_ import (
|
||||||
LowCmd_ as hg_LowCmd,
|
LowCmd_ as hg_LowCmd,
|
||||||
@@ -71,7 +71,7 @@ class IMUState:
|
|||||||
|
|
||||||
|
|
||||||
# g1 observation class
|
# g1 observation class
|
||||||
class G1_29_LowState:
|
class G1_29_LowState: # noqa: N801
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.motor_state = [MotorState() for _ in range(G1_29_Num_Motors)]
|
self.motor_state = [MotorState() for _ in range(G1_29_Num_Motors)]
|
||||||
self.imu_state = IMUState()
|
self.imu_state = IMUState()
|
||||||
|
|||||||
Reference in New Issue
Block a user