View unanswered posts | View active topics It is currently Wed Nov 26, 2014 5:42 pm






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

Joined: Wed Jan 24, 2007 10:42 am
Posts: 614
Post ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
The ROBOTC development team is happy to finally have a first BETA version of ROBOTC for LEGO Mindstorms with support for the EV3 available. This version is what we would call a “rough beta” version, but we’re happy enough with the progress made to make a version available for everyone to use. You will be able to install the 4.X Beta version alongside your ROBOTC 3.x installation, but keep in mind that this 4.X version will overwrite any other existing ROBOTC 4.X installation.

You can download the BETA version by visiting: http://www.robotc.net/download/lego (Website may not be available yet)
Direct File Download: http://downloads.robotc.net/lego/ROBOTCforLEGOMindstorms_409_Beta1.exe

Before you can use ROBOTC for EV3, you will need to update your EV3's Firmware. You can do this from inside of ROBOTC - take a look at the "Getting Started" guide for more information.

During the development process, we’ll be planning to release updates every 1-2 weeks with more functionality exposed with each update. For BETA #1, you can expect the following:

Functionality Available:
    • General Motor Support (unregulated movements)
    • PID Motor Support (regulated movements)
    • Encoder Support (reading encoders + moving to encoder targets)
    • Full EV3 Sensor Support
    • Limited NXT Device Support (basic sensors + motors)
    • EV3 LED Support
    • Normal ROBOTC features - Debugger, Multitasking, Variables, Debug Stream, etc.

Functionality Missing/Still in Development:
    • Multiple Datasets for certain EV3 sensors (like Rate/Heading for Gyro)
    • I2C / External Controller (TETRIX, MATRIX) Support
    • LCD support (drawing/printing text)
    • EV3 specific features (buttons, sounds)
    • Bluetooth/Wifi specific commands
    • Daisy Chaining EV3's together and using daisy chained motors/sensors
    • Downloading via Bluetooth/WiFi

We’ve also created some Google Docs to offer some dynamic documentation as we continue to develop more support for the EV3. You can access the documents with the following links:

EV3 Getting Started Guide:
https://docs.google.com/document/d/1R9nM82rLr2rI0zt1UD6wHxAdTi5W8bJCmVdhd121hNE/edit?usp=sharing

EV3 Function Reference:
https://docs.google.com/document/d/1mBvLsBBZ2qigexV9Ivk_J_KAjU9ez_pbwhkif9Layso/edit?usp=sharing

Creating a bootable microSD card:
https://docs.google.com/document/d/1a9vAXeq4w74jULWEtatifx9_JucSM68CDL2jeEcPaa0/edit?usp=sharing

We’ll also be keeping a list of known issues/reported issues on a separate document.

EV3 Known Issues/Bugs:
https://docs.google.com/document/d/1mz-ffKBfoRLwQJru77Fg2yt083Ks4GWBuJdTxRNUHkc/edit?usp=sharing

Please post any bug reports/issues that you do not see on the “Known Issues” document to this specific topic thread.

Thanks for trying out the EV3 version – we’re excited to continue developing it and making one of the best programming language available for the EV3 hardware!

Edited 23-Apr-2014 by Xander to add microSD card creation document link.

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Tue Apr 22, 2014 4:13 pm
Profile
Rookie

Joined: Tue Apr 22, 2014 7:49 pm
Posts: 2
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Thanks guys! I'm really looking forward to using ROBOTC on my EV3s :D

I'm totally new here, but wait1Msec seems to be running 10 times too long. i.e. a value of 1000 waits 10 seconds.

Cheers,
Tomaocron


Tue Apr 22, 2014 7:56 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 614
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Try "sleep(1000);" and let me know if that also has an issue. I haven't seen this one yet. Might you be using wait10msec?

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Tue Apr 22, 2014 9:14 pm
Profile
Rookie

Joined: Sun Sep 08, 2013 12:09 am
Posts: 12
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
I am using a NXT motor on ev3. I setup the motors and sensor accordingly but when thew programs starts the motor will initialise itself to a fix position.

this only happen when i am trying to use step into


Tue Apr 22, 2014 11:26 pm
Profile
Rookie

Joined: Tue Apr 22, 2014 7:49 pm
Posts: 2
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Yup, I'm definitely using wait1Msec. And sleep(1000) goes on for 10 seconds too. I tried sleep(100) and it lasts one second. :crying:


Tue Apr 22, 2014 11:34 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
A question: I really want to try the new RobotC for EV3 but my team has scheduled a demo event that involves demoing the EV3 GyroBoy. Since I am not sure my GyroBoy RobotC port will work, I am hesitant to flash the firmware to RobotC 4.x. Is there a way to go back to LabView firmware if I need to?


Wed Apr 23, 2014 1:47 am
Profile
Rookie

Joined: Wed Apr 23, 2014 1:55 am
Posts: 2
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Hello,

Great, it works !

