Wednesday, February 3, 2010

Feb.3 No Output solved and Line Followers


No Output solved 
Basic Function Block Tutorial - 4DIAC /FORTE3.7
FORTE(VIS_IN) to FBDK(EMB_RES) to FORTE(VIS_OUT)
Problem was input shown, output send, but not recieved.

First changed from FORTE 3.6 to 3.7 - fixed not being able to close input window.
Then found several small problems: 
Send / Recieve ip addresses were different (Fooled since ports were the same)
Was using Forte 3.6 in 4DIAC (changed, but didn't save the change and never checked again until today)
QI was changed to 1 instead of through data flow,but should have no affect.
Also had + for * - easy to see when have output.

Hint: To see in console:
in x2y2_BFB:: alg_REQ(void)
fprintf("x: %d, y:%d, OUT: %d\n",x.operator short int( ), y.operator short int( ), OUT.operator short int( ));


Line Followers
Building instruction links:
http://www.active-robots.com/products/mindstorms4schools/building-instructions.shtml

Modify the tribot so just uses light sensor and no motor in middle.
Using Kinder Uni lego NXT 1 set.


Mindstorms Linefollower - - same as last year very inexact. Line sensor has hard time seeing black. Worse when flood light is on. Will try with direct light.
The Mindstorms software gets errors.- Insane object. Seems to come from draggin objects around on the screen - when testing what values are needed.


Next Lejos - last year line follower was much easier/exacter in Java.

No comments:

Post a Comment