mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Tested analog PID in Java and C++. Changed to default to controlEnabled. Loosely wrapped a bunch of CanTalonSRX functions in Java. Change-Id: I9da380e2368d9a72f08be4434ac63b5710a9f90f
16 lines
389 B
OpenEdge ABL
16 lines
389 B
OpenEdge ABL
%module CanTalon
|
|
%{
|
|
#include "ctre/CanTalonSRX.h"
|
|
%}
|
|
|
|
%include "cpointer.i"
|
|
%pointer_functions(double, doublep);
|
|
%pointer_functions(int, intp);
|
|
%pointer_functions(uint32_t, uint32_tp);
|
|
%pointer_functions(int32_t, int32_tp);
|
|
%pointer_functions(uint8_t, uint8_tp);
|
|
%pointer_functions(CTR_Code, CTR_Codep);
|
|
%pointer_functions(float, floatp);
|
|
%include "CtreCanNode.h"
|
|
%include "CanTalonSRX.h"
|