View Single Post
  #9   Spotlight this post!  
Unread 09-01-2012, 22:10
JohnGilb JohnGilb is offline
Programming Mentor, Drive Mentor
FRC #0488
 
Join Date: Mar 2011
Rookie Year: 2003
Location: Redmond, WA
Posts: 116
JohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura about
Re: What are you doing different from last year?

Quote:
Originally Posted by plnyyanks View Post
Instead of XML data, can I suggest using an INI File for storing robot parameters? There's a good thread on using parameter files here.
I'm still reading some of the links in the other thread, but what would you say is the comparative advantage of using INI over XML?

One of the things I like about the Flatten/Unflatten from XML is that all my variables are strongly typed in the robot, and I can reuse common names for things like PID gains since their parent typdef has a unique name. In addition, any changes I make to the typedefs themselves are transparent to the flattening process, so I don't need to make additional code changes.

Are there similar benefits when using INI?
Reply With Quote