AGXDynamics
2.35.0.2
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
19
#include <
agx/ElementaryConstraint.h
>
20
21
namespace
agxVehicle
22
{
23
24
AGX_DECLARE_POINTER_TYPES
(
ElementaryAckermannSteering
);
25
26
class
ElementaryAckermannSteering
:
public
agx::ElementaryConstraint
27
{
28
public
:
29
ElementaryAckermannSteering
();
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
41
agx::UInt
getViolation
(
agx::Real
* g,
agx::UInt
row)
override
;
42
43
protected
:
44
agx::RegularizationParameters
m_regParams
[1];
45
agx::Real
m_forces
[1];
46
agx::RangeReal
m_bounds
[1];
47
};
48
49
}
50
agx::RegularizationParameters
All ghost variables have compliance and damping attributes.
Definition:
RegularizationParameters.h:29
agxVehicle::ElementaryAckermannSteering::m_bounds
agx::RangeReal m_bounds[1]
Definition:
ElementarySteeringConstraint.h:46
agx::ElementaryConstraint
Elementary constraint base class with interface and global constraint functionality.
Definition:
ElementaryConstraint.h:53
agx::Real
double Real
Definition:
Real.h:42
agx::Jacobian6DOFElementT
Definition:
Jacobian.h:104
agxVehicle::ElementaryAckermannSteering::m_forces
agx::Real m_forces[1]
Definition:
ElementarySteeringConstraint.h:45
agx::RigidBody
The rigid body class, combining a geometric model and a frame of reference.
Definition:
RigidBody.h:54
agxVehicle::ElementaryAckermannSteering
Definition:
ElementarySteeringConstraint.h:26
agxVehicle::ElementaryAckermannSteering::getViolation
agx::UInt getViolation(agx::Real *g, agx::UInt row) override
Returns the violation of this elementary constraint.
agxVehicle
This namespace contains classes related to vehicles dynamics.
Definition:
AckermannSteering.h:22
agxVehicle::ElementaryAckermannSteering::getJacobian
agx::UInt getJacobian(agx::Jacobian6DOFElement *, agx::UInt, agx::UInt, agx::GWriteState::Enum) override
Returns the Jacobian of this elementary constraint.
Definition:
ElementarySteeringConstraint.h:31
agxVehicle::ElementaryAckermannSteering::m_regParams
agx::RegularizationParameters m_regParams[1]
Definition:
ElementarySteeringConstraint.h:44
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
ElementaryConstraint.h
agx::UInt
uint32_t UInt
Definition:
Integer.h:34
agxVehicle::ElementaryAckermannSteering::ElementaryAckermannSteering
ElementaryAckermannSteering()
agx::Range< Real >
agx::Vec3T
A class holding 3 dimensional vectors and providing basic arithmetic.
Definition:
Vec3Template.h:45
include
agxVehicle
ElementarySteeringConstraint.h
Generated on Mon Jan 30 2023 15:44:12 for AGXDynamics by
1.8.17