|
Page 1 of 1
|
[ 5 posts ] |
|
Encoders not reading in RobotC 3.50
| Author |
Message |
|
TimTheMagi
Rookie
Joined: Tue Sep 18, 2012 7:30 pm Posts: 2
|
 Encoders not reading in RobotC 3.50
Hi. I've been having trouble with reading encoder counts after I updated from RobotC 3.08 to 3.50. My attached file worked with RobotC 3.08 but stopped working with RobotC 3.50. After updating, I uninstalled RobotC 3.50 and re-installed RobotC 3.08 and the program started working again. Any help would be much appreciated!
Details: With 3.50 driving with constant speed worked, but the encoders always read 0.
|
| Tue Sep 18, 2012 7:42 pm |
|
 |
|
oliver_ge
Rookie
Joined: Mon Sep 17, 2012 1:48 pm Posts: 1
|
 Re: Encoders not reading in RobotC 3.50
I experienced similar problems. I am new to RobotC. Spent a few days trying to figure out what's going on with my encoders. Looked at the encoder output from a scope and the waveforms looked fine. I added a debug line to display the encoder values on screen and the values are always "0". Finally asked another mentor to test the encoders with Labview and they worked fine.
A co-worked pointed out that the encoders were grayed out in "motors and Sensors setup" menu.
|
| Wed Sep 19, 2012 9:39 am |
|
 |
|
JohnWatson
Site Admin
Joined: Thu May 24, 2012 12:15 pm Posts: 380
|
 Re: Encoders not reading in RobotC 3.50
The encoders for TETRIX DC motors are not being handled by ROBOTC properly. This is known issue and that it will be fixed in the next patch release, which will be out shortly. I will update this post once the fix goes live. The reason the encoder boxes are checked is because even without encoders hooked up to the Motor Controller, it passes a value to the NXT (in the case of no encoders being attached, a value of 0) for the encoder ports. The upcoming fix will also allow users to enable and disable the TETRIX motor encoders manually.
Thank you for the heads up on this bug.
_________________Check out our Blog! And our Facebook page! Need help? Take a look at our Wiki and our Forums.I just met you, And this is crazy, But here's my code now, So fix it, maybe? ~ Carly Rae Jepsen parody
|
| Wed Sep 19, 2012 4:52 pm |
|
 |
|
TimTheMagi
Rookie
Joined: Tue Sep 18, 2012 7:30 pm Posts: 2
|
 Re: Encoders not reading in RobotC 3.50
Thanks for your help!
|
| Fri Sep 21, 2012 8:00 am |
|
 |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
 Re: Encoders not reading in RobotC 3.50
This issue is resolved in ROBOTC 3.51!
Thanks!
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
| Sat Sep 22, 2012 8:29 pm |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|