View Single Post
  #74   Spotlight this post!  
Unread 14-09-2003, 18:28
TechnocratiK TechnocratiK is offline
Registered User
AKA: Patrick Diez
None #0296 (Northern Knights)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Montreal, Canada
Posts: 22
TechnocratiK is an unknown quantity at this point
Programming language and current limitations

The RCs we're using could definitely use improvement One of the biggest faults of these microcontrollers is their inability to properly calculate with negative numbers. Sure, floating-point values would be a nice frill, but when working with a gyro, it'd be nice for the value of 1 / -1 not to equal 0.
Secondly, a new programming language would definitely be nice. Personally, I favour C++, mainly because it provides a good balance between complexity and efficiency. Nevertheless, I'd be tolerant of practically any language, as long as it allowed for user-defined functions.
Finally, more variables is a must. Robot controller programs aren't that big if you use some tricks, but being limited to 26 unsigned variables is torture.
As for the OIs, I really don't forsee FIRST using a Playstation controller plug, mainly because of the limitations of the device. Sure, digital inputs all around would be nice, but PSX controllers aren't the solution, not when you need a 3 way switch or the likes.
Reply With Quote