1#ifndef DIFF_DRIVE_ROBOT_WHEELS_H
2#define DIFF_DRIVE_ROBOT_WHEELS_H
4#include "bitrl/bitrl_config.h"
13namespace rb::bitrl_chrono
25class CHRONO_DiffDriveRobot_ActiveWheel :
public CHRONO_DiffDriveRobot_Part {
27 CHRONO_DiffDriveRobot_ActiveWheel(
const std::string& name,
28 std::shared_ptr<chrono::ChContactMaterial> mat,
29 chrono::ChSystem* system,
30 const chrono::ChVector3d& body_pos,
31 const chrono::ChQuaternion<>& body_rot,
32 std::shared_ptr<chrono::ChBodyAuxRef> chassis
36 virtual ~CHRONO_DiffDriveRobot_ActiveWheel()=
default;
39 virtual void init()
override;
43 void translate(
const chrono::ChVector3d& shift);
55class CHRONO_DiffDriveRobot_PassiveWheel :
public CHRONO_DiffDriveRobot_Part {
57 CHRONO_DiffDriveRobot_PassiveWheel(
const std::string& name,
59 std::shared_ptr<chrono::ChContactMaterial> mat,
60 chrono::ChSystem* system,
61 const chrono::ChVector3d& body_pos,
62 const chrono::ChQuaternion<>& body_rot,
63 std::shared_ptr<chrono::ChBodyAuxRef> chassis
65 virtual ~CHRONO_DiffDriveRobot_PassiveWheel()=
default;
68 virtual void init()
override;
72 void translate(
const chrono::ChVector3d& shift);
Definition bitrl_consts.h:14