|
Page 1 of 1
|
[ 13 posts ] |
|
ROBOTC 1.30 BETA 2 Release
| Author |
Message |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
 ROBOTC 1.30 BETA 2 Release
We're currently working on 1.30 FINAL in the next couple of weeks, so here's the second beta release of 1.30 to tide you over until then!
http://www.robotc.net/lego/downloads/RO ... BETA_2.exe
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
Last edited by tfriez on Thu May 22, 2008 4:39 pm, edited 1 time in total.
|
| Tue Apr 29, 2008 4:51 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
which of the reported bugs are fixed with this beta?
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Tue Apr 29, 2008 5:35 pm |
|
 |
|
elemes
Expert
Joined: Fri Nov 09, 2007 4:51 am Posts: 121 Location: Hungary, Europe
|
 Re: ROBOTC 1.30 BETA 2 Release
wow.
time to replace 1.10.
|
| Wed Apr 30, 2008 3:48 am |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
again:
what's new in 1.30 beta?
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Wed Apr 30, 2008 4:02 pm |
|
 |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
Ford: Please stop reposting the same question. It will not get you an answer any faster. This is your first and last warning.
The change log is included with ROBOTC.
Version 1.3
• Support added for the new FTC (FIRST Technology Challenge) robot. This includes:
o PC joystick / gamepad control over your robot.
o Integrated firmware device driver for the new HiTechnic servo / motor controller.
o New debugger window for read / write control over servos and the new 12 volt motors.
• Added new drawing function to “invert” and “erase” line between two points. Added new feature to disable the “low voltage” pop up window display. Controlled via the new variable “LowVoltageBatteryCountLimits”. Previously 10 consecutive low battery values caused the low battery pop up window to be displayed. Made this a programmable parameter that is stored in persistent flash. Setting to zero will disable the pop up window.
• Added new preferences page to better control compiler generation of optional warning messages for unreferenced variables.
• Added new preference to move old version of file to “trash” when saving rather than permanently deleting. Default is to move to trash.
Version 1.27
• New features
o Added “erase line” and “invert line” functions
o Added range exception on trying to control invalid servo index.
o Added integrated device drivers for many new I2C sensors. Initial support for HiTechnic color, accelerometer, and compass. More drivers coming soon for devices from Mindsensors.
o Added new “Try Me” programs for
1. Compass
2. Accelerometer.
These programs perform auto detection of the sensor. They scan all sensor ports looking for an appropriate sensor of the desired type. They have nifty graphical display of the sensor values.
• Bug Fixes / Minor Enhancements
o Low battery popup window was sometimes latching up NXT when user program was running. Fixed.
Version 1.25
• New features
o Added “rate of change” adjustment to servo driver to minimize jerkiness on rapid changes of servo. [Note: servo driver only available on some ROBOTC platforms].
o Added range exception on trying to control invalid servo index.
• Bug Fixes / Minor Enhancements
o Timeout on ACK from Bluetooth “close connection” request was too short. It was lengthened.
Version 1.24
• Bug Fixes / Minor Enhancements
o Version 1.23 introduced a bug in the allocation and release of internal temporary variables. Now fixed.
o The error message for “'return' statement required for exit from non 'void' functions” is now associated with the last line of the “invalid” function. Previously it was correctly generating but could appear on any source line within the function.
o Compiler was not properly recognizing ‘enum’ definitions that were not part of a ‘typedef’. This was a feature added in version 1.17.
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
| Wed Apr 30, 2008 4:08 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
maybe I didn't understand everything quite rigth, but I didn't find any bug fix of the reportet faulty structure functions in your list.
Have those manifold malfunctions been corrected?
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Wed Apr 30, 2008 6:31 pm |
|
 |
|
starwarslegokid
Moderator
Joined: Wed Jan 31, 2007 3:39 am Posts: 298 Location: San Diego, California. USA
|
You will get a reply from the bug tracker when your bugs have been fixed.
Scott
_________________Mmmm Legos B-) My Robot Projects: http://www.freewebs.com/robotprojects/
|
| Thu May 01, 2008 3:37 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
so I guess I understand you right that the structure bugs not having been fixed yet?
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Thu May 01, 2008 5:28 pm |
|
 |
|
elemes
Expert
Joined: Fri Nov 09, 2007 4:51 am Posts: 121 Location: Hungary, Europe
|
 struct
