11th Edition 03/17/02

Analysing the software II

With Sytse van Slooten (sytse)

 

Sander sent me a link from Sytse. So I could know that Sytse was working with our software too.  I was reading his documentation (I recommend you to read it too before you read this report). His "daemon" has the name "PM2D".http://pm2erglib.sourceforge.net  

 

Hi Sytse! I was reading your documentation. It is very interesting and completed. You were working a lot!


"This is only the first part, I've planned to do a lot more, Now it is just one function (like display something or ask something) at the time, next will be more complicated functions, like 'setup a workout for 2000 meters and give me all measurements and results when it is finished'. After that, I think I will make the web interface a bit better, so you could setup workouts with just one click on a browser or write your own program to do it".

Are you programming a library for the C2?. I saw almost all the functions


"Well not really a library, it's more like a service process that could always be running in the background. Maybe parts could be a library, but the interface would have to be different".

But your program is only running under Unix. Could I use it in the future like a dll for windows?


"No. Most of the code is pretty basic C stuff, so it should be easy to port, but I'm using the ptreads library to do multitasking, and I don't know how to do that on Windows (and I don't have compilers and stuff for Windows). It should be possible, though".

"This is one of the reasons a couple of guys wanted to start programming in Java, because it would run on Windows, Unix/Linux, and even Mac. The problem with Java is that there is no standard library for serial ports (Sun's version only runs on Solaris, the Windows version only runs on Windows, and here is no Linux version) so we couln't build the driver part. So I said,
let's make the driver in C and maybe do the GUI stuff in Java later".


You are using HTTP as prococol. It means I could ask the unit from another computer or from internet.

 

"Yep. Basically, the PC running pm2d could be anywhere on the Internet. You could just take your browser and send commands to my rower (only that's not much fun if I'm not rowing... but maybe we could do this on Sunday, before or after racing)"

What are the system requirements to test your software?

"Currently, it should run Linux 2.4.x (SuSe 7.2 or Redhat 7(latest) should be fine. I think it will also run on 2.2kernel versions, but I haven't tested this yet (I'll have to reinstall one of my PC's for this). Later, it should run on probably 

"When I was 6, my parents bought a small boat for my brother, sister, and me, and we were always playing with it. I joined a rowing club at 15 (was a member for 3 or 4 years). Did a lot of windsurfing too... Later when I started working, my employer had a training room with ergs in it. After some time, I could do 1000 meters under 3:20... but thats 6 or 7 years ago. I'd like to be able to do that again, so after I moved to a bigger house last year I got an erg for myself, and started training, but a month later I was sick for three weeks so I had to stop training (actually this was when I first started looking at the pm2 protocol, I was bored sitting at home for three weeks and I couldn't do much more than looking at a screen without getting tired). Anyway I still haven't finished rebuilding my house, and mosty I'm busy working, (ehhrm and playing Diablo) so I didn't have much time to row yet".

This Mystery picture is the data analyzer I used to decode the protocol. It must be at least 30 years old... because it was already old when I first saw it 14 years ago.

 

all Unix stuff you can have on a PC (like FreeBSD,OpenBSD, Solaris/Intel etc) but I can't test all of these at once (so I'll wait until someone asks for it, and maybe then start looking into it)"

 

If you want you may invite the rowers to test something

 

"Yep, and I will need some tests with other people when I start on the workout and race functions. Maybe you can help me? and there are also some
things where I want to check if other PM2's do the same things as mine". 

Of course! I love to test. But I think with your programming stuff, you forgot to row! When do you want to row with us?

 

"I began last year and my first race was with 2.27 average. It is not nice"

 

2.27! I am sure you smoke!

 

"Yep, I do... but I also smoked when I did 1:30 average... anyway maybe I'll stop, someday..."

Thanks sytse!

 

visit his page:

http://pm2erglib.sourceforge.net  

 


 

Send us your comments

Feedback