chore: adjust
This commit is contained in:
parent
e391cbd6c7
commit
b9886b50fd
10
A1_motor.py
10
A1_motor.py
@ -49,11 +49,11 @@ class A1Motor(MotorInstance):
|
||||
self.motor_name = "-".join([self.serial_path, str(id), str(int(time.time()))]) if motor_name is None else motor_name
|
||||
self.serial = SerialPort(self.serial_path)
|
||||
self.reduction_ratio = queryGearRatio(self.motor_type)
|
||||
self._tau = 0
|
||||
self._dq = 0
|
||||
self._q = 0
|
||||
self._kp = 0
|
||||
self._kd = 0
|
||||
self._tau = tau
|
||||
self._dq = dq
|
||||
self._q = q
|
||||
self._kp = kp
|
||||
self._kd = kd
|
||||
self.init_motor_cmd()
|
||||
self.init_motor_data()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user