ROBOTC.net forums
http://www.robotc.net/forums/

ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
http://www.robotc.net/forums/viewtopic.php?f=1&t=8577
Page 5 of 5

Author:  Frederic [ Tue Jun 10, 2014 8:19 pm ]
Post subject:  Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!

Hi KeesSmit,

Thanks for the followup.

Hopefully the next version will come soon­.

Author:  Frederic [ Mon Jun 16, 2014 12:32 pm ]
Post subject:  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

Author:  Bichon [ Tue Jul 01, 2014 1:21 pm ]
Post subject:  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.

Author:  mightor [ Sat Jul 19, 2014 9:59 am ]
Post subject:  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

Author:  mightor [ Sat Jul 19, 2014 10:02 am ]
Post subject:  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

Author:  bety [ Mon Jul 21, 2014 9:31 am ]
Post subject:  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?

Author:  mightor [ Tue Jul 22, 2014 12:15 am ]
Post subject:  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

Author:  jerrykern [ Wed Jul 23, 2014 8:25 pm ]
Post subject:  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

Author:  robotbambi [ Thu Jul 31, 2014 11:30 am ]
Post subject:  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?

Author:  mightor [ Fri Aug 01, 2014 4:18 am ]
Post subject:  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

Author:  robotbambi [ Sun Aug 03, 2014 10:43 am ]
Post subject:  Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!

Thanks!

Author:  Sirius [ Sun Aug 03, 2014 5:58 pm ]
Post subject:  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

Author:  mightor [ Mon Aug 04, 2014 3:23 am ]
Post subject:  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

Author:  skatefriday [ Mon Aug 04, 2014 5:16 pm ]
Post subject:  Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!

Anybody have any idea of any of these features made
it into 4.x?

viewtopic.php?f=1&t=5245

And does the upcoming release have full support for the NXT?

Author:  mightor [ Mon Aug 04, 2014 11:43 pm ]
Post subject:  Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!

Quote:
1) We have a bunch of programs for a single robot that has a rather complex set of motors and sensors. It would be really useful to be able to put the pragmas in a header file and then just reference the header file as the first thing in all our robot programs.

This has been implemented.

Quote:
2) An ability to disable the auto-compile when opening a file. This should be disabled by default.

I could not find an option to disable this. I'll ask.

Quote:
3) Projects! Multiple .c files that all compile into one executable. I'd like to be able to teach my kids how to do things and organize software the way the rest of the industry does.

This has not been implemented.

The new release will, of course, support the NXT :)

= Xander

Page 5 of 5 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/