AGX Dynamics  2.35.0.1
AckermannSteering.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. 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 
19 #include <agxVehicle/export.h>
20 #include <agx/Constraint.h>
21 
22 namespace agxVehicle
23 {
24  class WheelJoint;
25 
33  {
34  public:
47 
51  void render(class agxRender::RenderManager* mgr, float scale) const override;
52 
56  int getNumDOF() const override;
57 
58  private:
59  class AckermannSteeringImplementation* m_implementation;
60  };
61 
62 }
63 
#define AGXVEHICLE_EXPORT
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
A Steering constraint to align the wheels simultaneously to minimize wheel slip.
AckermannSteering(agxVehicle::WheelJoint *wheel1, agxVehicle::WheelJoint *wheel2, agx::Real a, agx::Real b)
Create a constraint using Ackermann steering geometry.
int getNumDOF() const override
void render(class agxRender::RenderManager *mgr, float scale) const override
Used internally for debug rendering.
The wheel constraint is designed to attach two bodies such that one of them is free to rotate about a...
Definition: WheelJoint.h:73
The base class for a constraint.
Definition: Constraint.h:89
This namespace contains classes related to vehicles dynamics.
double Real
Definition: Real.h:42