仓库提交练习
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
466 B

#ifndef MAIN
#include "robot.h"
#include "wheel_if.h"
#include "swing_if.h"
#include "controller_if.h"
#ifndef A_BUILD_MAIN_AS_STATIC_LIB
int main(int argc, const char *argv[])
{
RB_INIT();
int iRet = RobotInit();
if (iRet != RB_SUCCESS)
{
return iRet;
}
int i = 3;
while(i--)
{
RobotProc();
ControllerDisplayPressure(SwingArmGetParam());
SwingArmWork();
}
return 0;
}
#endif
#endif