It is currently Fri Sep 10, 2010 7:40 am







Post new topic Reply to topic  [ 12 posts ] 
ROBOTC FOR MINDSTORMS 2.0.2 RELEASED 
Author Message
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 361
Post ROBOTC FOR MINDSTORMS 2.0.2 RELEASED
We're gearing up to release 2.00 in a few more days, but I wanted to post a release of 2.00 in a Preview form for everyone to try out over the weekend.
http://robotc.net/downloads/ROBOTCforMindstorms_200_Preview.exe

Licensing:
- Your 1.x license is good for 2.0. There will be no upgrade fee for 1.0 users upgrading to 2.0.

Not in 2.0:
- NXT Color Sensor Support - It's coming soon after 2.00 is out the door. (2-4 weeks after)
- RS-485 support - Probably a 2.5 release target
- Robot to Multi-Robot communication over BT - 2.5 or 3.0 release target.

Our current To-Do list:
Add more documentation - Unreferenced Functions - Note Tasks and Function limits (20,140)
Clean up FTC folder of Sample Programs
Update Start Page Update for 2.00
Update What's new - ROBOTC HTML document
Joystick *misconfigured* error box - harmless, but annoying.
Read-Only Flag on Sample Programs
Clean up a few screens/text boxes

If you find any bugs/issues - please keep them in this thread or e-mail them to support@robotc.net

- Tim

_________________
Timothy Friez
ROBOTC Dev Team - Testing/Support
tfriez@rec.ri.cmu.edu


Fri Oct 30, 2009 4:51 pm
Profile
Rookie

Joined: Tue Nov 03, 2009 4:16 pm
Posts: 7
Post Re: ROBOTC for Mindstorms 2.00 Preview
A potential bug : When I use 'nxtDisplayString' it displays the text as BIG, whereas 'nxtDisplayStringAt' shows it as standard.
Version : RobotC 2.00 (785) Oct 30, 2009


Sun Nov 08, 2009 3:16 pm
Profile E-mail
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 1334
Location: Rotterdam, The Netherlands
Post Re: ROBOTC for Mindstorms 2.00 Preview
BlueHaze wrote:
A potential bug : When I use 'nxtDisplayString' it displays the text as BIG, whereas 'nxtDisplayStringAt' shows it as standard.
Version : ROBOTC 2.00 (785) Oct 30, 2009

I can confirm this with
Code:
task main () {
  string baz = "foo";
  nxtDisplayString(3, baz);
  nxtDisplayStringAt(40, 50, baz);
  while(true);
}


Xander

_________________
| Spanish Siamese twins for sale. Buy Juan get Juan free. Call now!
| My Blog: I'd Rather Be Building Robots
| RobotC 3rd Party Driver Suite: [Project Page]
|
| Do not send me PMs with questions, create a forum thread instead


Sun Nov 08, 2009 3:20 pm
Profile WWW
Rookie

Joined: Tue Nov 03, 2009 4:16 pm
Posts: 7
Post Re: ROBOTC for Mindstorms 2.00 Preview
Not sure if it is a bug or a coding error or a logical error, but you might also want to take a look at this post : viewtopic.php?f=8&t=1925
As if the synchronisation of the two engines doesn't work properly when you change the speed. Also not sure why the robot does not stop when you put the power on zero and do something else after it (like play a sound)

KR, BlueHaze


Mon Nov 09, 2009 5:02 am
Profile E-mail
Rookie

Joined: Tue Nov 10, 2009 3:00 am
Posts: 2
Post Re: ROBOTC for Mindstorms 2.00 Preview
I was hoping this was fixed with version 2.0. Sometimes the IDE crashes when a c program is compiled. This is super frustrating to me not to say how frustrating it is for students learning to program. Here are the steps to re-create the crash every time:

open sample program Motors with For Loops Tetrix.c (default loaded because it was the last open program)
open sample program Motors with While Loops Tetrix.c
recompile progam Motors with While Loops Tetrix.c
close above Motors with While Loops Tetrix.c
recompile with Motors with For Loops Tetrix.c

crashes...


simplified:
open sample program Motors with For Loops Tetrix.c (default loaded because it was the last open program)
open sample program Motors with While Loops Tetrix.c
close sample program Motors with While Loops Tetrix.c
recompile with Motors with For Loops Tetrix.c

crashes

