虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

交流伺服<b>系统</b>

  • 在vb中用字符串的形式来处理串口协议

    在vb中用字符串的形式来处理串口协议,具有一定的通用性!本程序用来控制伺服电机,调试通过!

    标签: 字符串 串口协议

    上传时间: 2014-01-10

    上传用户:tuilp1a

  • 数字运算

    数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    标签: 数字 运算

    上传时间: 2015-05-21

    上传用户:daguda

  • 源代码用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a

    源代码\用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a,b,c依次序排列时,有13种不同的序列关系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要将n个数依序列,设计一个动态规划算法,计算出有多少种不同的序列关系, 要求算法只占用O(n),只耗时O(n*n).

    标签: lt 源代码 动态规划 序列

    上传时间: 2013-12-26

    上传用户:siguazgb

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    标签: government streamline important alphabet

    上传时间: 2015-06-09

    上传用户:weixiao99

  • CMAC网络最初主要用来求解机械手的关节运动。W.T.Miller等人把CMAC网络成功的运用到机器人的控制上

    CMAC网络最初主要用来求解机械手的关节运动。W.T.Miller等人把CMAC网络成功的运用到机器人的控制上,S.Cetinkunt等又将其运用到高精度机械工具的伺服控制。

    标签: CMAC Miller 网络 机械手

    上传时间: 2015-07-04

    上传用户:tianjinfan

  • 這是台灣鳥哥linux私房菜的電子書檔

    這是台灣鳥哥linux私房菜的電子書檔,內容是一些linux的基礎教學與架設伺服器的設定,希望大家會喜歡

    标签: linux

    上传时间: 2014-01-18

    上传用户:qq21508895

  • 在ATMEGA128单片机上开发的一个机器人控制程序

    在ATMEGA128单片机上开发的一个机器人控制程序,同时控制12个伺服马达的运动

    标签: ATMEGA 128 单片机 机器人控制

    上传时间: 2014-01-07

    上传用户:lanwei

  • 上下文无关文法(Context-Free Grammar, CFG)是一个4元组G=(V, T, S, P)

    上下文无关文法(Context-Free Grammar, CFG)是一个4元组G=(V, T, S, P),其中,V和T是不相交的有限集,S∈V,P是一组有限的产生式规则集,形如A→α,其中A∈V,且α∈(V∪T)*。V的元素称为非终结符,T的元素称为终结符,S是一个特殊的非终结符,称为文法开始符。 设G=(V, T, S, P)是一个CFG,则G产生的语言是所有可由G产生的字符串组成的集合,即L(G)={x∈T* | Sx}。一个语言L是上下文无关语言(Context-Free Language, CFL),当且仅当存在一个CFG G,使得L=L(G)。 *⇒ 例如,设文法G:S→AB A→aA|a B→bB|b 则L(G)={a^nb^m | n,m>=1} 其中非终结符都是大写字母,开始符都是S,终结符都是小写字母。

    标签: Context-Free Grammar CFG

    上传时间: 2013-12-10

    上传用户:gaojiao1999

  • dsp电机经典控制

    dsp电机经典控制,包括伺服电机的控制算法,特别事伺服电机控制

    标签: dsp 电机 控制

    上传时间: 2013-12-22

    上传用户:ma1301115706

  • GT400运动控制卡控制程序

    GT400运动控制卡控制程序,用于控制伺服电机

    标签: 400 GT 运动控制卡 控制

    上传时间: 2015-12-09

    上传用户:liansi