Conscience Core
Classes | Typedefs | Enumerations | Functions | Variables
conscience_core::simulator Namespace Reference

Classes

class  CscPhysicsSimulator
 

Typedefs

typedef function< void(const char *, double *, unsigned long, int, int, bool)> PlayStateListener
 please see OnStatePlayed callback type for more info More...
 

Enumerations

enum  CollisionTypes {
  COL_NOTHING = 0, COL_ROBOT_MEMBERS = BIT(1), COL_FLOOR = BIT(2), COL_ENV_OBJ = BIT(3),
  COL_ENV_PLACE = BIT(4)
}
 
enum  CscMemberPhysicsModelingType { BOX = 0, WHEEL = 1, COMPLEX = 2 }
 

Functions

float shortestSignedDistanceBetweenTwoAnglesDeg (float currentAngle, float targetAngle)
 

Variables

static std::atomic< unsigned long long > lastId = 0
 

Typedef Documentation

◆ PlayStateListener

typedef function<void(const char *, double *, unsigned long, int, int, bool)> conscience_core::simulator::PlayStateListener

please see OnStatePlayed callback type for more info

Enumeration Type Documentation

◆ CollisionTypes

Enumerator
COL_NOTHING 
COL_ROBOT_MEMBERS 
COL_FLOOR 
COL_ENV_OBJ 
COL_ENV_PLACE 

◆ CscMemberPhysicsModelingType

Enumerator
BOX 
WHEEL 
COMPLEX 

Function Documentation

◆ shortestSignedDistanceBetweenTwoAnglesDeg()

float conscience_core::simulator::shortestSignedDistanceBetweenTwoAnglesDeg ( float  currentAngle,
float  targetAngle 
)

Variable Documentation

◆ lastId

std::atomic<unsigned long long> conscience_core::simulator::lastId = 0
static