View unanswered posts | View active topics It is currently Sat Sep 20, 2014 5:57 am






Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
ROBOTC for Mindstorms - 1.17 BETA - 3/2/08 
Author Message
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 603
Post ROBOTC for Mindstorms - 1.17 BETA - 3/2/08
Hi all,

We've just finished building a pre-release version of ROBOTC for Mindstorms... this is version 1.17 BETA.

The final release of 1.17 is still a week or two away, but this will tide over anyone who has submitted bug reports in the last couple of months.

Any feedback/bugs should be posted to this thread... all comments are appreciated!

Download: http://robotc.net/content/lego_down/downloads/ROBOTC_for_Mindstorms_117Beta.exe

As always, make sure you update your firmware as firmware images change with each build!

Dick will be posting a changelog to this thread later on today with more specific fixes.

Thanks!

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


Last edited by tfriez on Tue Apr 29, 2008 4:50 pm, edited 1 time in total.



Mon Mar 03, 2008 5:44 pm
Profile
Rookie

Joined: Fri Feb 15, 2008 5:53 am
Posts: 6
Location: Germany
Post Version 1.17
hallo tfriez,
es fehlt immer noch die schnelle RS485-Verbindung,
wann können wir damit rechnen ?

Der LEGORENTNER


Tue Mar 04, 2008 5:28 am
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
ich vermisse ebenfalls die schnelle RS485-Verbindung.
Wann wird es die geben?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Mar 04, 2008 10:08 am
Profile
Rookie

Joined: Fri Feb 15, 2008 5:53 am
Posts: 6
Location: Germany
Post I2C mit Version 1.17 Beta
mit der Betaversion 1.17 habe ich Probleme mit dem I2C-Bus,
bei der Statusabfrage "nStatus = nI2CStatus[kSensorMuxPort];"
bekomme ich konstant den Error ERR_COMM_CHAN_NOT_READY
gemeldet. Ich verwende den Motor Multiplexer for NXT (MTRMX-Nx) von Mindsensor.
Auch mit dem Senso Kit for NXT with PCF8574 IC von Mindsensors wird
der gleiche Fehler produziert !

der LEGORENTNER

P.S. my English is not so good, so I write in German !


Tue Mar 04, 2008 1:02 pm
Profile WWW
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 603
Post 
Unfortunately no one in the ROBOTC development team can read/understand German, so your comments are not as helpful as they could be.

Please try to keep all posts to English or we will not be able to assist you.

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


Tue Mar 04, 2008 2:03 pm
Profile
Rookie

Joined: Fri Feb 15, 2008 5:53 am
Posts: 6
Location: Germany
Post 
Google translated text:

With the beta version 1.17, I have problems with the I2C bus,
For the status query nStatus = nI2CStatus [kSensorMuxPort]; "
I get the error constant ERR_COMM_CHAN_NOT_READY
Reported. I use the engine for NXT multiplexer (MTRMX-Nx) by Mind sensor.
Even with the Senso Kit for NXT with PCF8574 of IC Sensors will Mind
Produced the same error!

I hope you understand that now

the Lego pensioners


Tue Mar 04, 2008 2:31 pm
Profile WWW
Rookie

Joined: Fri Feb 15, 2008 5:53 am
Posts: 6
Location: Germany
Post 
von Legorentner:
Quote:
"es fehlt immer noch die schnelle RS485-Verbindung,
wann können wir damit rechnen ? "

It still lacks the fast-RS485 connection,When can we expect?

von Ford Prefec :
Quote:
ich vermisse ebenfalls die schnelle RS485-Verbindung.
Wann wird es die geben?

I also miss the fast RS485 connection.
When is it?


I hope you understand that now, the Lego pensioners


Tue Mar 04, 2008 2:40 pm
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
tfriez wrote:
Unfortunately no one in the ROBOTC development team can read/understand German, so your comments are not as helpful as they could be.

Please try to keep all posts to English or we will not be able to assist you.


what if you tried babelfish translation German to English?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Mar 04, 2008 4:20 pm
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 615
Post 
You will get far better and faster replies if you remove the "snarkiness" from your posts and remain on a polite level. Unfortunately, we don't all read German.

I had no problems with my Mindsensors motor MUX and version 1.17. I have just pumped 20K messages to it without error. One tricky thing about the motor MUX is that it can be programmed to have a different I2C which can cause it to not respond. My motor MUX is set to the default I2C address of hex B4.

What I suggest you do is use ROBOTC's "NXT I2C Test Utility" to verify that your I2C devices are working. You can get at it from the command "Robot -> NXT Device -> Test I2C". Use the "Help" button to figure out how to work it.

FIrst test the Lego Ultrasound sensor to verify that it is working and that you've figured out how to use the diagnostic screen. The best bet is to set the "Output Message" field to "2 10" and "Reply Len" to '8". When you poll "Once" the "Reply field should be "SONAR..". Use "Send Continuous" to verify a couple of 100 messages.

Now you want to try the MotorMux. Set it up on a different sensor port. Change "Output Message" field for it to "B4 10". The reply you get back should be "MTRMUX..". If so, then everything is working OK. If not, it's either broken or set to a different address. Read the MindSensors web page on changing the address. You might want to try "2 10" in case it has been set to the more standard address "2".

If above doesn't work and it does work with NXT-G then post again with details on what is not working, what is working, etc and I'll try to give you next diagnostic steps.


Tue Mar 04, 2008 5:18 pm
Profile
Rookie

