To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / *908 (-40)
  Re: Wishlist for next pbLua Beta
 
(...) My thought would be to aim for a filesystem designed for flash use, like yaffs ( (URL) ). That particular filesystem is licensed under GPL and might be uncomfortably large too, I'm not sure, but it's structured more appropriately than FAT. I (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response
 
(...) You might want to consider using NXC and the standard NXT firmware. Here's some code John Barnes wrote in NXC for reading sensor values via the NRLink: int count; int sensorval; int i; int temp; byte toggle=0; byte csum; byte RCXcmnd[]; /*[0] (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)
 
  Re: RotateMotorEx hangs
 
(...) When you call RotateMotorXXX here is the code that is executed: subroutine __RotateMotor0 brtst EQ, __rotate_Done0, __rotate_angle0 sign __rotate_thePower0, __rotate_angle0 abs __rotate_theAngle0, __rotate_angle0 mul __rotate_thePower0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  RotateMotorEx hangs
 
This is actually the topic about interrupting RotateMotor(). I resend with a more appropriate topic. --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Thursday, August (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  RE: Idea on how to interrupt RotateMotor?
 
Look at the following sample code: ===...=== int shut =0; task x1() { TextOut(0, LCD_LINE3, "Waiting until it sees dark!..."); until (Sensor(IN_1)<40); shut=1; Off(OUT_AC); } task x2() { RotateMotorEx(OUT_AC, 75, 360, 0, FALSE, TRUE); TextOut(0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  Idea on how to interrupt RotateMotor?
 
Since there is no event in nxc. Is there anyway to interrupt this call via a Off(OUT_AC) in another task? RotateMotor(OUT_AC, 20, 800); I could have used a time Wait after onFwd. However, This will not allow me to get a more previous degree turning. (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response w/ RobotC
 
(...) I downloaded the SDK from (URL) but can't find any reference to the message format. Perhaps this is the wrong SDK? I've looked in all the doc .pdf files and skimmed everything else. I sure am having a hard time locating things. (...) So what (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  RE: NRLink reading RCX response w/ RobotC
 
(...) I couldn't find it either, but its out there somewhere. (...) Agreed. It started as a internal debugging tool and was left visible for the small handful of power users who write their own I2C device drivers. (...) Agreed. I went back and (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response w/ RobotC
 
(...) Searching for "robotc i2c" returns 3 message in the forums: "Interfacing with Lego Sensors" "Help with US sensor!!" "RobotC I2C Help" Only the third message describes "Test I2C Messaging". It's very specific to the message thread and in it you (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
 
  RE: NRLink reading RCX response w/ RobotC
 
There are three steps to reading an I2C message from a sensor. 1. Send a message to the I2C sensor to initiate the read. Look at the program "NXT HiTechnic Accelerometer" in the RobotC sample programs folder for an example that you can clone. (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
 
  Re: pbLua Beta 13c first impressions
 
Walt, Thanks for mentioning my pbLua installation instructions (that are available also in my "Advanced NXT - The Da Vinci Inventions Book" alongside with a lot of samples for pbLua programs, by the way ;-) ). Keep in mind, though, that they have (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
 
  Re: pbLua Beta 13c first impressions
 
(...) Walt, thanks for having a look at pbLua and giving it a try. Most importantly, thanks for providing feedback in a forum where we can all learn from what you have done... (...) Soon. It's next on the list of things to do. (...) pbLua has all (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
 
  Eclipse and LEJOS OSEK
 
Hi If you were looking for a nice IDE for LEJOS OSEK application development, why wouldn't you use Eclipse? I tested it and it works pretty well! (URL) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
 
  pbLua Beta 13c first impressions
 
pbLua beta 13c Ralph Hempel has given us pbLua which is a terrific free tool for programming the NXT. As a novice programmer, I had a bit of trouble getting it to work so I want to pass along my notes to other novices who might be interested. Feel (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
 
  NRLink reading RCX response w/ RobotC
 
I have posted a problem to the RobotC forums and not recieved any response: (URL) anyone here have any experience with RobotC (how is their support)? Has anyone here worked with the NRLink? Have you been able to get a response from the RCX? Thanks, (...) (17 years ago, 31-Jul-07, to lugnet.robotics.nxt)
 
  A Better Robo-Arm With Mindstorms Old And New
 
Hello everyone. Here is my better robo-arm. It's meant to be an improvement on the "56-C" arm which is on the official NXT CD. A movie of the BetterArm (I hope it works)... (URL) view (click on Quick Pic) (URL) wrong with the official Lego arm? * (...) (17 years ago, 30-Jul-07, to lugnet.robotics.nxt)
 
  Re: NXT model instructions under OS X 10.2.8?
 
(...) I've written a some time ago a detailed review of the file structure of these files. You can access it here: (URL) note that the building instructions for the retail and educational set models (i.e. TriBot, Alpha Rex etc.) can be downloaded as (...) (17 years ago, 30-Jul-07, to lugnet.robotics.nxt)
 
  Re: NXT model instructions under OS X 10.2.8?
 
(...) The Academy content is just a series of HTML files. For Tribot, for instance, drill down this path: LEGO MINDSTORMS NXT/engine/editorVIs/Academy content/activities/v...es/tribot/ and then open "main.html". If you know click on the first (...) (17 years ago, 29-Jul-07, to lugnet.robotics.nxt)
 
  Re: Alternate NXT-Firmware flashing tools
 
(...) Hi Matt, I think the problem is, that 99% of users using MS and Intel equipment... Minorities, like me, have always problems when using this :D I can't resist... Bye Christian (17 years ago, 29-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  NXT model instructions under OS X 10.2.8?
 
My laptop can only run Mac OS X 10.2.8, but the NXT software requires 10.3 or later. And yes, I tried it anyway, but it crashes on launch. My desktop machine runs 10.4.9 and the NXT software works just fine, but I can't have my son sitting at my (...) (17 years ago, 29-Jul-07, to lugnet.robotics.nxt)
 
  Re: Alternate NXT-Firmware flashing tools
 
(...) Hi Jürgen, just for information: nxjflash has the same problems at PPC and SPARC ;-( Next week I try to get a little endian machine and try it again... Thanx for your detailed informations Bye Christian (17 years ago, 29-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  NXTAssembler 1.0 Alpha 2
 
Hi, First I want thanks John Hansen ,for the replies and for the NBC project. I released the alpha 2 of NXTAssembler 1.0, it's the first version that has something working! :-D (It's an alpha software and it contains a lot of bugs :-( ) Examples of (...) (17 years ago, 28-Jul-07, to lugnet.robotics.nxt)
 
  Re: Alternate NXT-Firmware flashing tools
 
Hi all, (...) Recently, we finished a runtime for the RCX, and discovered the awful state of uploading tools for that platform. In particular, there are at least three versions of firmdl running around the net, each capable handling different (...) (17 years ago, 28-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  RE: RotateMotor is stuck/nxc
 
John, The new nbc b31 works! Thank you! Now I'm onto making the biped walking more fluidly... --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of John Hansen Sent: Friday, July 27, 2007 1:30 (...) (17 years ago, 27-Jul-07, to lugnet.robotics.nxt)
 
  Re: Alternate NXT-Firmware flashing tools
 
Hi Christian, (...) if you have an endianness problem it should be visible. The easiest would be to compare it with a little-endian machine. (...) It uses the SAM-BA protocol, which is rather simple and without error checking, more like what a human (...) (17 years ago, 28-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  Re: RotateMotor is stuck/nxc
 
(...) Elizabeth, Could you upgrade to b31 of NXC and see if you still have this problem? You will need to update your TextOut call to put the "false" as the last parameter or leave it out altogether. TextOut(0, LCD_LINE2, "DONE ROTATE"); Also, could (...) (17 years ago, 27-Jul-07, to lugnet.robotics.nxt)
 
  RE: RotateMotor is stuck/nxc
 
Just to clarify more although it probably is very clear to most... LEGS_TURNING_DEG = some int to indicate the turning degree MOVENOW & DONE contains different integer values --E -----Original Message----- From: news-gateway@lugnet.com (...) (17 years ago, 27-Jul-07, to lugnet.robotics.nxt)
 
  RotateMotor is stuck/nxc
 
Symptom: Stuck in RotateMotor function call. ===...=== Synopsis of how to create the problem : - 2 tasks - Task1 handles motor A & C - Task2 handles motor B - Task1’s motor movements have to synchronize with the Task2’s motor B movement - Mutex is (...) (17 years ago, 27-Jul-07, to lugnet.robotics.nxt)
 
  Re: Alternate NXT-Firmware flashing tools
 
(...) ReHi Jürgen, yes this is a trivial job, but what should I learn from this packets ? fwflash returns no error back to commandline ... Does this mean fwflash works blindly and returns no protocol or packet errors ? Why is the result "success" (...) (17 years ago, 26-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  Re: Alternate NXT-Firmware flashing tools
 
Hi Christian, (...) you could add some code in lowlevel.c to dump the USB packets, and then look if you see anything wrong. Jürgen (17 years ago, 26-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  Re: Alternate NXT-Firmware flashing tools
 
(...) Hi Jürgen, very good idea. Please give me some hints where to start. I haven't found any --verbose command line parameters, yet :D OK, I'm trying to read the source again, expecting ENDIAN problems like every time using PPC and SPARC :-D Bye (...) (17 years ago, 25-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  Re: Alternate NXT-Firmware flashing tools
 
Hi Christian, (...) how about trying to fix fwflash? Jürgen (17 years ago, 25-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  Re: stop task
 
(...) It hasn't, Elizabeth - I'm not upset at John, and he knows *far* more about programming than I do. I just wanted to point out that there are process where abruptly "killing" a thread was one of the best solutions I ever found, due to the speed (...) (17 years ago, 25-Jul-07, to lugnet.robotics.nxt)
 
  Alternate NXT-Firmware flashing tools
 
Hi NXT-Community, I'm searching for an alternate firmware flashing tool for the NXT... Using the Lego Mindstorms Software is an easy way to do this, but not available for my favorite operating systems. I've tried fwflash from libnxt, but without (...) (17 years ago, 25-Jul-07, to lugnet.robotics.nxt.nxthacking)
 
  RE: stop task
 
Everyone, Being fair in the judgement in using a global watchdog flag to terminate a task. Honestly, when I have a multi-threaded process, I have always used a watchdog type of flag, mutex, semaphore, etc. to signal a thread to terminate. I hardly (...) (17 years ago, 25-Jul-07, to lugnet.robotics.nxt)
 
  Re: stop task
 
(...) Well, you may not consider that awkward, but having been able to use the "stop" & "start" task commands in NQC, I do actually consider it very awkward. For instance, if I want to immediately stop some task under the "stock" FW... well, I (...) (17 years ago, 24-Jul-07, to lugnet.robotics.nxt)
 
  Re: stop task
 
(...) It is not a rather awkward option, imho. That's like saying breaking out of an infinite loop using a flag is awkward and that it would be better to have some form of stop loop keyword that you could use from outside the loop instead. Is it (...) (17 years ago, 24-Jul-07, to lugnet.robotics.nxt)
 
  Re: stop task
 
(...) Using a global to flag out of a task is about the only (rather awkward) option I know of. This is one of the things that I really have issues with under the NXT-G FW. (17 years ago, 24-Jul-07, to lugnet.robotics.nxt)
 
  stop task
 
I just noticed that there is no function to terminate a task like nqc . "stop" . I am currently setting up a global watchdog variable to signal a task to exit. Suggestion? --Elizabeth (17 years ago, 24-Jul-07, to lugnet.robotics.nxt)
 
  Re: Temporarily removing official NXT driver to use SAM-BA
 
FYI, just in case anyone has this problem in the future, I was able to fix it by using "Update Driver" in Device Manager while the NXT was in SAM-BA mode, and telling Windows that I would choose the driver. On the list were the Lego driver and the (...) (17 years ago, 23-Jul-07, to lugnet.robotics.nxt)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR