Skip to content

turtlebot

Turtlebot

Bases: TwoWheelRobot

Turtlebot robot Reference: http://wiki.ros.org/Robots/TurtleBot Uses joint velocity control

Source code in omnigibson/robots/turtlebot.py
class Turtlebot(TwoWheelRobot):
    """
    Turtlebot robot
    Reference: http://wiki.ros.org/Robots/TurtleBot
    Uses joint velocity control
    """

    @property
    def wheel_radius(self):
        return 0.038

    @property
    def wheel_axle_length(self):
        return 0.23

    @property
    def base_joint_names(self):
        return ["wheel_left_joint", "wheel_right_joint"]

    @property
    def _default_joint_pos(self):
        return th.zeros(self.n_joints)

    @property
    def usd_path(self):
        return os.path.join(gm.ASSET_PATH, "models/turtlebot/turtlebot/turtlebot.usd")

    @property
    def urdf_path(self):
        return os.path.join(gm.ASSET_PATH, "models/turtlebot/turtlebot.urdf")