Go to Post Magic doesn't count as a support, sorry. Neither does simply constraining in CAD... - EricH [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-05-2005, 03:04
swordfish7 swordfish7 is offline
Registered User
no team
 
Join Date: May 2005
Location: seattle
Posts: 3
swordfish7 is an unknown quantity at this point
lego programming

hey, kinda new to lego robotics programming here. I have a competition coming up where we have to make robots that combat one another in an obstacle course. I was wondering if anyone knew any commands that would disable a robot through infrared signals.

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-05-2005, 03:11
Vu2000 Vu2000 is offline
Midnight Mechanic
None #0812 (Midnight Mechanics)
Team Role: Alumni
 
Join Date: Feb 2003
Rookie Year: 2002
Location: San Diego
Posts: 88
Vu2000 has a spectacular aura aboutVu2000 has a spectacular aura about
Send a message via AIM to Vu2000 Send a message via MSN to Vu2000
Re: lego programming

Wow you should check with your competition rules to see if that is allowed. I know Botball and FLL strictly prohibit it, but maybe your competition is a free for all.
__________________
Peace up; A-Town Down

2006 So Cal Chairman's Award!!!
2005 So Cal Chairman's Award
2005 So Cal Safety Honorable Mention (safety captain)
2004 Championship Engineering Inspiration
2004 So Cal Engineering Inspiration
Reply With Quote
  #3   Spotlight this post!  
Unread 09-05-2005, 07:15
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: lego programming

Even if it was legal, I doubt that you could get either the RCX or the Scout to send the command you need, the Stop command. It comes from the remote that you can buy for the RCX and is just like pressing the Run button after the program has been started, it stops the program. Also, from this remote, you can start any program on the robot (1-5) and make it play a test tone. Good luck.
__________________
Aren't signatures a bit outdated?
Reply With Quote
  #4   Spotlight this post!  
Unread 09-05-2005, 10:12
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: lego programming

It is possible to do what you want, but you have to go very advanced.

To have direct access to the IR port, you have to use an alternate firmware, such as BrickOS or http://lejos.sourceforge.net/]LeJOS. Installation of either of these (especially BrickOS) is extremely difficult on Windows systems. I've never used either on Linux, but the installation should be (in theory), slightly easier.

BrickOS allows you to program the robot in C or C++, while LeJOS uses Java.

--EDIT--
As warned above, check the legality of sending shutdown commands to the RCX. Also, check if alternate firmware is allowed.
__________________

Reply With Quote
  #5   Spotlight this post!  
Unread 09-05-2005, 10:58
Alexander McGee's Avatar
Alexander McGee Alexander McGee is offline
Hoonigan
AKA: Alexander S. McGee
no team (no team)
Team Role: Engineer
 
Join Date: Sep 2002
Rookie Year: 1998
Location: Auburn Hills, Michigan
Posts: 392
Alexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond reputeAlexander McGee has a reputation beyond repute
Send a message via AIM to Alexander McGee Send a message via Yahoo to Alexander McGee
Re: lego programming

Yes, I have done just this.

You must use lejOS running some other software package (i used java). You then set up a command which sends out a fury of commands, (such as stop, reverse, etc). The only downfall of this is the limited range of the IR transmitter on the RCX.

It's definitely worth playing with!
__________________
-Alexander S. McGee
Intellectual Property Attorney, Mechanical Engineer, Gear-head
Reply With Quote
  #6   Spotlight this post!  
Unread 12-05-2005, 01:26
swordfish7 swordfish7 is offline
Registered User
no team
 
Join Date: May 2005
Location: seattle
Posts: 3
swordfish7 is an unknown quantity at this point
Re: lego programming

thanks a lot for the help. I might try playing around with that. I'm doing a combat obstacle course. It's pretty much a free-for-all. I think there is a simpler way in this case though. the other robots have to be programmed to recieve a remote signal "message() ==1" to shut them down temporarily so if they don't immediately disable their IR imput I'll be able to broadcast this message and shut them down.

I will try some of the more complicated stuff you talked about though. Thanks a lot!
Reply With Quote
  #7   Spotlight this post!  
Unread 12-05-2005, 01:30
swordfish7 swordfish7 is offline
Registered User
no team
 
Join Date: May 2005
Location: seattle
Posts: 3
swordfish7 is an unknown quantity at this point
Re: lego programming

One more question:

I'm programming in NQC with Bricx Command Center. Can i broadcast the right signals using this language/compiler?

Otherwise I know the java language and I'll probably try leJOS.

thanks
Reply With Quote
  #8   Spotlight this post!  
Unread 12-05-2005, 07:07
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: lego programming

Quote:
Originally Posted by swordfish7
I'm programming in NQC with Bricx Command Center. Can i broadcast the right signals using this language/compiler?
I don't think so, but I could be wrong. You could send the IR message 1, of course.
__________________

Reply With Quote
  #9   Spotlight this post!  
Unread 12-05-2005, 08:18
Tytus Gerrish's Avatar
Tytus Gerrish Tytus Gerrish is offline
IGAB, ADHD, and Dislexic
AKA: Ty
FRC #0179 (SwampThing)
Team Role: Tactician
 
Join Date: Feb 2003
Rookie Year: 2001
Location: West Palm Beach, Florida
Posts: 2,017
Tytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond repute
Re: lego programming

we had alot of fun with this...
Attached Thumbnails
Click image for larger version

Name:	off.JPG
Views:	32
Size:	9.7 KB
ID:	3400  
Reply With Quote
Reply


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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Lego 1-Day event ideas Andrew Schuetze Fundraising 5 28-07-2004 17:58
LEGO programming 811SmallFry FIRST Lego League 20 27-06-2004 07:35
**IMPORTANT FIRST EMAIL**/Statement about LEGO MINDSTORMS and FIRST LEGO League miketwalker FIRST E-Mail Blast Archive 1 15-01-2004 16:47
LEGO Biped Project rlowerr_1 Robot Showcase 23 07-09-2003 14:21


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

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