View unanswered posts | View active topics It is currently Sun Nov 23, 2014 5:55 am






Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
ROBOTC 4.09 Beta 1 (EV3 Support) Available Now! 
Author Message
Rookie
User avatar

Joined: Thu Feb 23, 2012 6:24 pm
Posts: 10
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hi KeesSmit,

Thanks for the followup.

Hopefully the next version will come soon­.


Tue Jun 10, 2014 8:19 pm
Profile
Rookie
User avatar

Joined: Thu Feb 23, 2012 6:24 pm
Posts: 10
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Of all the things...

I never thought I would see that again :

**Severe*:Out of static memory for variable allocation.

I'm sure I don't even use 20k of space for my variables... With the EV3, can I know what is the maximum static memory we can use?

Thanks,

Frederic


Mon Jun 16, 2014 12:32 pm
Profile
Rookie

Joined: Tue Feb 21, 2012 12:38 pm
Posts: 7
Location: Paris, France
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hi all,

I'm new user of EV3. I used to program with RobotC 2.x on my NXT bricks.
After following tutorial, it's quite easy to use but some bugs are still there (I know, it's only a beta version but it's useful to say to fix them for the official version).
First of all, I can't use RCX touch sensor. It works with NXT Touch sensor but not for RCX one. It worked with NXT and RobotC 2.x
Then PlaySound and PlayTone functions don't work. It's clearly not the most important :-)
Another thing more important for me about variables windows : I can't see any local variables, even in the good window (nothing appears), and it's impossible to modify values of global variables. When I try it, the brick is locked, I must remove battery, and restart RobotC.
Last thing is about "short" variables
Code:
short my_var= 0;
task main()
{
   while(1)
   {
      my_var = my_var +1;
      writeDebugStreamLine("my_var = %d",my_var);
      sleep(1000);
   }
   return;
}

gives
Code:
my_var = 256
my_var = 512
my_var = 768
my_var = 1024
my_var = 1280
my_var = 1536

Behaviour is OK is int is used intead of short.

For now, everything else is working well :-)

I am using RObotC 4.10 F/W 10.10 on a VM WinXP running on Ubuntu.

_________________
Bichon, Brickstory team for Eurobot


Tue Jul 01, 2014 1:21 pm
Profile WWW
Rookie

Joined: Thu Mar 13, 2014 6:12 am
Posts: 18
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hello,

I haven't tried downloading to my nxt, but when I compile my programme, any errors that I have previously had occur in the programme!
E.g. I do the code:
Code:
motr(motorB) = 0;

And I get the errors:

**Error**:Undefined procedure 'motr'.
*Warning*:Invalid '=' operation for types 'void' and 'char'

Nothing wrong about that. If I fix the code to:
Code:
motor(motorB) = 0;

I get the same errors! Also, if I create a completely new programme (even if I've restarted my computer or RobotC), when I compile it, I get the errors that I got from the "motr(motorB) = 0;" mistake, even though it was in a different programme!

I am using a Windows 7 Home Prem Edition, RobotC 4.09 Beta 1 set to NXT.


Sat Jul 19, 2014 12:10 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3289
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
PACTeam,

It should be motor[] with square brackets, it's a variable, not a function.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sat Jul 19, 2014 9:59 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3289
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Frederic wrote:
I'm sure I don't even use 20k of space for my variables... With the EV3, can I know what is the maximum static memory we can use?

I don't think the memory heap has been changed significantly for the EV3, compared to the NXT. It's probably something that will be addressed at some point, though, but may require a fair bit of work on the internal VM side of things.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sat Jul 19, 2014 10:02 am
Profile WWW
Rookie

Joined: Mon Jul 21, 2014 8:50 am
Posts: 1
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
I am “playing” with the code od RobotC 4.10 for EV3 and found that there is a problem (is it?) with the interpretation of the variable with wait1Msec(). When inserting the direct value e.g. wait1Msec(70); It works fine but when the variable e.g. ‘watime’ is inserted then the read time is extended for x times of the value - almost infinity.

Here is the example:

Code:
#define motorLevi motorB
#define motorDesni motorC

int watime = 70;

task main()
{
    motor[motorLevi] = 100;
    motor[motorDesni] = 100;
    wait1Msec(watime);

}




Any logical explanation please?


Mon Jul 21, 2014 9:31 am
Profile
Rookie

Joined: Thu Mar 13, 2014 6:12 am
Posts: 18
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Xander,

Sorry if this is offensive, but that was an example. ANY error I make, even if I fix it, turns up in the 'error list', not just that one!


Mon Jul 21, 2014 10:18 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3289
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
PACTeam,

Please give me an example of a complete program that you are having issues with. not just a single statement.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Tue Jul 22, 2014 12:15 am
Profile WWW
Rookie

Joined: Sun Jul 20, 2014 6:56 pm
Posts: 6
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hey bety,

I've had the same problem here with #define and even "const int". Value works, but compiler directive doesn't.

-JD


Wed Jul 23, 2014 8:25 pm
Profile
Rookie

Joined: Thu May 16, 2013 1:08 pm
Posts: 3
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
I have downloaded the new 4.1, and I am excited to try it out on the EV3! I noticed as I was playing around with it that it says Natural Language is not currently supported. Anybody have a guess on when/if this will be added?


Thu Jul 31, 2014 11:30 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3289
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
robotbambi wrote:
I have downloaded the new 4.1, and I am excited to try it out on the EV3! I noticed as I was playing around with it that it says Natural Language is not currently supported. Anybody have a guess on when/if this will be added?

I know it's being tested in teachers classes, so maybe for the next release :)

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Aug 01, 2014 4:18 am
Profile WWW
Rookie

Joined: Thu May 16, 2013 1:08 pm
Posts: 3
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Thanks!


Sun Aug 03, 2014 10:43 am
Profile
Rookie

Joined: Fri Sep 20, 2013 8:39 am
Posts: 35
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Looking forward to the update - any estimates as to when it is likely to be released


Sun Aug 03, 2014 5:58 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3289
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
RSN™ (Real Soon Now)!

In all seriousness, I believe that a production release is due in about 2 weeks or so. I'll ask about a beta release in the mean time.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Aug 04, 2014 3:23 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.