Go to Post The weight sounds about right, too. If you need more than 65 pounds for your manipulator, then the drivetrain isn't the part you should be redesigning... - s_forbes [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
  #1   Spotlight this post!  
Unread 15-11-2002, 10:48
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
RoboEmu for Linux (PBASIC emulator)

Well, I just finished porting RoboEmu over to Linux/Gtk+. It includes all the functionality of the Windows version, plus it is a little more stable and doesn't have some of the nasty quirks of Windows.

Anyway, to build it, follow the instructions in the file INSTALL after untar/ungziping it. If you need a binary, contact me and I'll see what I can do.

Assuming you people don't find all sorts of errors/problems with it, I'll start working on a PBASIC IDE for Linux this weekend. If all goes well, it should be done by Monday morning...maybe.

As always, it's available at my website:
http://FIRSTprograms.tripod.com/Programs.htm

While you're there, check out gDash, a Gtk+ based dashboard viewer for Linux.

--Rob

P.S. Glade is amazing!
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #2   Spotlight this post!  
Unread 21-11-2002, 13:15
Neal Probert's Avatar
Neal Probert Neal Probert is offline
Registered User
#1015 (Pi High Samurai)
 
Join Date: Jan 2002
Location: Ann Arbor, MI
Posts: 48
Neal Probert is on a distinguished road
Send a message via ICQ to Neal Probert Send a message via AIM to Neal Probert Send a message via Yahoo to Neal Probert
Talking Basic Stamp IDE for Linux

I just checked out your RoboEmu. I'm impressed with your programming
skills and you're still only in high school. I will be eagerly awaiting
your PBASIC IDE.

I had been thinking of how to take advantage of the Parallax Tokenizer
yet combine it with an existing editor or IDE. Doing so will take your
PBASIC IDE to a higher level. Some that I have found:

Anjuta http://anjuta.org/
Eclipse http://www.eclipse.org/
KDevelop http://www.kde.org/
Scintilla http://www.scintilla.org/
__________________
Ypsilanti-Ann Arbor Area Robotics Club
YAAARC! The sound you make as your robot rolls off the workbench...
http://www.yaaarc.org/
------------------------------
Software Engineer (20+ years experience)
ProbeStar Technical Systems, LLC.
http://www.probestar.com/
  #3   Spotlight this post!  
Unread 21-11-2002, 16:39
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Thanks for the feedback.

I've run into two problems so far, and if anyone knows how to fix them, it should make everything go much faster:

-Setting DTR: for some reason, I always get I/O errors when trying to do it with ioctl.

-Setting break condition: is there any way to do this in non-asyncronous mode? tcsendbreak documentation says it only works in async mode and that's not what I want to use for the rest of the program, but I suppose I could if need be.

Right now, I'm just trying to get RoboIDE to work from a command line, but as soon as that is working, I'll add a GUI (possibly finding a way to integrate with KDevelop, etc). Everything is written except for the "reset sequence" with the BS2sx, which requires the DTR and break signals to be sent and I REALLY don't want to do it with assembly by setting individual I/O bits.

Anyway, hopefully I'll figure this out sometime before the season starts...
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #4   Spotlight this post!  
Unread 21-11-2002, 17:34
Neal Probert's Avatar
Neal Probert Neal Probert is offline
Registered User
#1015 (Pi High Samurai)
 
Join Date: Jan 2002
Location: Ann Arbor, MI
Posts: 48
Neal Probert is on a distinguished road
Send a message via ICQ to Neal Probert Send a message via AIM to Neal Probert Send a message via Yahoo to Neal Probert
Wink Linux Serial Port Information

I know it can be done, but assembly isn't necessary. You might have to do everything in raw mode. Direct port I/O is frowned upon, though it is possible. Use the ioctl if you can.

Check out these web sites:

http://www.linux.org/docs/ldp/howto/Serial-HOWTO.html
http://www.linux.org/docs/ldp/howto/...WTO/index.html

And especially this site for anything Unix and Linux related:

http://www.stokely.com/unix.sysadm.resources/
__________________
Ypsilanti-Ann Arbor Area Robotics Club
YAAARC! The sound you make as your robot rolls off the workbench...
http://www.yaaarc.org/
------------------------------
Software Engineer (20+ years experience)
ProbeStar Technical Systems, LLC.
http://www.probestar.com/
  #5   Spotlight this post!  
Unread 21-11-2002, 19:16
Morgan Jones Morgan Jones is offline
Registered User
no team
 
Join Date: Jan 2002
Location: Fairport, NY
Posts: 29
Morgan Jones is an unknown quantity at this point
I'd be your biggest fan if I could program 578's robot in Linux. I'm not a big fan of Windows. Good luck, and I eagerly await anything!
__________________
Morgan Jones
Team 578: Fairport High School/Gleason Works
  #6   Spotlight this post!  
Unread 21-11-2002, 21:08
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Re: Linux Serial Port Information

Quote:
Originally posted by Neal Probert
I know it can be done, but assembly isn't necessary. You might have to do everything in raw mode. Direct port I/O is frowned upon, though it is possible. Use the ioctl if you can.

Check out these web sites:

http://www.linux.org/docs/ldp/howto/Serial-HOWTO.html
http://www.linux.org/docs/ldp/howto/...WTO/index.html

And especially this site for anything Unix and Linux related:

http://www.stokely.com/unix.sysadm.resources/
Thanks for the links! I was working off an old version of Peter Bauman's Serial Programming HOWTO that didn't include the link to the POSIX standard stuff, which ended up being the most helpful. As soon as I get a charged battery (the one in the robot I have at my house is dead and I stupidly forgot to grab a charge), I'll be giving it a try.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
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
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
RoboEmu 1.09 (supports PBASIC 2.5) rbayer Programming 22 21-01-2003 17:22
RoboEmu v.1a (another PBASIC emulator) rbayer Programming 0 07-07-2002 00:45
Need list of feature for PBASIC emulator. rbayer Programming 37 20-06-2002 16:17
Is there going to be a PBasic emulator out there?? Matt Attallah Programming 7 14-12-2001 13:20


All times are GMT -5. The time now is 01:18.

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