找回密码
 马上注册

QQ登录

只需一步,快速开始

查看: 6399|回复: 2

移动模块(Move)的转向选项(steering)的数值怎样精确控制马达

[复制链接]
发表于 2012-8-29 09:10:44 | 显示全部楼层 |阅读模式
悬赏20乐币未解决
本帖最后由 imlucky1 于 2012-8-29 11:28 编辑

NXT-G中,移动模块(move) 有转向选项(steering) ,打开move模块的数据中心,可以往转向选项输入数值。

我猜想,输入steering的数值应该最终都通过左右两轮的power来发挥影响的。

求助:
这个steering数值具体如何影响两轮实际的power的?甚至会转出多少角度?希望有比较的精确关系。
这时move模块的power选项如何影响它们?

比如-100、+100是左转还是右转这个大家都知道,但两轮转过的度数数值大致是什么关系?

steering数字从-100变化到+100,这个关系怎么变化?


如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
 楼主| 发表于 2012-8-30 20:03:36 | 显示全部楼层
这里有人做了实验:
http://hightechkidsblog.blogspot.com/2006/05/nxt-g-move-block-steering.html#!/2006/05/nxt-g-move-block-steering.html

有看出关系和规律的吗?
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

 楼主| 发表于 2012-8-30 20:18:47 | 显示全部楼层
楼上链接好像不太好连。内容如下:

NXT-G Move Block -- Steering At the Open House, there were a lot of questions. We discussed the new NXT-G software and it's Move block.

The Move block has several settings. The most mysterious is the steering.

The steering slider has something like 16 different positions. It controls two motors at a time. The assumption is that one motor is on each side of the robot. By moving the slider, the robot will spin, pivot, arc, or go straight.


The Move block also has a data plug, which allows even more control of the slider bar by wiring in a number ( -100 to 100).

The mystery? What does it mean to set the duration of the Move block to 1000 degrees and set the steering to -50? Which wheel moves? and how far?

Here's a table created by the NXT running a NXT-G program that shows how far the b and c motors turned (in degrees):

Steering: -100 b:-1047 c: 1000

Steering: -90 b:-1048 c: 1000

Steering: -80 b:-1047 c: 1000

Steering: -70 b:-1020 c: 999

Steering: -60 b: -649 c: 1000

Steering: -50 b: -348 c: 1000

Steering: -40 b: -63 c: 1000

Steering: -30 b: +204 c: 1000

Steering: -20 b: +472 c: 1000

Steering: -10 b: +745 c: 1000

Steering: 0 b: +999 c: 999

Steering: 10 b: +999 c: 747

Steering: 20 b:+1000 c: 467

Steering: 30 b:+1000 c: 215

Steering: 40 b: +999 c: -70

Steering: 50 b: +999 c: -334

Steering: 60 b: +999 c: -631

Steering: 70 b: +999 c:-1004

Steering: 80 b:+1001 c:-1021

Steering: 90 b: +999 c:-1023

Steering: 100 b: +999 c:-1023

Well, it's not a pretty table, but you get the idea. -50 means the motors are going in opposite directions, about 1 backward to 3 forward. I expect at least one team will explain it all by next fall.
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

手机版|中文乐高 ( 桂ICP备13001575号-7 )

GMT+8, 2024-11-24 09:09 , Processed in 0.090856 second(s), 18 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表