CTRE Phoenix C++ 5.33.1
Platform_CCI.h File Reference
#include "ctre/phoenix/cci/CCI.h"
#include "ctre/phoenix/platform/Platform.hpp"
#include "ctre/phoenix/ErrorCode.h"
#include <stdint.h>

Go to the source code of this file.

Functions

CCIEXPORT ctre::phoenix::ErrorCode c_SimCreate (DeviceType type, int id)
 
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroy (DeviceType type, int id)
 
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroyAll ()
 
CCIEXPORT ctre::phoenix::ErrorCode c_SimSetPhysicsInput (DeviceType type, int id, std::string_view physicsType, double value)
 
CCIEXPORT ctre::phoenix::ErrorCode c_SimGetPhysicsValue (DeviceType type, int id, std::string_view physicsType, double &value)
 
CCIEXPORT ctre::phoenix::ErrorCode c_SimGetLastError (DeviceType type, int id)
 

Function Documentation

◆ c_SimCreate()

CCIEXPORT ctre::phoenix::ErrorCode c_SimCreate ( DeviceType  type,
int  id 
)

◆ c_SimDestroy()

CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroy ( DeviceType  type,
int  id 
)

◆ c_SimDestroyAll()

CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroyAll ( )

◆ c_SimGetLastError()

CCIEXPORT ctre::phoenix::ErrorCode c_SimGetLastError ( DeviceType  type,
int  id 
)

◆ c_SimGetPhysicsValue()

CCIEXPORT ctre::phoenix::ErrorCode c_SimGetPhysicsValue ( DeviceType  type,
int  id,
std::string_view  physicsType,
double &  value 
)

◆ c_SimSetPhysicsInput()

CCIEXPORT ctre::phoenix::ErrorCode c_SimSetPhysicsInput ( DeviceType  type,
int  id,
std::string_view  physicsType,
double  value 
)