Joined: Fri Feb 15, 2008 5:53 am
Posts: 6
Location: Germany
Post 
The test with the NXT I2C test utility "has worked,
Only in the program met this error constant!

Here is an excerpt of my source code
Code:
// I2C Adressen
const int    kMuxAddress = 0xB4;   // Motor-Mux Slave basisAdresse
const short kM01Adresse = 0x42;   // Startadresse Daten des 1. Motors
const short kM02Adresse = 0x44;   // Startadresse Daten des 2. Motors
const short kM03Adresse = 0x46;   // Startadresse Daten des 3. Motors
const short kM04Adresse = 0x48;   // Startadresse Daten des 4. Motors
.........
.........
.........
bool ceckI2CSlave()
{
   TI2CStatus nStatus;
   nStatus = NO_ERR;
   short maxErrors = 10;
   while(true)
   {
      //nStatus =  nI2CStatus[kSensorMuxPort];
      nStatus =  nI2CStatus[kSensorMuxPort];
      switch(nStatus)
      {
         case NO_ERR:
            nxtDisplayCenteredTextLine(1, "MMUX OK");
            return(true);
            break;
         case STAT_COMM_PENDING:
            nxtDisplayCenteredTextLine(1, "I2C-PENDING");
            wait10Msec(10);break;
         case ERR_COMM_CHAN_NOT_READY:
//***********************************************************
            nxtDisplayCenteredTextLine(1, "I2C-CHA-ERROR");
//     Constant feedback of this error
//************************************************************

            //return(false);
            maxErrors--;
            break;
         case ERR_COMM_BUS_ERR:
            nxtDisplayCenteredTextLine(1, "I2C-BUS-ERROR");
            //return(false);
            maxErrors--;
            break;
         default:
            nxtDisplayCenteredTextLine(1, "I2C-ND-ERROR");
            //return(false);
            maxErrors--;
            break;
      }
      wait10Msec(50);
      if ( maxErrors <= 0)
      {
         nxtDisplayCenteredTextLine(2, "%d I2C-ERROR",nStatus);
         return(false);
      }
   }
   return(false);
}


I hope to help them to solve the problem.

Beautiful old greetings from OLD-Germany.
der LEGORENTNER
der Legorentner


Tue Mar 04, 2008 5:37 pm
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
@ Dick Swan: what is snarkiness?
babelfish: snarkiness -> German: =snarkiness ???

sorry, if you don't speak German, but i purchased your software in Germany from a German dealer, I payed in German currancy, and so I expected to get help in German (not only in this forum, but also in the help files of the software).

If you sell your programs in foreign countries (Germany, Austria, Switzerland, France, Spain, Italy, Portugal, Poland, even Japan), it is really recommendable that you are able to give support even in these foreign languages. Not every hobby user in Europe (or Asia) speaks English! (Actually in Europe more people are speaking German as a native speaker than English, and similar it is to French - not everybody in the world is an English speaking U.S. American!)

This is not like support I expect to freeware such like NXC, but I have payed for your software!

Maybe we both try to understand the other one's posting as good as possible (by babelfish), but complicated relations and problems often can not be explained by me in a foreign language. This is even hard enough in German, for I am no IT expert or professional programmer but only a Lego Mindstorms layman (do you say: "layman"? I just mean: non-professional, hobby user (??) - get what I mean?). So in these cases I will have to write in German.

(translated by support of babelfish and half a dozen of dictionaries)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Last edited by Ford Prefect on Wed Mar 26, 2008 4:31 am, edited 1 time in total.



Wed Mar 05, 2008 4:21 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
I want to recall, that you are advertising RobotC as "real C".
And you are SELLING RobotC.

What "real C" is, has been defined by the American National Standards Institute (ANSI).

I bought C, because it should be real C = ANSI C.

So I would appriciate you very much to fullfill your advertisments.

(I hope my "German English" is understandable)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Mar 11, 2008 6:24 pm
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 615
Post 
The orignal Mar 3 post concerned problems with the Mindsensors Motor MUX.

My respoonse on Mar 4 suggested some ares to investigate to confirm that your configuration was working OK and that the MUX address had not been inadvertently changed. I asked for feedback on whether this fixed your problems with an offer of furthur assistance if you were still having problems.

Are you still having problems with your Motor MUX?

For a description of C functionality in ROBOTC see recent post in another thread.


Wed Mar 12, 2008 3:59 am
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 615
Post 
Legorentner wrote:
The test with the NXT I2C test utility "has worked,
Only in the program met this error constant!

I can't tell from the code snippet you posted whether you have configured the sensor type. You have to set the sensor type to an "I2C custom sensor". Otherwise the firmware will give an error indicating that the sensor is not configured for I2C messaging.


Wed Mar 12, 2008 4:05 am
Profile
Rookie

Joined: Fri Feb 15, 2008 5:53 am
Posts: 6
Location: Germany
Post 
Now I use again the version 1.10 and will On the official release of version 1.17 wait.
They write:
Quote:
You have to set the sensor type to an "I2C custom Sensor". Otherwise the firmware will give an error indicating that the sensor is not configured for I2C messaging.

I run the engine at the port Mux-4 and had him as Sensor type [kSensorMuxPort] = sensorI2CCustomFast9V;
Declared! In version 1.10, I have no problems Problems!

Best ever thanks for your efforts, I should Further problems, I will sign.

Beautiful greetings from Germany
der LEGORENTNER


Wed Mar 12, 2008 6:08 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 24 posts ]  Go to page 1, 2  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:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.