| Author |
Message |
|
Dick Swan
Creator
Joined: Fri Feb 09, 2007 9:21 am Posts: 613
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
I'm looking into the "servoChangeRate" problem now.
|
| Sun Sep 04, 2011 10:56 am |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2861 Location: Rotterdam, The Netherlands
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
It is a very useful warning. I have simply added an "EndTimeSlice(); to those statements, so the warning goes away and I still get the desired result.
- Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Sun Sep 04, 2011 11:25 am |
|
 |
|
Mentor3923
Rookie
Joined: Sat Sep 03, 2011 10:03 am Posts: 32
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
I agree that the warnings are a useful tool and will make the update to the driver as you suggested.
|
| Sun Sep 04, 2011 1:22 pm |
|
 |
|
Mentor3923
Rookie
Joined: Sat Sep 03, 2011 10:03 am Posts: 32
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
See Ticket #798994 with a less complicated file that demonstrates the problem. It is not so much a "servoChangeRate" problem as it appears to be a configuration problem with the Motors and Sensors setup. "servoChangeRate" is only the first error flagged for an undefined symbol that is defined as a servo's name.
|
| Sun Sep 04, 2011 1:32 pm |
|
 |
|
Dick Swan
Creator
Joined: Fri Feb 09, 2007 9:21 am Posts: 613
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
I've reproduced the problem and working on resolution now.
|
| Sun Sep 04, 2011 2:39 pm |
|
 |
|
Mentor3923
Rookie
Joined: Sat Sep 03, 2011 10:03 am Posts: 32
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
Dick, I got a response to my Support Ticket and it said that the problem was resolved in the Forums but was not specific. Is there a resolution to the servo variable name problem? I can't believe that adding a variable named the same as a servo can resolve the problem as someone on a forum mentioned. Thanks in advance,
|
| Tue Sep 06, 2011 6:09 pm |
|
 |
|
Dick Swan
Creator
Joined: Fri Feb 09, 2007 9:21 am Posts: 613
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
It's fixed but not released. There will be a minor update for FTC in time for contest launch (Sept 10) that will include this and a few other minor FTC related issues.
|
| Tue Sep 06, 2011 8:25 pm |
|
 |
|
rkrishnan2012
Rookie
Joined: Sun Feb 27, 2011 3:41 pm Posts: 20
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
It's still not fixed in 3.01 lol
|
| Sat Sep 10, 2011 2:50 pm |
|
 |
|
Mentor3923
Rookie
Joined: Sat Sep 03, 2011 10:03 am Posts: 32
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
I checked the programs that were giving me errors and warnings and it seems to be fixed. Which problem are you having?
|
| Sun Sep 11, 2011 3:17 pm |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2861 Location: Rotterdam, The Netherlands
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
Could be a case of PEBCAK.
- Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Sun Sep 11, 2011 3:24 pm |
|
 |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
 Re: Compile Errors and Warnings after upgrading to RobotC 3.
These issues should all be resolved with 3.01.
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
| Tue Sep 13, 2011 9:24 am |
|
|