mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-15 17:38:37 +08:00
Merge pull request #214 from Capo01/patch-10
Replaced motor0 with axis0 in rate_test function
This commit is contained in:
@@ -116,7 +116,7 @@ def rate_test(device):
|
||||
numFrames = 10000
|
||||
vals = []
|
||||
for _ in range(numFrames):
|
||||
vals.append(device.motor0.loop_counter)
|
||||
vals.append(device.axis0.loop_counter)
|
||||
|
||||
plt.plot(vals)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user