To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *7860 (-10)
  Re: Maths functions
 
(...) That's nor really difficult ... nanobapt (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
 
  Re: Maths functions
 
Natural log (ln), and square root. Also useful would be x^y where x and y have fractional parts. I see you have done it with just x as a float and y as an int. This would incorporate the square root by doing x^1/2 "nanobapt" <nanobapt@wanadoo.fr> (...) (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
 
  Re: Maths functions
 
(...) What do you need more than I wrote ? nanobapt (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
 
  Re: Maths functions
 
I've posted an enhancement request on the sourceforge website for someone to write a full math.h. I would do it myself but my programming skills aren't very good. Your math.h looks like a good start. Hopefully someone will build on that. Thanks for (...) (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
 
  Re: Maths functions
 
(...) (URL) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
 
  Re: Current state of pbforth
 
(...) BricxCC is making some progress with respect to pbForth support. I've got a terminal emulator of sorts that is working. I just need to get it hooked into the rest of the application and add XModem downloading to it. By late next week it might (...) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.pbforth)
 
  Maths functions
 
I'm having trouble finding a maths header file. It's usually called "math.h". I need to do stuff like sine and cosine, and use the "abs" function to make a number positive. Does a file like this exist? Are there any plans to incorporate a maths (...) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
 
  RE: Current state of pbforth
 
(...) Yeah, I haven't quite got around to implementing cut-and-paste... You can use Hyperterminal or any other similar teminal emulator set to 2400,n,8,1 once the firmware is loaded. Unless you have a USB port. OK, if you really need this, then I (...) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.pbforth)
 
  Re: Threads within threads
 
(...) Have you tried to run this code? I wonder what will happen "in real life". Actually, main will start monkey and cow as fast as possible. I think this will crash your stack after a short while. Regards, Michael (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
 
  Threads within threads
 
Is it possible to use threads within threads? In the example below (with all 6 threads having different priority levels), how does the priority setting of each thread affect it being executed earlier than other threads? I mean, I assume that thread1 (...) (21 years ago, 27-Aug-03, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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