bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
diff_drive_robot_chassis.h
Go to the documentation of this file.
1//
2// Created by alex on 2/8/26.
3//
4
5#ifndef DIFF_DRIVE_ROBOT_CHASSIS_H
6#define DIFF_DRIVE_ROBOT_CHASSIS_H
7
8#include "bitrl/bitrl_config.h"
9
10#ifdef BITRL_CHRONO
11
12#include <string>
13#include <memory>
14
15#include "chrono/physics/ChSystem.h"
16
17
19#include "bitrl/bitrl_types.h"
20
21namespace bitrl{
22namespace rb::bitrl_chrono{
23
24
34class CHRONO_DiffDriveRobot_Chassis : public CHRONO_DiffDriveRobot_Part {
35public:
36
37 // constructor
38 CHRONO_DiffDriveRobot_Chassis(
39 std::shared_ptr<chrono::ChContactMaterial> mat,
40 chrono::ChSystem* system,
41 const chrono::ChVector3d& body_pos,
42 const chrono::ChQuaternion<>& body_rot
43 );
44
45 ~CHRONO_DiffDriveRobot_Chassis()=default;
46
48 virtual void init() override;
49
50
51private:
53 void translate(const chrono::ChVector3d& shift);
54
55};
56
57}
58}
59#endif //DIFF_DRIVE_ROBOT_CHASSIS_H
60#endif
61
Definition bitrl_consts.h:14