View Single Post
  #1   Spotlight this post!  
Unread 21-12-2009, 00:56
spartango spartango is offline
Registered User
FRC #0192 (GRT)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Palo Alto, CA
Posts: 43
spartango is an unknown quantity at this point
Re: WebDMA: Tuning your robot via a web interface (C++)

This is really neat, I must say. Kudos to you!

Yes labview can do the same things, and yes a Java robot dashboard will be available similarly, but this is clearly useful for anyone even thinking about using C++.

Some thoughts--
WebDMA is pretty low-level, giving access to specific variables within the runtime environment--which is slightly dangerous---and perhaps a little crude in that you are altering the code execution, as opposed to the conceptual robot behavior.
To be a little more clear, it would probably be better to implement an API for your robot that provided an interface to the robot's abstracted components, as opposed to providing a pseudoDMA...this is better practice, safer, and logically more sound.
Yes this does have the downside that an API would have to be written specifically to your robot, but on the other hand, you would be describing an arm abstraction(for example) as opposed to a variable deep within the code.