例程来源:TI双轴伺服驱动例程dual_axis_servo_drive_fcl_qep_f28004x
例程中的SVPWM实现代码:(fcl_cpu_code_dm.c)
void FCL_runPICtrl_M1(MOTOR_Vars_t *pMotor)
{// other code for PI control...//// Perform the inverse p…
报错如下:
Make error relocation R_X86_64_32 against .text’ can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libccd.a: error adding symbols: Bad value 仔细看一下, 可以发现, 是因为之前安装另一个库引起的, libccd, 因为FCL需要调…