WPILib 2012
WPILibRoboticsLibraryforFRC
CInterfaces/CJaguar.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2008. All Rights Reserved.                                                         */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef C_JAGUAR_H
00008 #define C_JAGUAR_H
00009 
00010 void SetJaguarSpeed(UINT32 module, UINT32 channel, float speed);
00011 void SetJaguarSpeed(UINT32 channel, float speed);
00012 void SetJaguarRaw(UINT32 channel, UINT8 value);
00013 UINT8 GetJaguarRaw(UINT32 channel);
00014 void SetJaguarRaw(UINT32 module, UINT32 channel, UINT8 value);
00015 UINT8 GetJaguarRaw(UINT32 module, UINT32 channel);
00016 void DeleteJaguar(UINT32 module, UINT32 channel);
00017 void DeleteJaguar(UINT32 channel);
00018 
00019 typedef void *JaguarObject;
00020 
00021 JaguarObject CreateJaguar(UINT32 module, UINT32 channel);
00022 JaguarObject CreateJaguar(UINT32 channel);
00023 void SetJaguarRaw(JaguarObject o, UINT8 value);
00024 void SetJaguarSpeed(JaguarObject o, float speed);
00025 UINT8 GetJaguarRaw(JaguarObject o);
00026 void DeleteJaguar(JaguarObject o);
00027 
00028 #endif
00029 
 All Classes Functions Variables