 | | Re: straight line differential drive code
|
|
(...) I built a project to do just what you want. In a tracked vehicle I have each track driven by a separate motor and each also drives one side of a 'differential' but in opposite directions. If both motors run exactly the same speed the sum is (...) (19 years ago, 2-Jan-07, to lugnet.robotics)
|
| |
 | | Re: NBC Control of RCX Sensors
|
|
(...) The RCX sensor itself does not work without activating its LED. IN_TYPE_REFLECTION is the mode you should use with it (IN_TYPE_LIGHT_INACTIVE and IN_TYPE_LIGHT_ACTIVE are for NXT light sensor). As you noticed, the RCX light sensor has some (...) (19 years ago, 2-Jan-07, to lugnet.robotics.nxt)
|
| |
 | | Re: NBC Control of RCX Sensors
|
|
Another observation. It seems that the IN_TYPE_LIGHT_INACTIVE is really not meant to be used with the RCX light sensor. There is very little sensitivity with this setting. The IN_TYPE_REFLECTION setting is much more sensitive. Too bad that we lost (...) (19 years ago, 2-Jan-07, to lugnet.robotics.nxt)
|
| |
 | | Re: NBC Control of RCX Sensors
|
|
OK, I answered my own question. I just needed to set the sensor type to: IN_TYPE_LIGHT_INACTIVE for RCX light sensor with the LED ON IN_TYPE_REFLECTION for RCX light sensor with the LED OFF (19 years ago, 2-Jan-07, to lugnet.robotics.nxt)
|
| |
 | | NBC Control of RCX Sensors
|
|
Has anyone tried to control the RCX sensors with NBC? I have the converter cable and hooked up my RCX light sensor, but only got back readings of 53 (percent full scale). I used the NBC SetSensorLight command which should set the sensor to turn on (...) (19 years ago, 2-Jan-07, to lugnet.robotics.nxt)
|
| |
 | | Re: How to implement continuous drive with NXT motors?
|
|
I am not a NXT-G expert. I'm a programmer, so I moved to NBC pretty quickly. It's much easier for me to do things in a language than with graphics (not to mention the programs are 1/10 the size of NXT-G). Good Luck! David (19 years ago, 1-Jan-07, to lugnet.robotics.nxt)
|
| |
 | | Re: How to implement continuous drive with NXT motors?
|
|
"David Wallace" <dww.robotics@gmail.com> skrev i en meddelelse news:JB3HDF.3EL@lugnet.com... (...) I suppose you have to make the change between drive direction blocks by means of some "until sensor actuated" block, then? This was my very first (...) (19 years ago, 1-Jan-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Connect BT devices to the NXT without a passkey?
|
|
In article <JAynn0.90L@lugnet.com>, Jordan Bradford <jordan_bradfordREMO VE_THIS_SPAM_THINGY@...tmail.com> writes (...) I have not tried this, but I would expect it to work. (...) Alas, this will not work. Bluetooth is just a means of carrying (...) (19 years ago, 31-Dec-06, to lugnet.robotics.nxt)
|
| |
 | | Re: straight line differential drive code
|
|
(...) Just one rotation sensor. The differential gives you the difference (hence the name) of the two sides. If it's zero, you're driving straight. A positive rotation means you are turning one way, and negative is the other. It's not pseudocode, (...) (19 years ago, 31-Dec-06, to lugnet.robotics)
|
| |
 | | straight line differential drive code
|
|
Does anyone have some RCX code to make a simple differential drive (2 independent motor/wheel combinations) with 2 rotation sensors drive straight. I'm sure it's been done many, many times before and I don't want to reinvent the wheel here. NQC or (...) (19 years ago, 31-Dec-06, to lugnet.robotics)
|