View Single Post
  #3   Spotlight this post!  
Unread 26-02-2007, 12:13
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: Programming with Java?

Quote:
Originally Posted by TubaMorg View Post
Hmmm, interesting idea. I do quite a lot of Java programming as part of my phd project. The problem is you have to end up with a hex file that Microchip can understand. You definitely couldn't load up a java program directly, since it is interpreted. Just not something the RC can do. C++ might work, but probably not. I will look into it, but I just don't think there is an easy way to do it.
If you really want to program a microcontroller using an object oriented language you might have to skip using the PICs all together. I know certain microcontrollers and DSPs do have the capability of being programed in C++.
Quote:
I also believe that the object-oriented paradigm really doesn't fit into robotics very well - it's a very functional kind of work, where flow control is far more important than encapsulation and abstraction.
I have to disagree with you. Certain paradigms can get by with a functional abstraction while others are object oriented from the get go. It all depends on what you want the robot to do.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill