Go to Post Of course this should be your decision- not the FIRST community's. Take charge of your destiny. - Wayne C. [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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 03-10-2014, 11:34
jtrv's Avatar
jtrv jtrv is offline
github.com/jhtervay
AKA: Justin
FRC #2791 (Shaker Robotics)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Latham, NY
Posts: 148
jtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to all
What have you developed or are in process of developing?

Hello,

With the recent rapid growth of our programming and control systems, I'd like to take on a big challenge this year. Nothing that would require multiple build seasons, since this is my senior year and I'd like to finish it while I'm still around, but hey, anything works. I've looked into splines from 254 and that seems probably the highest bar we can set for ourselves. We have a PID system working.

So i'd like to know what you guys are in process of developing to maybe spark some ideas for myself.
__________________
2791 (2012-2017)
  #2   Spotlight this post!  
Unread 03-10-2014, 12:20
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,075
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: What have you developed or are in process of developing?

We are in the process of developing a 2-ball autonomous for our off-season events.

Additionally, we have been playing around with field-centric tank drive code. Our robot was symmetric last year, so a field centric drive that gives no preference to the "front" or the "back" of the robot might actually be very beneficial.
  #3   Spotlight this post!  
Unread 03-10-2014, 21:17
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 544
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: What have you developed or are in process of developing?

Quote:
Originally Posted by inkling16 View Post
Additionally, we have been playing around with field-centric tank drive code.
ehm... what...

I've just been toying around with a square bot (omnis with equal horizontal and vertical force) as a way to learn some mechanical (already knew more electrical than the experiment would be able to teach)

Whenever I get a few minutes of free time i also work on fss (First Scripting Syntax) which was designed to be a combination of C++, Java, and Wurst (which in itself is a combination of python and the native scripting syntax) but I've spent so much time developing a code editor window for java that i have no idea what im doing anymore, not to mention anytime my freetime is over an hour i just end up watching anime. (it would be worth mentioning I'm our team's only programmer)

fun little ideas for your team that i jot down in a notebook whenever i think of some -
Automatic error recovery
Code logic probe
Custom dashboard for modifying constants (SmartDashboard just nver appealed to me in that aspect)
Text-based auton system (i did this in under an hour, its not that hard. in another two hours i had a full gui and automatic compiler + deployment, which is ironic because i've been working on redoing that gui for the 2015 system for over 5 months now)
Voltage modulation (send a motor 8 volts)
vision processing (<insert cliche method to process images here>)
automatic controller detection (ps3, xbox 360, logitech, flightstick, yadaydada)
auton mode swapping (2014 we did it with start and select on the driver controller)
automatic ping reports (idk just a thought, if you thought ur robot had shaky comms during the match u can just upload the ping reports)
spibus absolute encoders (those won us an innovation in controls award and a judges award last year)

Last edited by Arhowk : 03-10-2014 at 21:24.
  #4   Spotlight this post!  
Unread 03-10-2014, 23:19
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,075
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: What have you developed or are in process of developing?

Quote:
Originally Posted by Arhowk View Post
ehm... what...
We are roughly using the approach laid out in this whitepaper. We had a working gyro and some basic autonomous functionality with it last season, and are looking to become even more familiar with this sensor. In addition to the basic functionality described in the paper, we would also like to:
Add a button the driver can press that sets speed_command to zero, allowing the robot to turn in place to the angle specified by the joystick.
Make the maximum angle that allows the robot to turn forward instead of backward (in the text given as the number 100) a function of the robot's velocity, and not just a constant.
  #5   Spotlight this post!  
Unread 03-10-2014, 23:28
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: What have you developed or are in process of developing?

This summer, I wrote a scripting language for auto mode, using LabVIEW. Can be updated instantly through the dashboard, has support for running multiple commands simultaneously (needed for our two ball auto), and I'm considering adding conditionals (if statements).

I'm also planning on experimenting with vision and potentially on-board kinect.
__________________
Head Programmer / Driver
  #6   Spotlight this post!  
Unread 04-10-2014, 01:38
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 487
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: What have you developed or are in process of developing?

Manual override mode: For every PWM/solenoid/relay/digital output on the cRIO you could press a sequence of buttons on a gamepad to set it to a chosen value. Useful for initial bring-up of components, debugging, or if something goes unexpectedly wrong during a match. This was especially useful for us because our normal operation modes involved doing a lot of actions at once.

To use it, you'd basically hit a button to specify the output type, then a couple to specify which output number, and then a couple more to choose the value to set it to. So for example, the values available for the PWMs were full forward, full reverse, stop, or "no override".

This feature was easy to implement because of the overall design of our code. At a high level, it looked like this:
Code:
      +------------------------------------------------+
      | +-------------+                                |
      | |             |                                |
      | +>|---------| |                                |
      +-->|state    | |                                |
sensor--->|estimator|-+->|-------------|               |
input     |---------|    |control logic|->overrides->outputs
user input--->goals----->|-------------|    ^
    |                                       |
    +---------------------------------------+
All the outputs are collected together into a datastructure. So after the "normal" control logic ran it was easy to change parts of the output before it was written, and these changes would natuarally be reflected in the state estimation code. This meant that we didn't have to snake any changes through the normal control logic or state estimation code.
  #7   Spotlight this post!  
Unread 04-10-2014, 08:03
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: What have you developed or are in process of developing?

Im in the process of developing a scouting app as of right now, though when I get access to a robot, I want to test the use of an Intel Galileo and a fork of CheesyVision for my team's use (if it's allowed next year.)
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #8   Spotlight this post!  
Unread 04-10-2014, 10:17
Kingland093 Kingland093 is offline
Registered User
FRC #4215 (Trinity Tritons)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Minnesota
Posts: 107
Kingland093 will become famous soon enough
Re: What have you developed or are in process of developing?

My team has been working on vision tracking for the past 2 years… still without success. I've been also looking into encoders and ultrasonic rangefinders
__________________
McGill University Mechanical Engineering Class of 2020
FRC 4215: Trinity Tritons 2013-2016 (Programmer, Strategy, Driver)


2015 MRI Winner (with 3130, 2052, and 2531)
2015 MN State Championship Winner (with 2512 & 3130)
2015 Double DECC'er Winner (with 3130 & 525)
2015 Northern Lights Winner (with 3130 & 525)
  #9   Spotlight this post!  
Unread 04-10-2014, 10:17
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: What have you developed or are in process of developing?

Quote:
Originally Posted by Kingland093 View Post
My team has been working on vision tracking for the past 2 years… still without success. I've been also looking into encoders and ultrasonic rangefinders
Are you using LabVIEW?
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #10   Spotlight this post!  
Unread 04-10-2014, 10:34
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: What have you developed or are in process of developing?

This project has been drawn out for a few years, and it is sort of my child now. I'm getting paid (via grants) to work on it in the lab at the university I go to.

Take data from the kinect's depth map, find objects in front of it, input those into my path finding algorithm, use our vision system to find where we are on the field and which way we are facing (camera pose estimation), generate a path based on where we are, with the obstactles the kinect detected, to a point on the field in which we can score, and follow that path (much like 254's code this year)
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
  #11   Spotlight this post!  
Unread 04-10-2014, 10:35
Kingland093 Kingland093 is offline
Registered User
FRC #4215 (Trinity Tritons)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Minnesota
Posts: 107
Kingland093 will become famous soon enough
Re: What have you developed or are in process of developing?

Quote:
Originally Posted by pastelpony View Post
Are you using LabVIEW?
Java
__________________
McGill University Mechanical Engineering Class of 2020
FRC 4215: Trinity Tritons 2013-2016 (Programmer, Strategy, Driver)


2015 MRI Winner (with 3130, 2052, and 2531)
2015 MN State Championship Winner (with 2512 & 3130)
2015 Double DECC'er Winner (with 3130 & 525)
2015 Northern Lights Winner (with 3130 & 525)
  #12   Spotlight this post!  
Unread 04-10-2014, 10:39
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,019
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: What have you developed or are in process of developing?

I'm developing an online training program for FRC robot inspectors. And hoping FIRST will approve it...

(Not off-topic: It does involve programming, and robots, but perhaps not in the usual sense...)
__________________

I am N2IRZ - What's your callsign?
  #13   Spotlight this post!  
Unread 04-10-2014, 11:00
Pratik Kunapuli's Avatar
Pratik Kunapuli Pratik Kunapuli is offline
Probably browning-out on Astro-Turf
FRC #1648 (G3 Robotics)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Atlanta, GA
Posts: 143
Pratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to all
Re: What have you developed or are in process of developing?

Quote:
Originally Posted by Kingland093 View Post
Java
WPI has a decent tutorial for vision processing here. It goes through example code for both Java and C++ and does a pretty good job of explaining the process. My other suggestion would be to look through this white paper. It is Team 341's vision processing code form 2012 written in Java. The thread associated with the paper also answers a lot of questions.
__________________
Official Driving Record: 101-59-0
2012-2015 Student 341 Miss Daisy
2015-Current Mentor 1648 G3 Robotics
  #14   Spotlight this post!  
Unread 04-10-2014, 12:59
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: What have you developed or are in process of developing?

Looks like it's time to post what I want to do over the course of now until the season, and during the season.

1. Develop cheesy drive with a steering wheel being used for turning
2. Work on a WCD and reversible alternate material bumpers + code for shifter gearboxes.
3. Work on splines similar to what 254 has done.
4. Learn how to program co-processors. *Most likely an arduino*
  #15   Spotlight this post!  
Unread 04-10-2014, 13:26
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: What have you developed or are in process of developing?

Last night, I got a prototype working of a set of buildscripts as part of my team's code framework that lets us download our code to either the roboRIO or the cRIO, both with Java 5 features (or 8 on the roboRIO), from the exact same project.
Essentially I ripped out all of the internals from the WPILibJ 2014 SDK, added in Retrotranslator, built a new version of the preverifier executable, modified the build process for faster building, and then put everything into our shared buildscript. The current complete build process for this goes:

When our framework changes: Build CCRE Core Jar file, Build pre-Igneous library packages, Compile Igneous code (Java 1.5), Unpack pre-Igneous libraries, Retrotranslate libraries (except for stub StringBuilder class), Preverify libraries (with upgraded preverifier), Build post-Igneous library packages.
When our code changes: Compile Robot Code (Java 1.5), Retrotranslate Robot Code, Unpack post-Igneous libraries without StringBuilder stub, Preverify libraries (with upgraded preverifier), Package application Jar, Romize Robot Code Suite, Download and Erase Robot Logfiles, Possibly upgrade Squawk release, Deploy Robot Code Suite, Reboot Robot via OTA, open cRIO console.

I'm still getting it to work even if you don't have the roboRIO plugins installed, and once we have that, our entire software team can switch over to Eclipse for code development and the only thing that they'll need to do to target the roboRIO once the build season starts is to install the roboRIO SDK plugins and press a different download button.

I'm also working on upgrading the Poultry Inspector application (named as such because our team is "The Flaming Chickens"), which is a dashboard replacement that uses our team's pub/sub networking protocol (named Cluck, for similar reasons as before.)
I've been upgrading it to have a cleaner interface (SuperCanvas) designed to work well with a touchscreen, and I'm working on extending it to have more options for interaction.

Other goals for the near future: write Eclipse plugins for our code framework, add built-in Mechanum support, add a virtual patch panel system to reconfigure I/O at runtime, add a more robust configuration toolkit, build a unified automatic deployment system, and other miscellaneous features.
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook

Last edited by Cel Skeggs : 04-10-2014 at 13:31. Reason: Minimized length of long post.
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


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

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