Go to Post The heat gun is not an arm rest. Especially when it is on. - Fuego247 [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: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 07-02-2010, 09:32 AM
akalmbach akalmbach is offline
Edu. Tech. Marketing Intern
FRC #2079 (ALARM)
 
Join Date: Jul 2010
Rookie Year: 2007
Location: MA
Posts: 3
akalmbach is an unknown quantity at this point
Beta-Testers for new Simulink FRC Blockset Wanted

MathWorks is developing a Simulink/MATLAB library to program FRC robots. This library is based on the WPILib C++ library, and allows teams to create and test robot control algorithms in an interactive graphical environment using block diagrams and state charts. We are currently looking for FRC teams that would be interested in beta-testing the library and giving us feedback. Eligible teams will get licenses for relevant MathWorks products at no charge.

In order to be eligible, an FRC team should:
1) Have prior experience with WPILib (either the C++ or Java interface).
2) Have access to the NI cRIO hardware and WindRiver Workbench software; more generally, you need to have all the software and tools necessary for using WPILib, along with a Windows XP system.
3) Have a mentor who has some experience with Simulink or Stateflow. This is not a strict requirement, but keep in mind that since the library is a beta version, there may be gaps in the functionality and documentation.

Beta-testing includes: Downloading and installing the necessary MathWorks products, developing Simulink models to control the robot, downloading compiled code to the NI CompactRIO, and evaluating the ease-of-use of the entire process.

If you are interested, contact Gautam Vallabha (gautam.vallabha@mathworks.com, 508-547-2008) or myself before July 30, 2010. We plan to have the beta version ready for distribution in late July.
  #2   Spotlight this post!  
Unread 07-02-2010, 07:02 PM
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Beta-Testers for new Simulink FRC Blockset Wanted

does this involve proprietary and evil software?
  #3   Spotlight this post!  
Unread 07-02-2010, 08:14 PM
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by Robototes2412 View Post
does this involve proprietary and evil software?
MATLAB and Simulink are both created by The Mathworks, and are proprietary, but I wouldn't call them evil. MATLAB is one of my five favorite languages, and my go-to for simulation / optimization problems. Anyone in school for physics or engineering will likely learn MATLAB.

I'm not as big of a fan of Simulink (I really prefer LabVIEW's data flow model), but this is pretty exciting. I'm always happy to see new options, and The Mathworks does a really amazing job with just about everything I've used from them.
  #4   Spotlight this post!  
Unread 07-02-2010, 08:25 PM
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by Robototes2412 View Post
does this involve proprietary and evil software?
proprietary != evil.

Just because everything made by a company with an apple for a logo happens to be both proprietary and evil, does not mean everything that is proprietary is evil.

Sometimes proprietary software is actually good.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 07-02-2010, 09:18 PM
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: Beta-Testers for new Simulink FRC Blockset Wanted

That's VERY cool. To me, Simulink is much easier to use than LabVIEW - too bad we don't have WPILib experience or we'd jump right in!
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
  #6   Spotlight this post!  
Unread 07-03-2010, 03:54 PM
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Beta-Testers for new Simulink FRC Blockset Wanted

I consider every single byte of software that is not open source || proprietary as evil
  #7   Spotlight this post!  
Unread 07-03-2010, 04:18 PM
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,055
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by Robototes2412 View Post
I consider every single byte of software that is not open source || proprietary as evil
Then start your own thread in chit chat to discuss that. This is not the place.

Matlab is one of those pieces of software I wish I knew better. I hope your beta test goes well.
__________________




.
  #8   Spotlight this post!  
Unread 07-06-2010, 01:19 PM
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Okay, so a few questions:

1.Is this going to be an option on the table for next year's competition? If so, will it replace labview, or just be another option?. If not, when are you looking at introducing it?

2.Is this purely a third-party product, or will it be part of the "official" FIRST software, like Java, C++, and labview are now?

3.Will this be able to compile code or use native libraries for processing-intesnsive operations(like java does now)? Or will we be limited to just the interpreted MATLAB/simulink code?
__________________
Get yer robot source code here!
  #9   Spotlight this post!  
Unread 07-07-2010, 12:08 PM
akalmbach akalmbach is offline
Edu. Tech. Marketing Intern
FRC #2079 (ALARM)
 
Join Date: Jul 2010
Rookie Year: 2007
Location: MA
Posts: 3
akalmbach is an unknown quantity at this point
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by nathanww View Post
Okay, so a few questions:

1.Is this going to be an option on the table for next year's competition? If so, will it replace labview, or just be another option?. If not, when are you looking at introducing it?

2.Is this purely a third-party product, or will it be part of the "official" FIRST software, like Java, C++, and labview are now?

3.Will this be able to compile code or use native libraries for processing-intesnsive operations(like java does now)? Or will we be limited to just the interpreted MATLAB/simulink code?
To answer your questions,

