AGX Dynamics  2.35.0.1
ElementarySteeringConstraint.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 
20 
21 namespace agxVehicle
22 {
23 
25 
27  {
28  public:
30 
31  agx::UInt getJacobian(agx::Jacobian6DOFElement* /* G */, agx::UInt /* numBlocks */, agx::UInt /* row */,
32  agx::GWriteState::Enum /* writeState */) override
33  {
34  return 0;
35  }
36 
37  agx::UInt getJacobian(agx::Jacobian6DOFElement* G, const agx::Vec3u writeIndices, const agx::RigidBody* wheel1Rb,
38  const agx::RigidBody* wheel2Rb, const agx::RigidBody* chassisRb,
39  agx::Vec3 n_31, agx::Vec3 n_32, agx::Real f_1, agx::Real f_2);
40 
42 
43  protected:
47  };
48 
49 }
50 
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:248
agx::UInt getJacobian(agx::Jacobian6DOFElement *, agx::UInt, agx::UInt, agx::GWriteState::Enum) override
Returns the Jacobian of this elementary constraint.
agx::UInt getViolation(agx::Real *g, agx::UInt row) override
Returns the violation of this elementary constraint.
agx::UInt getJacobian(agx::Jacobian6DOFElement *G, const agx::Vec3u writeIndices, const agx::RigidBody *wheel1Rb, const agx::RigidBody *wheel2Rb, const agx::RigidBody *chassisRb, agx::Vec3 n_31, agx::Vec3 n_32, agx::Real f_1, agx::Real f_2)
Elementary constraint base class with interface and global constraint functionality.
All ghost variables have compliance and damping attributes.
The rigid body class, combining a geometric model and a frame of reference.
Definition: RigidBody.h:55
A class holding 3 dimensional vectors and providing basic arithmetic.
Definition: Vec3Template.h:46
This namespace contains classes related to vehicles dynamics.
uint32_t UInt
Definition: Integer.h:34
double Real
Definition: Real.h:42