使用嵌入式RTLinux OS组建机器人控制系统(1) 写于: 星期三 01 十月 @ 04:49:00 |
这是由在读于Tokyo Institute of Technology的博士生Liu Xinyu写的一篇文章,文章以机器人Quadlator II为实例,详细描述了如何使用嵌入式RTLinux OS组建机器人控制系统。全文一共分为7章。 使用嵌入式RTLinux OS组建机器人控制系统 全文介绍: 这是由在读于Tokyo Institute of Technology的博士生Liu Xinyu写的一篇文章,文章以机器人Quadlator II为实例,详细描述了如何使用嵌入式RTLinux OS组建机器人控制系统。全文一共分为7章。 第一章: assemble the basic parts and run it, access it via wireless LAN. 本网站很荣幸得到Liu Xinyu的授权,转载他的杰作,文章中所有的文字和图片版权均为原作者所有。 Quadlator II: Fig. 1 Robot Quadlator II Lay-down Fig. 2 Robot Quadlator I stand up before walking Fig. 3 Robot Quadlator II during construction Fig. 4 Quadlator II stand on the knee About Quadlator II Quadlator II will be OK soon. It comes from his older one, Quadlator I, which build about 1996 as I know. For these long years till 2003, it did not change although the technology in electronics and computer develops so fast. the new design started about May, 2003, on June 27th, a paper like 'I have a dream of such a robot....' was submit. but it still nothing. After a month I got the titech-wire embed system, CPU, DA and DIO modules. I tried many things, but failed, even using the samples in the CD-ROM with titech-wire. I got a sample program written by E.Fukushima @ hirose Lab. T.I.Tech it works. from July 6th to July 22, I enjoyed my summer vocation. when I came back to Japan, I got the latest version of titech-wire sample program updated by E. Fukushima. Here I find a new problem. The sample program is written in C++. The titech-wire is installed with RTLinux 2.2.18-rtl. but FSMLABS( The company who makes RTLinux) only provides RT-Linux 3.2/Pre for download. I tried to compile the sample programs. In user-space it is ok. but failed in Kernel-space, because of C++ is not supported. I rewrite the sample program by pure ANSI-C as a driver. but I found the RT-Linux Kernel not support for dynamic memory allocation, even I used kmalloc() or kfree(). there is no other way to write the program by only using the static memory. The last problem I met is about compiling. the program compiled under my RT-Linux 3.2/pre with Linux Kernel ver. 2.2.40 can not loaded in the 2.2.18-kernel, even I used insmod -f command. I tried to compile the program under RT-Linux 3.1/Pre with linux kernel 2.2.19. this time insmod -f works! Now, there is nothing block me, I wrote my control program, made the 12 motors rotate as I need. and the robot works well now. I will also point out some failure of Quadlator II,
参加讨论: |
共1条
1/1 1 跳转至页
使用嵌入式RTLinux OS组建机器人控制系统(1)
只看楼主 1楼
关键词: 使用 嵌入式 RTLinux 组建 机器人 控制系
共1条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图四被打赏50分 | |
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 |