1. Yes, we are planning on having a version of the Simulink FRC Library ready for the 2011 season. It is not a replacement for LabVIEW; rather, it is an alternative graphical environment for designing robot control algorithms and generating code for them. The graphical notation can include state diagrams as well as signal flow diagrams, and is especially well suited for simulation and testing.

2. For the 2011 season, the Simulink FRC Library will be a third party product, available to any team who requests it from us. It will not be part of the official FIRST FRC kit for 2011.

3. The Simulink FRC Library can be used in two ways. (a) you can run the Simulink model (on your host computer) to simulate and test your algorithm. (b) you can generate C++ code from it which will be compiled, linked with the WPILib and native libraries, and downloaded to the NI CompactRIO. There is no interpreter or virtual machine involved; the generated code is straight C++ code that you can read and modify if you wish (though typically this would not be necessary). You can incorporate custom C++ code as well.
  #10   Spotlight this post!  
Unread 07-07-2010, 12:54 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by akalmbach View Post
you can generate C++ code from it which will be compiled, linked with the WPILib and native libraries, and downloaded to the NI CompactRIO. There is no interpreter or virtual machine involved; the generated code is straight C++ code that you can read and modify if you wish
Last time I looked at Simulink C code generation (admittedly probably 20-odd years ago) it used double-precision floats for booleans. Has the code generator now been optimized for realtime embedded controllers?

~
  #11   Spotlight this post!  
Unread 07-07-2010, 05:33 PM
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by Ether View Post
Last time I looked at Simulink C code generation (admittedly probably 20-odd years ago) it used double-precision floats for booleans. Has the code generator now been optimized for realtime embedded controllers?

~
Ether -

It sounds like it implemented political booleans, rather than engineering booleans: True, False, and nearly 2^64 shades of grey including whiter than white and blacker than black.
  #12   Spotlight this post!  
Unread 07-07-2010, 05:43 PM
R2D2DOC's Avatar
R2D2DOC R2D2DOC is offline
Registered User
AKA: Laszlo Hideg
no team (Judge & Volunteer)
 
Join Date: Oct 2007
Rookie Year: 2006
Location: Michigan
Posts: 79
R2D2DOC will become famous soon enoughR2D2DOC will become famous soon enough
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Greetings,

I would like to participate in the MATLAB/Simulink/Stateflow SW evaluation. Have used the SW as a university professor as well as in industry. Currently using the SW for embedded control of vehicle powertrain controls, conventional and hybrid applications for Chrysler.

Thanks
  #13   Spotlight this post!  
Unread 07-07-2010, 05:50 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by EricVanWyk View Post
It sounds like it implemented political booleans, rather than engineering booleans: True, False, and nearly 2^64 shades of grey including whiter than white and blacker than black.
Aha. An intrinsic datatype to support fuzzy logic. :-)


~
  #14   Spotlight this post!  
Unread 07-07-2010, 07:33 PM
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by Ether View Post
Last time I looked at Simulink C code generation (admittedly probably 20-odd years ago) it used double-precision floats for booleans. Has the code generator now been optimized for realtime embedded controllers?

~
Yes, it has been optimized. Real Time Workshop supports virtually all of the data types you need, whether they are floating point, fixed point, or boolean. Many current controls companies (like the one I work for) put auto-generated code from Simulink into production controllers. My previous company first put it into production in 2004, with good results.

As a side note, for the first three years of autonomous (2003-2005) my teams used Simulink to do all of our autonomous control. We auto-generated the code using TargetLink (a third party product from dSPACE). The microcontroller we used wasn't particularly powerful so we did it all in 16-bit fixed point types (with a few 32-bit calculations where we needed the extra accuracy). We even had Stateflow going to do the big-picture sequencing. That's when I first got the basic robot simulator going to test and debug the autonomous code. It really helped finding out where we had precision problems in the fixed point calculations.
__________________
-
An ounce of perception is worth a pound of obscure.

Last edited by Chris Hibner : 07-07-2010 at 07:38 PM.
  #15   Spotlight this post!  
Unread 07-07-2010, 08:03 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Beta-Testers for new Simulink FRC Blockset Wanted

Quote:
Originally Posted by Chris Hibner View Post
The microcontroller we used wasn't particularly powerful so we did it all in 16-bit fixed point types (with a few 32-bit calculations where we needed the extra accuracy).
Just curious: what kind of calculations did you have to make for which 16 bits of precision was not adequate?

~
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
ZomB Dashboard 0.6: Beta testers wanted byteit101 Programming 17 07-29-2010 03:52 PM
Looking for Beta testers at NJ Regional knittinggears General Forum 4 03-02-2010 06:56 PM
Beta testers needed scitobor 617 Website Design/Showcase 9 05-30-2005 12:48 PM
LINUX Users: Requesting beta testers jdong Programming 35 03-20-2005 01:28 PM
Beta Testers blueWarrior FIRST-related Organizations 4 06-18-2003 07:48 PM


All times are GMT -5. The time now is 06:10 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