mirror of
https://github.com/huggingface/lerobot.git
synced 2026-06-03 04:11:24 +00:00
feat(robot): Add support for OMX robot (#2614)
* upload * feat(omx): simplify motor initialization and remove default calibration files * feat(omx): read motor positions without normalization for improved accuracy * update calibration method for return factory value Signed-off-by: Junha Cha <ckwnsgk1@gachon.ac.kr> * change the drive mode * refactor: clean up code by removing unnecessary blank lines in omx_follower and omx_leader modules * feat(omx): update calibration method to set drive modes for motors * feat(pyproject): add 'ROBOTIS' to extend-ignore-identifiers-re list * feat(omx): enhance calibration method to write default drive modes to motors * Update src/lerobot/robots/omx_follower/__init__.py Add informations about the robot Co-authored-by: Steven Palma <imstevenpmwork@ieee.org> Signed-off-by: Woojin Wie <dnldnwls1123@gmail.com> --------- Signed-off-by: Junha Cha <ckwnsgk1@gachon.ac.kr> Signed-off-by: Woojin Wie <dnldnwls1123@gmail.com> Co-authored-by: Junha02 <chajunha2023@naver.com> Co-authored-by: Junha Cha <ckwnsgk1@gachon.ac.kr> Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>
This commit is contained in:
@@ -28,6 +28,10 @@ def make_robot_from_config(config: RobotConfig) -> Robot:
|
||||
from .koch_follower import KochFollower
|
||||
|
||||
return KochFollower(config)
|
||||
elif config.type == "omx_follower":
|
||||
from .omx_follower import OmxFollower
|
||||
|
||||
return OmxFollower(config)
|
||||
elif config.type == "so100_follower":
|
||||
from .so100_follower import SO100Follower
|
||||
|
||||
|
||||
Reference in New Issue
Block a user