View unanswered posts | View active topics It is currently Wed Oct 22, 2014 6:28 pm






Reply to topic  [ 76 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
RobotC for EV3 
Author Message
Rookie
User avatar

Joined: Wed Apr 02, 2014 5:40 pm
Posts: 2
Post Re: RobotC for EV3
Wonderful news !! please keep us posted. :D


Wed Apr 02, 2014 5:44 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: RobotC for EV3
That's exciting. When's the beta ready?


Wed Apr 02, 2014 6:50 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: RobotC for EV3
We're hoping to have motors and sensors running in basic (non I2C devices) within the next couple of days. Assuming we get the firmware download stuff working well, all you'll need is a microSD card to load the system image on and then folks will be able to try the Alpha. We're hoping by FTC Worlds to have a Tetrix robot running around, but that's still a lofty goal with how bad the I2C system has been...

For the "final" version, it'll be a whole new system image (NO SD required) - but for now that's too much hassle for alpha/beta testing.

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


Wed Apr 02, 2014 8:58 pm
Profile
Rookie

Joined: Sun Apr 06, 2014 2:07 pm
Posts: 1
Post Re: RobotC for EV3
Hi,
will you provide RobotC for EV3 alpha release to public? I would like to test it.
Thanks


Sun Apr 06, 2014 2:13 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: RobotC for EV3
As soon as we have something that is presentable, it'll be made available :)

= 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 Apr 07, 2014 3:48 am
Profile WWW
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: RobotC for EV3
We're getting closer... Don't mind the fact that the sonar is in "Inches" and the motors run backwards - it's a work in progress :)

Image:
Image

Video:


If you're going to want to participate in the initial beta trials, make sure you have a Micro SD card of 4GB or larger since our firmware will initially run on SD card.

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


Tue Apr 08, 2014 11:23 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: RobotC for EV3
Also, a class 10 is preferable, unless you like waiting for the image to be written.

= 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 09, 2014 2:05 am
Profile WWW
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: RobotC for EV3
MrLovellFord wrote:
I hope that Lego and Carnegie Mellon are working together to get ROBOTC 4.0 off and running. I would hate to think that the bottom line is the "the bottom line" and this might be the reason for the holdup.


Some important information regarding ROBOTC, Carnegie Mellon, and EV3 development:
Carnegie Mellon and the Carnegie Mellon Robotics Academy do not develop the ROBOTC application. The Carnegie Mellon Robotics Academy (CMRA) is an educational outreach arm apart of the Carnegie Mellon Robotics Institute that supports robotics-focused educational systems and competitions. CMRA develops and creates the professional development and curriculum around the ROBOTC software. The ROBOTC software itself is developed and owned by Robomatter Inc. (http://www.robomatter.com) and is developed by Robomatter staff and partners around the world.

Since everyone's curious what has taken so long, here's a brief development timeline for us:
  • April 2013: ROBOTC development team received EV3 hardware.
  • October 2013: Primary source code from LEGO received - at that time we began initial development of ROBOTC and identified that the code provided to us was not usable for running an alternative Virtual Machine system on "out of the box" from our initial understanding.
  • November 2013: Robomatter (ROBOTC) and National Instruments (LabVIEW) partnered together to create a common modified firmware that would include enhancements to the base LEGO firmware to allow our respective programming environments to be compatible with the EV3.
  • December 2013: Robomatter and NI created a system called "Dyaload" which allows dynamic loading of alternative virtual machines. In additional, NI also created a interfacing layer to the EV3 called "Casper" that would allow our software packages to communicate with the EV3 over the USB/Bluetooth/Wifi connections. Think of Casper as the EV3 equivalent to "Fantom". Documentation regarding the LEGO provided firmware was finally released to us.
  • January 2014: Robomatter and NI had initial code running on the EV3 to interface with the LEGO EV3 Virtual Machine and were able to identify issues with the I2C bus regarding supporting legacy device such as HiTechnic sensors/motor controller/servo controllers/etc that would prevent these devices from working properly. NI and Robomatter began developing fixes to the LEGO firmware system.
  • February 2014: LEGO began development of other/addtional fixes for the EV3 firmware for the I2C issues. NI/Robomatter noticed additional problems and reported/began working around the issues as well. LEGO's fixes did not seem to resolve all of the issues identified.
  • March 2014: ROBOTC Virtual Machine running on the brick successfully - FTC became involved in the development regarding the status of the EV3 for next season and numerous meetings to decide if the EV3 would be compatible with TETRIX and other systems. Ultimate decision was to defer EV3 rollout for a year and treat the 2014-2015 season as a "Pilot" to ensure maximum compatibility. Note: Just getting the I2C problems fixed was not the only issue factoring into this. FTC-based communication system would also have to undergo development before the season began to allow competition to occur.
  • April 2014: Development of hardware interface layer to allow motors/sensors/sounds/LCD/etc to work. Working pretty much non-stop to get something usable for the public by FTC Worlds.

I hope this sheds some light on our development and hopefully clarifying any potential financial interest in delaying the EV3 software. Remember that anyone who is purchasing ROBOTC 3.X today (and in the last year or so) will be getting 4.X for free - we're not gaining anything by holding back the release of the EV3 product, if anything, the lengthy development time is delaying us from getting to other projects and features we're interested in.

Thanks.

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


Wed Apr 09, 2014 10:48 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: RobotC for EV3
Check out the line following robot made in ROBOTC for EV3 :)

WOOT!



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


Thu Apr 10, 2014 10:43 am
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: RobotC for EV3
This is the code for it:
Code:
#pragma config(Sensor, S3,     colour,         sensorEV3_Color)
#pragma config(Motor,  motorB,          leftwheel,     tmotorEV3_Large, PIDControl, reversed, encoder)
#pragma config(Motor,  motorC,          rightwheel,    tmotorEV3_Large, PIDControl, reversed, encoder)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

int nMotorSpeedSetting = 30;
float nPfactor = 0.3;
int grey = 50;
int lowest = 100;
int highest = 0;

void scanLine()
{
  motor[leftwheel] = 10;
  motor[rightwheel] = -10;

  time1[T1] = 0;
  while(time1[T1] < 500)
  {
    if (SensorValue[colour] > highest)
    {
      highest = SensorValue[colour];
    }
    if (SensorValue[colour] < lowest)
    {
      lowest = SensorValue[colour];
    }
  }
  grey = (highest - lowest) / 2;
  motor[leftwheel] = 0;
  motor[rightwheel] = 0;
}

task main()
{
  float error;
  scanLine();
  while (true)
  {
    error = SensorValue[colour] - grey;
    motor[leftwheel] = nMotorSpeedSetting - round(error * nPfactor);
    motor[rightwheel] = nMotorSpeedSetting + round(error * nPfactor);
    wait1Msec(50);
  }
}

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


Thu Apr 10, 2014 10:44 am
Profile WWW
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: RobotC for EV3
Alright... that's awesome! So getting closer to a public beta?

That's more than I was able to get the stock software to do.

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Thu Apr 10, 2014 10:46 am
Profile WWW
Rookie
User avatar

Joined: Wed Apr 02, 2014 5:40 pm
Posts: 2
Post Re: RobotC for EV3
Will the new robotC for ev3 include the graphical programing enviroment that is available for the robotC VEX platform or is this something that will be far in the future ?

Best regards
Odd


Mon Apr 14, 2014 4:16 am
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: RobotC for EV3
oddlyoddlix wrote:
Will the new robotC for ev3 include the graphical programing enviroment that is available for the robotC VEX platform or is this something that will be far in the future ?


It will probably not be included in the initial beta releases, but will come shortly thereafter. Our goal is to bring it to all ROBOTC platforms.

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


Mon Apr 14, 2014 1:35 pm
Profile
Rookie

Joined: Wed Oct 23, 2013 3:01 pm
Posts: 4
Post Re: RobotC for EV3
Will the upcoming software support Tetrix motors and servos for the ev3? If not, is there a timetable for these to be included?


Tue Apr 15, 2014 8:58 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: RobotC for EV3
ROBOTC 4.x for EV3 is slated to support those motor controllers, but maybe not straight away. We're working on sorting out some I2C issues in the LEGO kernel modules.

= 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 Apr 15, 2014 2:27 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 76 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.