 | | Re: spybotics header files
|
|
(...) The latest version of Bricxcc (3.3.7.16) should deliver these files to your computer as part of the install. Check the Spybot directory below the BricxCC directory. John Hansen (19 years ago, 21-Feb-07, to lugnet.robotics)
|
| |
 | | Re: Extending the firmware through DrawGraphic()
|
|
Hello Jason, (...) There was a paper about RIC on NXTasy a few days ago: (URL) (19 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 (...) (19 years ago, 21-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | spybotics header files
|
|
I've been reading up on spybotics as I found some information in the NQC programming Guide and got curious (I bought a Gigamesh a couple of months ago, but never dreamt I'd be able to program it myself) Mention is made of a couple of header files in (...) (19 years ago, 21-Feb-07, to lugnet.robotics)
|
| |
 | | Re: motor disassembly
|
|
You gave me an idea there! I had look and found 2 people wanting to sell a znap set with a motor and asked them to tell me if the motor could be turned by hand and then continued to turn a little. I've bought 2 motors for a total price of just under (...) (19 years ago, 20-Feb-07, to lugnet.robotics)
|
| |
 | | 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 (...) (19 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 (...) (19 years ago, 20-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Wait for Sound: Tone
|
|
Given: The Sound block can play a tone. What would it take to create a "Wait for Tone" block or to modify the "Wait for Sound" block to perceive a tone? I think a "Wait for Tone" block would help ease the transition to learning about communications (...) (19 years ago, 20-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | NXC/NBC beta news
|
|
The shell service at Sourceforge is still offline so I can't update the BricxCC and NBC sites. But today I uploaded a new test release of BricxCC and a new beta of NBC/NXC (beta 27). They are available via the Sourceforge release page. Please pay (...) (19 years ago, 20-Feb-07, to lugnet.robotics)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) 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 NASA? David (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | NXTway-G : Self-Balancing Two-Wheel Robot with Gyro Sensor
|
|
I've been interested in Steve Hassenplugs (URL) Legway> and (URL) NXTway>. So I build a NEW NXTway by using a gyro sensor. (URL) You'll see the documents and videos of NXTway-G at my (URL) site>. (19 years ago, 19-Feb-07, to lugnet.robotics, FTX) !!
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
The code is working right well! But i think the stall control at the end o each task has no meaning there, since the until loop does not let the script reach it if the motor become staled. (...) Patrick (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) Yes, Now it is perfect. Not so obvious i think... Thanks! Patrick (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) Hi Patrick, Indeed the Tacholimit can only be positive. But power can be negative, that's the way to reverse direction. Philo (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) Hi Johan, While you're dealing with very practical questions here, I thought I'd throw a paper into the mix: (URL) was presented in the ACM conference on Programming Language Design and Implementation (PLDI) in 2005. It's a nice paper (...) (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
John, (...) It worked just as I expected. The two motors now are rotating the same time. Thanks to your example, now I am giving some time to understand this setOutput call, and reading all the documentation (it is quite easier with pratical (...) (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) Or maybe just wrap the calls inside a mutex, so at least the behaviour is defined, if not optimum. Many of the NBC/NXC macros do exactly that, maybe all of them should? ROSCO (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) I understand his confusion. Not allowing separate threads to call the same subroutine is certainly unexpected. The concept of "thread" conventionally involves separate stacks for local variables (and a shared global state -- unlike separate (...) (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Two motors at the same time... It is possible?
|
|
(...) It is possible. The NXC API doesn't currently wrap this capability in a really simple function. (...) The RotateMotor API function calls a subroutine written in NBC that does not return until the tachometer limit target has been reached. (...) (19 years ago, 19-Feb-07, to lugnet.robotics.nxt)
|
| |
 | | Two motors at the same time... It is possible?
|
|
Hi people, I was wondering if is possible to run two motors at the same time, using diferente parameters (speed and degrees)... The code bellow works, but first the motor A runs, then the motor B runs. ---...--- task main(){ RotateMotor(OUT_A, 50, (...) (19 years ago, 18-Feb-07, to lugnet.robotics.nxt)
|