Hi Ford,
I've installed 1.3B2, first thing after startup is the vacnju:
|
| Sun May 04, 2008 3:42 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
Thx a lot!
In your post I found a missing log entry:
Could you please be so kind and test my code I posted before by the 1.30 beta?
The related values are displayed on the screen and could easily be checked this way.
task displayValues(){ while(true) { printXY( 0,60, "in(0 1)"); printXY( 50,60, "%2.0f", Neuron0[0].in[0]); printXY( 70,60, "%2.0f", Neuron0[0].in[1]); printXY( 0,50, "w (0 1)"); printXY( 50,50, "%2.1f", Neuron0[0].w[0]); printXY( 70,50, "%2.1f", Neuron0[0].w[1]); // FAULTY! shows 0/1, but must be 0.8/1.3 !!! printXY( 0,40, "net"); printXY(50,40,"%4.1f",Neuron0[0].net); // FAULTY! should change depending on Sensor Values printXY( 0,30, "dummy"); printXY(50,30,"%4.1f",dummy); // FAULTY! should change depending on Sensor Values printXY( 0,10, "thr"); printXY(50,10,"%4.1f",Neuron0[0].thr); // FAULTY! shows 1.0, but must be 1.5 !!! } return; }
Here is the code again, just for copy&paste:
simplified code for bug fixing:
 |  |  |  | Code: // Neuronales Netz aus 1 Neuron // LTU = Linear Threshold Unit oder // Adaline = Adaptive linear element
#define printXY nxtDisplayStringAt
const int nl0 = 20;
const int nd = 20; const float th = 0.5; float lbd = 0.2;
float dummy;
//**********************************************************************
typedef struct{ float in[nd]; float w[nd]; float t[nd]; float net; float thr; float act; float out; } tNeuron;
tNeuron Neuron0[nl0]; // nl0=20 Neuronen in Eingabeschicht 0
//**********************************************************************
void ResetNeuron(tNeuron &neur){ // alles auf Null int d;
for (d=0; d<nd; d++) { neur.in[d]=0; neur.w[d]=0; neur.t[d]=0; } neur.net=0; neur.thr=th; neur.act=0; neur.out=0;
}
//**********************************************************************
void initAllNeurons(){ // alle Netz-Neuronen auf Null
ResetNeuron(Neuron0[0]);
}
//**********************************************************************
float netPropag(tNeuron neur){ // DOESN'T WORK! [line 61] int j=0; float s=0;
for(j=0;j<nd;j++){ s+= (neur.in[j]*neur.w[j]); // gewichtete Summe } dummy=s; // global variable to check the value of s printXY( 0,20, "s loc"); printXY(50,20,"%4.1f",s); return s; }
//**********************************************************************
void pause() { while(true) wait1Msec(50); }
task displayValues(){ while(true) {
printXY( 0,60, "in(0 1)"); printXY( 50,60, "%2.0f", Neuron0[0].in[0]); printXY( 70,60, "%2.0f", Neuron0[0].in[1]);
printXY( 0,50, "w (0 1)"); printXY( 50,50, "%2.1f", Neuron0[0].w[0]); printXY( 70,50, "%2.1f", Neuron0[0].w[1]); // FAULTY! shows 0/1, but must be 0.8/1.3 !!!
printXY( 0,40, "net"); printXY(50,40,"%4.1f",Neuron0[0].net); // should change depending on Sensor Values printXY( 0,30, "dummy"); printXY(50,30,"%4.1f",dummy); // should change depending on Sensor Values
printXY( 0,10, "thr"); printXY(50,10,"%4.1f",Neuron0[0].thr); // FAULTY! shows 1.0, but must be 1.5 !!!
} return; }
void InitThisNeuronalNet(){ Neuron0[0].w[0]=0.8; // [line 99] FAULTY!!! should be assigned to 0.8, but gets 0.0 !!!! Neuron0[0].w[1]=1.3; // [line 100] FAULTY!!! should be assigned to 1.3, but gets 1.0 !!!! Neuron0[0].thr=1.5; // [line 101] FAULTY!!! should be assigned to 1.5, but gets 1.0 !!!! }
task RefreshNet(){ while(true){ Neuron0[0].in[0]=(float)SensorValue(0); // Input 0: Touch-Sensor an S1=0 Neuron0[0].in[1]=(float)SensorValue(1); // Input 1: Touch-Sensor an S2=1
Neuron0[0].net=netPropag(Neuron0[0]); // [line 109] function call - -> [line 61] } return; }
task main(){ SensorType(S1)=SensorTouch; SensorType(S2)=SensorTouch;
InitAllNeurons(); InitThisNeuronalNet();
StartTask (displayValues); StartTask (RefreshNet); pause(); }
|  |  |  |  |
thx in advance 
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
Last edited by Ford Prefect on Tue May 06, 2008 2:29 pm, edited 1 time in total.
|
| Mon May 05, 2008 5:11 am |
|
 |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
With Firmware 0742 that was posted with ROBOTC 1.30 BETA 2... I get this:

_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
| Tue May 06, 2008 2:10 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
that seems to be fine, thx a lot.
normally I never install any betas, but I think this time I'll gonna take the risk on me ...
[EDIT:]
really, works fine!
thanks again! 
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Tue May 06, 2008 2:53 pm |
|
 |
|
docilio
Expert
Joined: Sun Sep 09, 2007 10:12 am Posts: 116
|
I will try it as soon as possible... seems to be nice.
Thanks
|
| Mon Jun 02, 2008 6:51 am |
|
|
|
Page 1 of 1
|
[ 13 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 4 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
|
|