Go to Post The practical experience that students learn by working with the mentors on a real life problem -- with real life constraints -- helps produce people who are good at those professions. - MechEng83 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 16-10-2006, 14:28
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by EHaskins
What does it cost to get a gumstix running Windows CE?
I have used the Gumstix Connex 400xm - 400MHz XScale and 16MB of flash, which looks like it's going for $129 now. You also need a "tweener" board which gives you a serial port as well as access to the JTAG lines. You will need an ARM JTAG programmer - you can build one yourself or buy one like this .

As far as software goes, you will need Microsoft Platform Builder (there is a free 120-day trial) and Visual Studio 2005 (for .NET CF development).

That will get you to where you can flash the Drumstix bootloader onto the Gumstix and begin building CE OS images. As long as your OS image includes the .NET CF runtime you can connect to the Gumstix with VS2005 and download applications.
  #17   Spotlight this post!  
Unread 16-10-2006, 23:48
yongkimleng yongkimleng is offline
deus ex programmeur
AKA: James Yong
FTC #0747
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2004
Location: Singapore, West
Posts: 134
yongkimleng is a jewel in the roughyongkimleng is a jewel in the roughyongkimleng is a jewel in the rough
Send a message via MSN to yongkimleng
Re: Gumstix Programming

I see.. so you're running of .NET framework? Wonder if there is any support for non .NET like VB/VC6 ...
__________________
| jamesyong.net |
FVC2007, FTC2008
  #18   Spotlight this post!  
Unread 17-10-2006, 10:24
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by yongkimleng
I see.. so you're running of .NET framework? Wonder if there is any support for non .NET like VB/VC6 ...
There is support in both Platform Builder and Visual Studio 2005 for developing native code. VS2005 supports native code development in C++ and this support will be greatly enhanced with VS2005 SP1.

There was a legacy product called eMbedded VB that allowed for VB6-like development for PocketPC, but support for that was dropped with the introduction of PocketPC 2003 and VB.NET with the .NET CF.
  #19   Spotlight this post!  
Unread 17-10-2006, 17:52
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

Thanks for showing me Drumstix. I have one question, do you know if VS.net 2003 would work? I only have the express editions of 2005, and since I'm on a limited budget for this I don't want to go spend $500 on VS 2005.
__________________
Eric Haskins KC9JVH
  #20   Spotlight this post!  
Unread 17-10-2006, 19:06
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Gumstix Programming

I'm wondering why you would want to run CE when there is a perfectly good linux kernel that comes standard with these things.

I've decided to do all of my linux-for-robotics development in a scripting language. I haven't decided yet (Python, Perl, Ruby) because I simply haven't had the time to look into it. Robots typically follow a command structure which is constantly changing. It seems logical to use an easily changeable script to manage this, rather than cross compiling each time you want to change something.

As good as it this is, you will probably be able to get better efficiency from a compiled C program. Gumstix uses an intel chip so the standard GCC should be fine.

Keep us updated on your project.

Last edited by Tom Bottiglieri : 17-10-2006 at 19:11.
  #21   Spotlight this post!  
Unread 17-10-2006, 22:52
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Gumstix Programming

I have used .NET a lot, and I don't even have a Linux machine! If I'm going to spend $200-$500 on a gumstix I want to know I can use it.
__________________
Eric Haskins KC9JVH
  #22   Spotlight this post!  
Unread 18-10-2006, 10:07
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by EHaskins
I have one question, do you know if VS.net 2003 would work?
VS2003 will work, but only for developing managed applications and you will only be able to target .NET CF 1. There is a VS2003 add-in called Windows CE Utilities that you need to install to be able to connect directly to the CE device for debugging.

If you need to develop native apps you can download eMbedded VC++, which is free.

Edit: I forgot - doesn't VS2005 Standard come in the FIRST KoP?

Last edited by fowlerm : 18-10-2006 at 10:58.
  #23   Spotlight this post!  
