AGX Dynamics  2.38.0.2
Steering.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 #include <agxVehicle/export.h>
20 #include <agx/Constraint.h>
21 
22 namespace agxVehicle
23 {
29 
30  class WheelJoint;
31 
46  {
47  public:
48 
54  void setSteeringAngle(agx::Real angle);
55 
59  agx::Real getSteeringAngle() const;
60 
64  agx::Real getMaximumSteeringAngle(agx::UInt side) const;
65 
70  const agxVehicle::SteeringParameters& getSteeringParameters() const;
71 
75  void render(class agxRender::RenderManager* mgr, float scale) const override;
76 
80  int getNumDOF() const override;
81 
83 
84  protected:
85  Steering();
86  virtual ~Steering();
87  class SteeringImplementation* m_impl;
88  };
89 
90 
91 
93  {
94  public:
101  BellCrank(WheelJoint* leftWheel, WheelJoint* rightWheel,
103 
104  BellCrank() = default;
106 
107  protected:
108  virtual ~BellCrank();
109  };
110 
111 
112 
114  {
115  public:
122  RackPinion(WheelJoint* leftWheel, WheelJoint* rightWheel,
124 
125  RackPinion() = default;
127 
128  protected:
129  virtual ~RackPinion();
130  };
131 
132 
133 
135  {
136  public:
144  Davis(WheelJoint* leftWheel, WheelJoint* rightWheel,
146 
147  Davis() = default;
149 
150  protected:
151  virtual ~Davis();
152  };
153 
154 
155 
157  {
158  public:
166  Ackermann(WheelJoint* leftWheel, WheelJoint* rightWheel,
168 
169  int getNumDOF() const override;
170 
171  Ackermann() = default;
173 
174  protected:
175  virtual ~Ackermann();
176  };
177 }
agxVehicle::SteeringParameters::RackPinion
static SteeringParameters RackPinion()
RackPinion steering configuration parameters: phi0: -1.885 l: 0.14 alpha0: 0.0 lc: 1....
agxVehicle::WheelJoint
The wheel constraint is designed to attach two bodies such that one of them is free to rotate about a...
Definition: WheelJoint.h:73
agx::UInt
uint64_t UInt
Definition: Integer.h:27
agx::Real
double Real
Definition: Real.h:42
agxVehicle::Ackermann
Definition: Steering.h:156
agxVehicle::BellCrank
Definition: Steering.h:92
agxVehicle::Davis
Definition: Steering.h:134
agxVehicle::SteeringParameters::Davis
static SteeringParameters Davis()
Davis steering configuration parameters: phi0: 1.815 l: 0.14 alpha0: 1.32645 lc: -2....
agxRender::RenderManager
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Definition: RenderManager.h:106
export.h
Constraint.h
agxVehicle::Steering::m_impl
class SteeringImplementation * m_impl
Definition: Steering.h:87
AGXSTREAM_DECLARE_SERIALIZABLE
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
SteeringParameters.h
agxVehicle::RackPinion
Definition: Steering.h:113
agxVehicle::SteeringParameters::Ackermann
static SteeringParameters Ackermann()
Ackermann steering configuration parameters: phi0: -2.007 l: 0.16 alpha0: 0.0 lc: 0....
agxVehicle::Steering
A Steering mechanism is designed to align wheels simultaneously to minimize the slip,...
Definition: Steering.h:45
agxVehicle::SteeringParameters::BellCrank
static SteeringParameters BellCrank()
Bell Crank steering configuration parameters: phi0: -1.885 l: 0.14 alpha0: 0.0 lc: 1....
agxVehicle
This namespace contains classes related to vehicles dynamics.
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
agx::Constraint
The base class for a constraint.
Definition: Constraint.h:88
agxVehicle::SteeringParameters
Definition: SteeringParameters.h:23
AGXVEHICLE_EXPORT
#define AGXVEHICLE_EXPORT
Definition: agxVehicle/export.h:38