Go to Post The true beauty is, no matter what the game (Yes, even 2001), we spend these 6 weeks going crazy with design strategy, and trying to figure out a way to work the plot twists that the GDC throws at us...and its a blast. - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 23-05-2013, 15:33
Halo_Kid_3633's Avatar
Halo_Kid_3633 Halo_Kid_3633 is offline
Registered User
FRC #3633 (Catayst)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Albert Lea, MN
Posts: 9
Halo_Kid_3633 is an unknown quantity at this point
Is this Programmable with C++?

My team loves to make programmers have nightmares and really want to use this to control our robot, but I dont know if it possible.

Team 3633
Reply With Quote
  #2   Spotlight this post!  
Unread 23-05-2013, 20:26
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Is this Programmable with C++?

Possible? ANYthing is possible.
Practical, worthwhile, interesting... THOSE are the questions to ask.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 23-05-2013, 21:53
mman1506's Avatar
mman1506 mman1506 is offline
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 805
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Re: Is this Programmable with C++?

It's a modified arduino. Use this http://www.team221.com/robotopen/

It's exactly the same but with a nice safe communication protocol written for you.
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor

2017: Free Agent Mentor, Inspector
Reply With Quote
  #4   Spotlight this post!  
Unread 26-05-2013, 17:18
Halo_Kid_3633's Avatar
Halo_Kid_3633 Halo_Kid_3633 is offline
Registered User
FRC #3633 (Catayst)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Albert Lea, MN
Posts: 9
Halo_Kid_3633 is an unknown quantity at this point
Re: Is this Programmable with C++?

well is it
Quote:
Originally Posted by DonRotolo View Post
Practical, worthwhile, interesting
Reply With Quote
  #5   Spotlight this post!  
Unread 26-05-2013, 17:22
Halo_Kid_3633's Avatar
Halo_Kid_3633 Halo_Kid_3633 is offline
Registered User
FRC #3633 (Catayst)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Albert Lea, MN
Posts: 9
Halo_Kid_3633 is an unknown quantity at this point
Re: Is this Programmable with C++?

Quote:
Originally Posted by mman1506 View Post
It's a modified arduino.
No its not this would go into the computer.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-05-2013, 17:27
mman1506's Avatar
mman1506 mman1506 is offline
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 805
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Re: Is this Programmable with C++?

Quote:
Originally Posted by Halo_Kid_3633 View Post
No its not this would go into the computer.

Yes it is. Check out the schematic http://dlnmh9ip6v2uc.cloudfront.net/..._makey-v12.pdf and the github https://github.com/sparkfun/makeymakey

It is programmed with the arduino IDE and is an arduino derivative.
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor

2017: Free Agent Mentor, Inspector
Reply With Quote
  #7   Spotlight this post!  
Unread 31-05-2013, 12:33
Halo_Kid_3633's Avatar
Halo_Kid_3633 Halo_Kid_3633 is offline
Registered User
FRC #3633 (Catayst)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Albert Lea, MN
Posts: 9
Halo_Kid_3633 is an unknown quantity at this point
Re: Is this Programmable with C++?

So I've been looking at this some more and the thing holding me up from getting this is, does the Driver Station recognize the Makey Makey as a Joystick or not, and if it doesn't is it possible to modify if to recognize as a Joystick?
Reply With Quote
  #8   Spotlight this post!  
Unread 24-07-2013, 10:43
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 754
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: Is this Programmable with C++?

The Makey Makey is an Arduino (Arduino Sketch editor is C++ code) that connects by USB to a host and is recognized as a keyboard or mouse.

This should help you out: https://www.sparkfun.com/tutorials/378

If you want to get a joystick, you'd need access to the analog input (pins A0 to A5 are analog) of the Atmel chip on the MaKey MaKey and follow something like this: http://www.arduino.cc/en/Tutorial/JoyStick.

Last edited by protoserge : 24-07-2013 at 10:58.
Reply With Quote
  #9   Spotlight this post!  
Unread 21-10-2013, 09:56
nightpool's Avatar
nightpool nightpool is offline
robotRectifier
AKA: Evan
no team (formerly of CORE 2062)
Team Role: Alumni
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 81
nightpool is on a distinguished road
Re: Is this Programmable with C++?

The MakeyMakey talks to the computer as if it were a keyboard and mouse. So getting it to interface with the Driver Station would require either an additional third party program, such as AutoHotKey, or reprogramming the MakeyMakey's built-in arduino. See http://www.makeymakey.com/forums/index.php?topic=5630.0 for an idea of how to get started with stuff like that.
__________________
Proud alum of CORE 2062.
www.core2062.com
Reply With Quote
  #10   Spotlight this post!  
Unread 21-10-2013, 11:13
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Is this Programmable with C++?

It's possible to program the Dashboard to recognize keypresses on the computer running the Driver Station program, and to communicate to the robot based on the keys pressed. You can use a custom UDP communication scheme, or put the desired information in a Network Tables variable and let the provided framework move the data from place to place.
Reply With Quote
  #11   Spotlight this post!  
Unread 29-10-2013, 08:21
mechanical_robot's Avatar
mechanical_robot mechanical_robot is offline
Registered User
no team
Team Role: Driver
 
Join Date: Jul 2013
Rookie Year: 2013
Location: United States
Posts: 92
mechanical_robot will become famous soon enough
Re: Is this Programmable with C++?

Quote:
Originally Posted by Halo_Kid_3633 View Post
No its not this would go into the computer.
What do you mean? You can you a arduino to interface with a laptop computer. I say this because the Arduino is a computer too just not very powerful. But anyways Arduino is much better than a laptop at reading raw sensor data with it's raw I/O pin ports. What you can do is program the Arduino to detect a input then interface the arduino with the laptop through USB and using serial communication, then having a program on the computer that can read the Arduino's serial data then perform a programmed action on the computer.

I hope you know what I mean.
Reply With Quote
  #12   Spotlight this post!  
Unread 05-11-2013, 11:31
Halo_Kid_3633's Avatar
Halo_Kid_3633 Halo_Kid_3633 is offline
Registered User
FRC #3633 (Catayst)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Albert Lea, MN
Posts: 9
Halo_Kid_3633 is an unknown quantity at this point
Re: Is this Programmable with C++?

Quote:
Originally Posted by Alan Anderson View Post
It's possible to program the Dashboard to recognize keypresses.
How do I go about doing this?
__________________
haha

- Yup Me
Reply With Quote
  #13   Spotlight this post!  
Unread 05-11-2013, 14:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Is this Programmable with C++?

Quote:
Originally Posted by Alan Anderson View Post
It's possible to program the Dashboard to recognize keypresses...
Quote:
Originally Posted by Halo_Kid_3633 View Post
How do I go about doing this?
The relevant functions are in the Connectivity -> Input Device Control subpalette. Use the Initialize Keyboard vi to create a reference to the computer's keyboard. Pass that reference to the Acquire Input Data vi. The output of the Acquire will be an array containing all the keys that are currently pressed.

If you want to test for a specific key, you can feed the "keys pressed" array into a For Loop using auto-indexing. Each iteration of the loop will get one of the keys in the array. You can compare the detected key against a constant representing the key you are looking for.
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


All times are GMT -5. The time now is 03:22.

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