PNP model (Lego Bonus Model #4) that will be used as starting point for the 3rd tutorial has been built. Took 4.5 hours over 2 days (3+1.5).
This blog is keep notes in one place and documents/ follows the process to prepare the tutorial using Lego Mindstorms and 4DIAC/FORTE (TU ACIN) to explain IEC41699 are in the blog Robots61499.
Wednesday, September 15, 2010
Thursday, September 9, 2010
Sept.9 LineFollower Video
After creating an E_SPLIT4 to send events to both motors, led indicator, and light sensor reader,
the Simple Line Follower using forte 3.x works. It follows a straight line and curves in one direction. There may still be memory issues, but they take longer to show-up!
I forgot to unplug the USB cable and it kept following the line after being unplugged!
Forte IEC61499 LF1 Application:
Tuesday, September 7, 2010
Sept.9 Line Follower now
Wanted to just run the line follower and make a video.
But doesn't work because of changes documented here.
This is typical since the FBs for Lego NXT are not stable and there is too little space for FORTE.
1. To save space in FORTE the HYST_UINT and calcBnd FBs were commented out in the src/Makefile.am Too bad can't connect the application XML and FB makefile.
2. Names were shorten to fit in space available, but changed to longer names for documentation. Must be changed back.
3. Motor FB was updated to add STOP event.
4. Seeing if changing to -O2 helps
4. Seeing if changing to -O2 helps
Still doesn't work... so more to come
At least one problem was the JTAG cable connection
Sunday, September 5, 2010
Sept. 5 Media Wiki started
One goal of this blog was to avoid having to ask the same question twice. But as I learn the same topic comes up multiple times, each time with more depth. So information is scattered over time or blog entries are no longer date related.
To solve this problem and provide a place to work on the (formal) tutorials, a media wiki has been started. For better or worse this media wiki is not online. It uses MoWeS Portable, so it is a Wiki on USB stick.
So far the tutorial outlines are in place with more details for Tutorial 1.