MHTS:
Yes, you can reflash your brick with the original firmware, with the Lego software.
Alternatively, you can use a micro SD card with the RobotC firmware to boot on. Look for EV3LinuxImage_105X.raw.bz2 in the Firmware subdirectory, expand it and copy it on a 4GB (or more) micro SD with Win32diskimager (Windows) or dd if=EV3LinuxImage_105X.raw of=/dev/XXX (Mac OS X / Linux, XXX depends on your system).


Wed Apr 23, 2014 2:19 am
Profile
Rookie

Joined: Sun Sep 08, 2013 12:09 am
Posts: 12
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
Tomaocron wrote:
Yup, I'm definitely using wait1Msec. And sleep(1000) goes on for 10 seconds too. I tried sleep(100) and it lasts one second. :crying:


i got the same problem too


tim what's this about? i get it when my robot is trying to compute equations

Exception Error in User Program:

Exception Type: 'Invalid opcode(75)'

Program Slot: 0, Task ID: main[0]
Error at PC: collectionorbit+0x0097
TaskState: 'Exception'


Exception Details: Opcode 0x7F


Wed Apr 23, 2014 2:31 am
Profile
Moderator
Moderator
User avatar

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

Without the code, it is impossible to see why it would be doing that.

= 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]


Wed Apr 23, 2014 2:54 am
Profile WWW
Rookie

Joined: Sun Sep 08, 2013 12:09 am
Posts: 12
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
mightor wrote:
Auggie,

Without the code, it is impossible to see why it would be doing that.

= Xander


if(SensorValue[Color]==0)
{
light2=SensorValue[Line];
movevalueB=20-((light2-light1)*0.75); //20 // 29.75
movevalueC=((light2-light1)*0.75)+20; //20 // 10.25
motor[Left] = movevalueC;
motor[Right] = movevalueB;
}

this is just the part where step into says the error started. when it computes moveValueB=, it 'crash' and gave that error

another critical bug found. EV3 Color Sensor mode can't be change. At Motor and Sensor page, i change Color(EV3) to Color detection mode, when i click apply, the pragma is still the same and when i go back into the setup page again, it changed back to reflected. Is there anyway I can manually type the code for Color mode?


Wed Apr 23, 2014 3:11 am
Profile
Moderator
Moderator
User avatar

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

The sensor setup issue is in the known issues list. You should read it: http://goo.gl/ldJux6

As for the code, next time, please post a working piece of code that reproduces the issue. If I have to add code to it to make it work, then it may not accurately reproduce your issue.

The code below works fine, so math is not broken:
Code:
int light1 = 0;
int light2 = 0;
int movevalueB = 0;
int movevalueC = 0;
   
task main()
{
   light2=60;
   movevalueB=20-((light2-light1)*0.75); //20 // 29.75
   movevalueC=((light2-light1)*0.75)+20; //20 // 10.25
   while (true) sleep(1);
}

= 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]


Wed Apr 23, 2014 3:53 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3293
Location: Rotterdam, The Netherlands
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
If you want to configure a colour sensor as an actual sensor for colour, take a look at the samples in the sample folder. Go to File->Open Sample Program

_________________
| 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]


Wed Apr 23, 2014 3:54 am
Profile WWW
Rookie

Joined: Sun Sep 08, 2013 12:09 am
Posts: 12
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
mightor wrote:
If you want to configure a colour sensor as an actual sensor for colour, take a look at the samples in the sample folder. Go to File->Open Sample Program


EDIT: nthing


Wed Apr 23, 2014 4:33 am
Profile
Rookie

Joined: Wed Apr 23, 2014 4:56 am
Posts: 2
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
RobotC immediately crashes any time it tries to access the EV3 (flashing the firmware, pinging, downloading code, ...) brick in a vmware virtual machine. I tried this on vmware workstation 10.02 and (more importantly) on vmware fusion 6.03. Both times I used Windows 8.1 32 bit as guest OS. I would really appreciate if I could use RobotC for EV3 on my Mac using a VM.


Wed Apr 23, 2014 5:11 am
Profile
Rookie

Joined: Wed Apr 23, 2014 1:55 am
Posts: 2
Post Re: ROBOTC 4.09 Beta 1 (EV3 Support) Available Now!
barsuhn wrote:
RobotC immediately crashes any time it tries to access the EV3 (flashing the firmware, pinging, downloading code, ...) brick in a vmware virtual machine. I tried this on vmware workstation 10.02 and (more importantly) on vmware fusion 6.03. Both times I used Windows 8.1 32 bit as guest OS. I would really appreciate if I could use RobotC for EV3 on my Mac using a VM.


Hello, I have successfully used RobotC 4.09 on my Macbook with Windows XP running into a VirtualBox VM. I just have added the "LEGO Group EV3 [0216]" device in the USB filter list.


Wed Apr 23, 2014 6:22 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 77 posts ]  Go to page 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.