Loading [MathJax]/extensions/tex2jax.js
CTRE Phoenix C++
5.35.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Enumerations
a
c
d
e
f
g
i
l
m
n
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
f
g
i
l
m
n
o
p
q
r
s
t
u
Related Symbols
Files
File List
File Members
All
c
d
g
i
j
k
l
m
p
s
t
w
Functions
c
j
p
t
Variables
Macros
▼
CTRE Phoenix C++
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
►
ctre
▼
ctre
▼
phoenix
▼
cci
►
BuffTrajPointStream_CCI.h
►
CANCoder_CCI.h
►
CANdle_CCI.h
►
CANifier_CCI.h
►
Logger_CCI.h
►
MotController_CCI.h
►
Orchestra_CCI.h
►
PDP_CCI.h
►
PigeonIMU_CCI.h
►
Platform_CCI.h
►
PlatformCAN_CCI.h
►
Unmanaged_CCI.h
►
core
►
jni
►
led
►
motion
►
motorcontrol
►
sensors
►
string_util
►
autocache.h
►
CANifierControlFrame.h
►
CANifierFaults.h
►
CANifierStatusFrame.h
►
CANifierStickyFaults.h
►
CANifierVelocityMeasPeriod.h
►
paramEnum.h
►
ctre
►
ctre
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
Platform_CCI.h
Go to the documentation of this file.
1
/* Copyright (C) Cross The Road Electronics 2024 */
2
#pragma once
3
4
#include "
ctre/phoenix/cci/CCI.h
"
5
#include "ctre/phoenix/platform/Platform.hpp"
6
#include "
ctre/phoenix/ErrorCode.h
"
7
#include <stdint.h>
8
9
using namespace
ctre::phoenix::platform
;
10
11
extern
"C"
{
12
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimCreate
(DeviceType type,
int
id
);
13
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimDestroy
(DeviceType type,
int
id
);
14
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimDestroyAll
();
15
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimSetPhysicsInput
(DeviceType type,
int
id
, std::string_view physicsType,
double
value);
16
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimGetPhysicsValue
(DeviceType type,
int
id
, std::string_view physicsType,
double
&value);
17
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimGetLastError
(DeviceType type,
int
id
);
18
}
CCI.h
CCIEXPORT
#define CCIEXPORT
Definition
CCI.h:10
ErrorCode.h
c_SimSetPhysicsInput
CCIEXPORT ctre::phoenix::ErrorCode c_SimSetPhysicsInput(DeviceType type, int id, std::string_view physicsType, double value)
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_SimDestroyAll
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroyAll()
c_SimDestroy
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroy(DeviceType type, int id)
c_SimCreate
CCIEXPORT ctre::phoenix::ErrorCode c_SimCreate(DeviceType type, int id)
ctre::phoenix::platform
platform namespace
Definition
PlatformCAN.h:7
ctre::phoenix::ErrorCode
ErrorCode
Definition
ErrorCode.h:13
ctre
phoenix
cci
Platform_CCI.h
Generated by
1.12.0