View Single Post
  #2   Spotlight this post!  
Unread 18-05-2012, 10:46
JamesTerm's Avatar
JamesTerm JamesTerm is offline
Terminator
AKA: James Killian
FRC #3481 (Bronc Botz)
Team Role: Engineer
 
Join Date: May 2011
Rookie Year: 2010
Location: San Antonio, Texas
Posts: 298
JamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to behold
Re: paper: Bronc Botz (3481): LUA script support for Wind River

This allows the c++ code to be finished and delegate the task of calibration to other team members. LUA is a beautiful scripting language that is easy to pick up, and powerful enough to capture OOP concepts as well as write out your math constants (e.g. RPM Radians measurement conversions etc). It is also friendly to the OOP workflow in c++. For example I grouped out a whole section for low gear as it was able to reuse the same code used in high gear... we tweaked the properties of all the ramping times here. (No preset trapazoid ramping, its done with force restraint limits). LUA makes it easy to show one object against another to handle a task like this.

I hope at least one other team will use this code... as it was a lot of effort to make it work. I encourage everyone to consider it.

Last edited by JamesTerm : 18-05-2012 at 10:55.
Reply With Quote