Unread 18-10-2006, 10:50
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by Tom Bottiglieri
I'm wondering why you would want to run CE when there is a perfectly good linux kernel that comes standard with these things.
The biggest reason is that it provides a powerful and stable OS (not to say that Linux isn't) that many developers would be more familiar with. CE shares many of the same SDK features as Win32, and the .NET CF makes it even easier to transition from desktop to embedded development.

Quote:
Originally Posted by Tom Bottiglieri
It seems logical to use an easily changeable script to manage this, rather than cross compiling each time you want to change something.
This isn't really an issue since .NET can dynamically load assemblies. Also there are many scripting languages that will work with the .NET CF. As soon as the .NET CF includes the System.Reflection.Emit namespace I will be doing most of my robotics development using IronPython (Python for the .NET CLR).

Quote:
Originally Posted by Tom Bottiglieri
As good as it this is, you will probably be able to get better efficiency from a compiled C program.
This is true, but there are many things that you can do to speed up your applications. The biggest issue is memory consumption (because of the JIT compiler), but with good coding this can be minimized. For a comparison of execution speed of the .NET CF 2 vs. native code on the PXA255 CPU this is a great article. Also, the .NET CF can invoke native methods from managed code, so you always have the option of mixing managed and native code to speed things up.
  #24   Spotlight this post!  
Unread 18-10-2006, 15:52
lupjohn's Avatar
lupjohn lupjohn is offline
Registered User
AKA: Larry Upjohn
FRC #0692 (FemBots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2002
Location: Sacramento, CA
Posts: 31
lupjohn is an unknown quantity at this point
Re: Gumstix Programming

Quote:
Originally Posted by EHaskins
I've been considering purchasing a gumstix computer( netstix 200xm-cf, or waysmall 400mhz). I know many teams have used gumsitxs on their robots, and I'm curious how you've programmed them?

I don't have access to a linux computer , and I have never done any linux programming , but I have done lots of Windows and embedded programming. I would appreciate any linux programming resources, or code for gumstixs, but more than anything I would like any comments on gumsitx, or any other systems you've used.

I know someone will ask so I'll say now. I plan to use the gumstix in a position tracking system, and poisably connect a web cam to replace the $&%#$^ CUMCam. I also want to be able to save a record of all inputs, motor outputs, and any other data I can so I can replay a match virtually to help identify problems.

EDIT: After looking through the gumstix models I'm leaning towards a Waysmall due to the serial ports.
Thanks,
Eric Haskins
Eric and all;
Microsoft has intro'd their robotics suite which drew dubious comments in previous threads. However I have read the interviews in several pubs and actually downloaded the August edition to play with. It would seem to me if this product is successful then the gumstix/winCE/VS2005( or facimile of the same) environment could be in the future of at least FRC. I would not be supprised if the DVD of the Robotic Studio ends up in the KOP for 2007. First's close ties with MIT would predict that some sort of global robotics software environment will eventually become part of the KOP of the near future. LRU.
  #25   Spotlight this post!  
Unread 23-10-2006, 15:47
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by lupjohn
It would seem to me if this product is successful then the gumstix/winCE/VS2005( or facimile of the same) environment could be in the future of at least FRC. I would not be supprised if the DVD of the Robotic Studio ends up in the KOP for 2007.
I don't think this will happen any time soon. MSRS doesn't have runtime support for Windows CE yet, so you would need to have Windows XP Embedded (and a 32-bit PC) running on your robot, which isn't practical at all.

If we were to get any of the new Microsoft development technology to play with next year I would think that it would be the .NET Micro Framework, but this is unlikely. The IFI RC would require different hardware and I don't think Microchip would be too receptive to moving away from their microcontroller line.
  #26   Spotlight this post!  
Unread 28-11-2006, 16:44
Max2007 Max2007 is offline
Registered User
no team
 
Join Date: Nov 2006
Location: UK
Posts: 1
Max2007 is an unknown quantity at this point
Re: Gumstix Programming

All,

Totally new to the world of robotics, but have been doing some reading and the gumstix looks like a good starting place , as its a new chip. Most of the pre-built bots I seem are all based around PIC chips, which seem very old now.

Looking at this thread it seems some people have been able to get the gumstix working with .NET, which for me is good news as that my background. Would be could if someone could PM or post an idiot guide to how to do this and what stix they bought. As the idea of linux is one I would like to avoid

Thanks in advance

M
  #27   Spotlight this post!  
Unread 01-12-2006, 01:46
gobeavs's Avatar
gobeavs gobeavs is offline
linux advocate
AKA: Ross
None #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Oregon
Posts: 71
gobeavs will become famous soon enoughgobeavs will become famous soon enough
Send a message via AIM to gobeavs
Re: Gumstix Programming

If I'm familiar with linux (gui and command line), is a gumstix easy to get running? Or is there some setup that needs to be done or any kind of learning curve?
__________________
"Never in the face of human conflict has so much been owed by so many to so few."
- Winston Churchill on the RAF in WWII
  #28   Spotlight this post!  
Unread 02-12-2006, 14:22
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by gobeavs
If I'm familiar with linux (gui and command line), is a gumstix easy to get running? Or is there some setup that needs to be done or any kind of learning curve?
You shouldn't have any problem. The Gumstix boards come preloaded with u-boot (the bootloader) and a 2.4.x kernel. I am not that familiar with the other Linux software that's included since I reflash them with a CE image as soon as I get them.
  #29   Spotlight this post!  
Unread 04-12-2006, 10:21
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: Gumstix Programming

Quote:
Originally Posted by Max2007
Would be could if someone could PM or post an idiot guide to how to do this and what stix they bought.
I don't have a setup guide for Windows CE on the Gumstix. I may write one in the future, but right now you can look at the documentation that others have contributed to the GotDotNet workspace for the Drumstix project.

See the above posts for hardware requirements.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini-ITX or Gumstix? lemoneasy Programming 1 10-04-2006 19:50
VEX or Gumstix? gobeavs Programming 5 06-04-2006 01:04
programming motors with programming kit BorisTheBlade FIRST Tech Challenge 4 01-11-2005 19:03
programming JasonWestHigh Technical Discussion 1 13-01-2003 20:54
programming archiver 2000 2 23-06-2002 22:59


All times are GMT -5. The time now is 02:09.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi