| | NXC Counters
|
|
From the NXC Guide: ---...--- TachoCount: Return the internal position counter value for the specified output. BlockTachoCount: Return the block-relative position counter value for the specified port. RotationCount: Return the program-relative (...) (18 years ago, 23-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Extending the firmware through DrawGraphic()
|
|
(...) Hmm, this is interesting. The capabilities that aren't used by the current firmware are very curious. I can see the purpose of multiple sprites and draw modes though. With that, you could do masked graphics. A mask sprite would be drawn first (...) (18 years ago, 22-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Extending the firmware through DrawGraphic()
|
|
(...) Thanks John. I find it a problem that NXTasy posts are not signed - I didn't know you were the author... Philo (18 years ago, 22-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Extending the firmware through DrawGraphic()
|
|
(...) Unfortunately, I made several factual errors in my post on NXTasy the other day. I have attempted to correct those errors today by editing the existing post. Please make sure you read it again if you read it yesterday or earlier this morning. (...) (18 years ago, 21-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Extending the firmware through DrawGraphic()
|
|
(...) Yikes - I had no idea it was that convoluted! I want to put on some new graphics functions but I think I'll devise my own file format for those. I'll see if it's possible to hijack DrawGraphic to test it at least, but supporting new opcodes (...) (18 years ago, 21-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Extending the firmware through DrawGraphic()
|
|
(...) These variables do get used by the existing RIC format. I could tell you what they mean but then I'd have to kill you. :-) It definitely is not a good idea to try to use them for something completely different. It seems better to just add a (...) (18 years ago, 21-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Extending the firmware through DrawGraphic()
|
|
Hello Jason, (...) There was a paper about RIC on NXTasy a few days ago: (URL) (18 years ago, 21-Feb-07, to lugnet.robotics.nxt)
|
|
| | Extending the firmware through DrawGraphic()
|
|
Having made an earlier suggestion about using file names to extend the capabilities, I've looked into it a little further and found something very useful. The 'NXTDrawPicture', or 'DrawGraphic' command can take an arbitrary array of variables. The (...) (18 years ago, 21-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Improving the firmware?
|
|
(...) It's a good plan, but I don't think that's the right command. If someone was calculating the position of a line to draw it may well start or end off-screen in the negative values. How about hijacking the FileOpen command, and apply URL-type (...) (18 years ago, 20-Feb-07, to lugnet.robotics.nxt)
|
|
| | Re: Two motors at the same time... It is possible?
|
|
David Wallace wrote: > occam ... I was wondering where I had dealt with that before. Then I > realized, I had a little introduction to this when writing test programs for > submarine circuit cards that had used transputers. Weren't they developed by (...) (18 years ago, 20-Feb-07, to lugnet.robotics.nxt)
|