|
楼主 |
发表于 2015-4-1 17:38:25
|
显示全部楼层
用LinuxCNC上手是比较难的。
所以要有一定的方法。
首先开发环境用Codeblocks。编译器用mingw就是GCC了。建一个项目,把全部文件加上去。开始编译,编译通就好办了。可以在linux下来做这个。Codeblocks是跨平台的啊。
然后模拟,要花很多时间。几个月等等。
最后的结果不会很复杂的。把全新的官网上下载核心的代码,重新加入项目只要修改以下这些:
libintl.h
rcs_print.h
rtapi_bool.h
interp_base.cc
interp_from_shlib()
interp_o_owrd.cc
66 aFile->d_type==DT_DIR
interp_python.cc
71 handle_pyerror
interp_convert.cc
3359 || motion == 386 || motion == 387 || motion == 388 || motion == 389
interp_array.cc
95
G38.6 G38.7 G38.8 G38.9
rs274ngc_pre.cc
1811 rename;remove(line);
mot_priv.h
34 #include "../motion/motion.h"
rcslib/include/posemath.h <- posemath/posemaeh.h
rcslib/include/posemath.h
333 add struct PM_XYA
stashf.c
31 #include <alloca.h>
backtrace.cc
34 backtrace function
emctask.cc
21 include <dlfn.h>
135-167 /* */ USER_DEFINED_FUNCTION_NUM
emctaskmain.cc
57 #include <sys/wait.h>
2906 timer = new RCS_TIMER(emc_task_cycle_time, NULL, (void*)NULL);
3207
3226
taskclass.cc
25 #include<sys/wait.h>
emcRunHalFiles()
usrmotintf.c
99 runMotorCycle();
不到两个小时就可以搞定了。
这样搞开始与结果都会简单的。中间过程是会难些的。
有人完全走过一遍,走通了,到后面得到也是一个简单的结果的。
|
|