Skip to content

Commit 83ce429

Browse files
matafelachenjian
andauthored
fix setting drive none (#136)
Co-authored-by: chenjian <chenjian@dexforce.com>
1 parent 342f284 commit 83ce429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embodichain/lab/sim/utility/sim_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_drive_type(drive_pros):
100100
elif drive_type == "acceleration":
101101
drive_type = DriveType.ACCELERATION
102102
elif drive_type == "none":
103-
return DriveType.NONE
103+
drive_type = DriveType.NONE
104104
else:
105105
logger.log_error(f"Unknow drive type {drive_type}")
106106

0 commit comments

Comments
 (0)