1#ifndef DIFF_DRIVE_ROBOT_RODS_H
2#define DIFF_DRIVE_ROBOT_RODS_H
4#include "bitrl/bitrl_config.h"
11#include "chrono/physics/ChSystem.h"
17namespace rb::bitrl_chrono
29class CHRONO_DiffDriveRobot_Rod_Short :
public CHRONO_DiffDriveRobot_Part {
31 CHRONO_DiffDriveRobot_Rod_Short(
const std::string& name,
32 std::shared_ptr<chrono::ChContactMaterial> mat,
33 chrono::ChSystem* system,
34 const chrono::ChVector3d& body_pos,
35 const chrono::ChQuaternion<>& body_rot,
36 std::shared_ptr<chrono::ChBodyAuxRef> chassis);
38 ~CHRONO_DiffDriveRobot_Rod_Short()=
default;
41 virtual void init()
override;
45 void translate(
const chrono::ChVector3d& shift);
58class CHRONO_DiffDriveRobot_Rod_Long :
public CHRONO_DiffDriveRobot_Part {
60 CHRONO_DiffDriveRobot_Rod_Long(
const std::string& name,
61 std::shared_ptr<chrono::ChContactMaterial> mat,
62 chrono::ChSystem* system,
63 const chrono::ChVector3d& body_pos,
64 const chrono::ChQuaternion<>& body_rot,
65 std::shared_ptr<chrono::ChBodyAuxRef> chassis);
67 virtual ~CHRONO_DiffDriveRobot_Rod_Long()=
default;
70 virtual void init()
override;
76 void translate(
const chrono::ChVector3d& shift);
Definition bitrl_consts.h:14