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






Reply to topic  [ 2 posts ] 
Driver problems with robotc 4.0 and ev3 
Author Message
Rookie

Joined: Sun Jul 06, 2014 7:05 pm
Posts: 1
Post Driver problems with robotc 4.0 and ev3
I have recently purchased a Mindsensors AbsoluteIMU-ACG for my EV3. I downloaded Xander's driver, but I could not compile the test program because there were errors in the common.h program. These errors included:

**Error**:'case' statement expression must have constant value
**Error**:Undefined variable 'STAT_COMM_PENDING'. 'short' assumed.
**Error**:'case' statement expression must have constant value
**Error**:Undefined variable 'ERR_COMM_CHAN_NOT_READY'. 'short' assumed.
**Error**:'case' statement expression must have constant value
**Error**:Undefined variable 'ERR_COMM_BUS_ERR'. 'short' assumed.
**Error**:'case' statement expression must have constant value
*Warning*:Undefined procedure 'EndTimeSlice'. Global subroutine assumed.
**Error**:Undefined variable 'sensorI2CCustomFast'. 'short' assumed.
**Error**:'case' statement expression must have constant value
**Error**:Undefined variable 'sensorI2CCustomFast9V'. 'short' assumed.
**Error**:'case' statement expression must have constant value
**Error**:Undefined variable 'sensorI2CCustomFastSkipStates9V'. 'short' assumed.
**Error**:'case' statement expression must have constant value
**Error**:Undefined variable 'sensorI2CCustomFastSkipStates'. 'short' assumed.
**Error**:'case' statement expression must have constant value
*Warning*:Substituting similar variable 'playSound' for 'PlaySound'. Check spelling and letter case.

There were also what seems like syntactical errors in the display commands in the test program. While troubleshooting, I found that when I changed the platform type to NXT, the errors disappeared, leaving only minor warnings. I downloaded the test program to my nxt and it worked perfectly. Can someone tell me what is going on?
I am using windows 8 and the robotc 4.10 free trial.

Thanks!


Sun Jul 06, 2014 9:05 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: Driver problems with robotc 4.0 and ev3
That would because I have not made the EV3 sub system for the drivers yet :) I need to make the common.h that works with the EV3. Right now it's just the NXT that works with the Driver Suite.

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


Sun Jul 06, 2014 11:32 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

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.