Squeak, gumstix, robots, and SmartRefStreams

Jon Hylands jon at huv.com
Thu Jan 26 02:53:06 UTC 2006


Hi everyone,

I'm working on getting my new autonomous controller code working on the
gumstix (see http://www.huv.com/roboMagellan)

Currently, I save my mission object from my mission editor using a
SmartRefStream, like this:

file := SmartRefStream newFileNamed: 'missions\', mission name, '.obj'.
file nextPut: mission.
file close.

The mission editor runs on Windows XP, on my laptop, in a Squeak 3.7 full
image.

I copy the mission file over to the gumstix, and I read the mission from a
headless image (Squeak 3.7 basic image, not stripped in any way) on the
gumstix, which runs Linux.

I wrote a simple routine that loads my sample mission, and dumps
information about it to a text file. On my laptop, when I run this, I get
the following:

Name: Straight Line Test 01
Goal: (Start navigator: (Startup Navigator (AvLocation (Start - {50.00 @
30.00})) ) subGoals: ()) 
Goal: (Follow Path navigator: (Waypoint Navigator (2 waypoints) ) subGoals:
()) 
Goal: (Stop navigator: (Shutdown Navigator) subGoals: ()) 

On the gumstix, I get the following:

Name: Straight Line Test 01
Goal: (Start navigator: (Startup Navigator (AvLocation (Start - {0.00 @
0.00})) ) subGoals: ()) 
Goal: (Follow Path navigator: (Waypoint Navigator (2 waypoints) ) subGoals:
()) 
Goal: (Stop navigator: (Shutdown Navigator) subGoals: ()) 

Note, the only difference is the Start location is 0.0 @ 0.0, instead of
50.0 @ 30.0.

Any ideas?

Thanks,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com



More information about the Squeak-dev mailing list