使用嵌入式RTLinux OS组建机器人控制系统(1) 写于: 星期三 01 十月 @ 04:49:00 |
![]() ![]() 使用嵌入式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电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【我踩过的那些坑】结构堵孔导致的喇叭无声问题被打赏50分 | |
【我踩过的那些坑】分享一下调试一款AD芯片的遇到的“坑”被打赏50分 | |
电流检测模块MAX4080S被打赏10分 | |
【我踩过的那些坑】calloc和malloc错误使用导致跑飞问题排查被打赏50分 | |
多组DCTODC电源方案被打赏50分 | |
【我踩过的那些坑】STM32cubeMX软件的使用过程中的“坑”被打赏50分 | |
新手必看!C语言精华知识:表驱动法被打赏50分 | |
【我踩过的那些坑】杜绑线问题被打赏50分 | |
【我踩过的那些坑】STM32的硬件通讯调试过程的“坑”被打赏50分 | |
【我踩过的那些坑】晶振使用的问题被打赏100分 |