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

RobotC for EV3
http://robotc.net/forums/viewtopic.php?f=1&t=7698
Page 4 of 6

Author:  oddlyoddlix [ Wed Apr 02, 2014 5:44 pm ]
Post subject:  Re: RobotC for EV3

Wonderful news !! please keep us posted. :D

Author:  MHTS [ Wed Apr 02, 2014 6:50 pm ]
Post subject:  Re: RobotC for EV3

That's exciting. When's the beta ready?

Author:  tfriez [ Wed Apr 02, 2014 8:58 pm ]
Post subject:  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.

Author:  mawin [ Sun Apr 06, 2014 2:13 pm ]
Post subject:  Re: RobotC for EV3

Hi,
will you provide RobotC for EV3 alpha release to public? I would like to test it.
Thanks

Author:  mightor [ Mon Apr 07, 2014 3:48 am ]
Post subject:  Re: RobotC for EV3

As soon as we have something that is presentable, it'll be made available :)

= Xander

Author:  tfriez [ Tue Apr 08, 2014 11:23 am ]
Post subject:  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.

Author:  mightor [ Wed Apr 09, 2014 2:05 am ]
Post subject:  Re: RobotC for EV3

Also, a class 10 is preferable, unless you like waiting for the image to be written.

= Xander

Author:  tfriez [ Wed Apr 09, 2014 10:48 am ]
Post subject:  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.

Author:  mightor [ Thu Apr 10, 2014 10:43 am ]
Post subject:  Re: RobotC for EV3

Check out the line following robot made in ROBOTC for EV3 :)

WOOT!



= Xander

Author:  mightor [ Thu Apr 10, 2014 10:44 am ]
Post subject:  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);
  }
}

Author:  NeXT-Generation [ Thu Apr 10, 2014 10:46 am ]
Post subject:  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.

Author:  oddlyoddlix [ Mon Apr 14, 2014 4:16 am ]
Post subject:  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

Author:  tfriez [ Mon Apr 14, 2014 1:35 pm ]
Post subject:  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.

Author:  jcs0190 [ Tue Apr 15, 2014 8:58 am ]
Post subject:  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?

Author:  mightor [ Tue Apr 15, 2014 2:27 pm ]
Post subject:  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

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