Go to Post What's an autonomous mode? - Bill Gold [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Old Today, 04:41 PM
JohnGaby JohnGaby is offline
Registered User
FRC #2102
 
Join Date: Jan 2014
Location: Encinitas
Posts: 22
JohnGaby is an unknown quantity at this point
Programming website

I am the programming mentor for team 2102, Team Paradox. We have put together a programming website that others may find useful:

http://programming.sdarobotics.org/

This site contains some tutorials which we use to teach programming to new members of the team. The programming is done using small inexpensive robots that we have designed, but we use Eclipse and Java and the programming environment is very similar to that used to program the FRC robots in Java.

In addition, last year we used a Raspberry Pi to do vision processing. Since this might be useful to anyone who might be considering doing something like this we are providing the code we used. To make this as easy to use as possible, we have downloads for Raspberry Pi system images that you can write to a micro SD card and not have to worry about figuring out how to install all of the necessary pieces. The Pi images contain an installed version of Eclipse (that runs on the Pi) which has C++ projects to do vision processing:

http://programming.sdarobotics.org/m...on-processing/

We are looking at possibly moving our vision processing to the NVIDIA board this year, and to that end we have done some preliminary work which we would like to share.

http://programming.sdarobotics.org/m...on-processing/

There are also two Eagle Cad files for custom boards that we may use this year. One is a breakout board for the TALON SRX and the second is a board to read a gyro using an Arduino:

http://programming.sdarobotics.org/more/downloads/

Any feedback on this material would be welcome.

John Gaby

Last edited by JohnGaby : Today at 04:45 PM.
Reply With Quote
  #2   Spotlight this post!  
Old Today, 05:40 PM
cbf cbf is online now
Registered User
FRC #2877
 
Join Date: Feb 2012
Location: Newton, MA
Posts: 72
cbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nice
Re: Programming website

Your site looks really interesting. But the most interesting part to me is that you seem to have put together an environment that emulate WPILib and associated tools on a Raspberry Pi, so writing robot code to run on your Raspberry Pi looks very much like programming the RoboRio.

This may be just what we need for some small projects, and as a software testbed for our competition robot.

Do you emulate things like CANTalon classes? (I know -- at this point, I should probably unpack it and find out for myself.)

Thanks!
Reply With Quote
  #3   Spotlight this post!  
Old Today, 05:46 PM
JohnGaby JohnGaby is offline
Registered User
FRC #2102
 
Join Date: Jan 2014
Location: Encinitas
Posts: 22
JohnGaby is an unknown quantity at this point
Re: Programming website

I am afraid I have not figured out the CAN bus yet. I have a CAN bus module, and have looked into it, but it is quite complicated. It is even more complicated by the fact that the FRC Talons are apparently encrypted and it appears that you need to download a non-encrypted version from the manufacturer's website. Even given that you get that version, the code to control it is quite complex.

If anyone can figure it out, I would love to add it to the software.
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 07:04 PM.

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