Windows Vista Home Premium
Version 6.0 (Build 6001: Service Pack 1)

Robotc for mindstorms 2.0 Preview

same with RobotC for mindstorms 1.93

I have seen the crash with Windows XP as well although I haven't verified the above steps to recreate.

Any plans on fixing this?


Tue Nov 10, 2009 3:07 am
Profile E-mail
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 361
Post Re: ROBOTC for Mindstorms 2.00 Preview
That crashing issue has been reproduced with 1.93, but not with 2.00.

I just tried it on XP, VISTA and Win7 and could not reproduce.

_________________
Timothy Friez
ROBOTC Dev Team - Testing/Support
tfriez@rec.ri.cmu.edu


Tue Nov 10, 2009 3:15 pm
Profile
Rookie

Joined: Tue Nov 10, 2009 3:00 am
Posts: 2
Post Re: ROBOTC for Mindstorms 2.00 Preview
Do you think I need to clear out the registry? I did not do this when I installed 2.0.


Tue Nov 10, 2009 6:42 pm
Profile E-mail
Expert
User avatar

Joined: Mon Oct 06, 2008 6:30 pm
Posts: 131
Location: Netherlands
Post Re: ROBOTC for Mindstorms 2.00 Preview
Hi,

I've been using v2.00 for one week very frequently.
There is one exception violation that keeps coming back. The Exception type is 'Float to short conversion out of range(35). It always happens at the same program statement: Motor[MotorA]=rightSpeed;
The variable rightSpeed is an integer. The motor is under PID control. It always happens when there is quite a lot of strain on the motor, for example when it changes direction or when something gets stuck in the drive train. I don't know if the value of rightSpeed has any influence on the error.

I am quite sure this error is not in my program as there are no type conversions in this program statement. I suspect the error is somewhere in the PID algorithm.

_________________
My most recent blog: Kalman filter, a few difficulties


Wed Nov 11, 2009 5:40 pm
Profile E-mail WWW
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 548
Post Re: ROBOTC for Mindstorms 2.00 Preview
Aswin wrote:
Hi,

I've been using v2.00 for one week very frequently.
There is one exception violation that keeps coming back. The Exception type is 'Float to short conversion out of range(35). It always happens at the same program statement: Motor[MotorA]=rightSpeed;
The variable rightSpeed is an integer. The motor is under PID control. It always happens when there is quite a lot of strain on the motor, for example when it changes direction or when something gets stuck in the drive train. I don't know if the value of rightSpeed has any influence on the error.

I am quite sure this error is not in my program as there are no type conversions in this program statement. I suspect the error is somewhere in the PID algorithm.

Generally by the time an exception is thrown, the firmware PC ("Program Counter") has already moved to the next instruction. So the exceptiion reports on the instruction following the instruction that caused the exception. Best to post your complete program if you want help with this.


Tue Dec 01, 2009 4:49 pm
Profile
Rookie
User avatar

Joined: Wed Feb 21, 2007 12:23 am
Posts: 34
Location: Walla Walla, WA
Post Re: ROBOTC for Mindstorms 2.00 Preview
What's the ETA on an official 2.0 release? I have to prep for a class I'm teaching next semester and wondering if I should start planning with the Preview, or wait a couple of weeks for the official. Thanks,

Albert


Sun Dec 13, 2009 3:22 pm
Profile E-mail WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 1334
Location: Rotterdam, The Netherlands
Post Re: ROBOTC for Mindstorms 2.00 Preview
Albert,

2.0.1 is out, you can download it here: http://www.robotc.net/download/nxt/

Xander

_________________
| Spanish Siamese twins for sale. Buy Juan get Juan free. Call now!
| My Blog: I'd Rather Be Building Robots
| RobotC 3rd Party Driver Suite: [Project Page]
|
| Do not send me PMs with questions, create a forum thread instead


Sun Dec 13, 2009 3:43 pm
Profile WWW
Rookie
User avatar

Joined: Wed Feb 21, 2007 12:23 am
Posts: 34
Location: Walla Walla, WA
Post Re: ROBOTC for Mindstorms 2.00 Preview
Thank Xander, totally missed the release announcement. Nice to do my planning with the official version 2 instead of the preview.

A


Mon Dec 14, 2009 6:43 pm
Profile E-mail WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  



Powered by phpBB © phpBB Group.