Search found 8 matches

by johroo
February 24th, 2008, 10:46 am
Forum: SDK Questions
Topic: Rowing software on Linux?
Replies: 17
Views: 25052

Hi all, I have been away for a while but I see Stephen has made some good progress on a rowing app for linux. Interesting What's the possibility of this code compiling for Mac OS X? I have made some test on a MacBook using "Apple Mac OS X USB SDK 1.8.7" http://www.macupdate.com/info.php/id/6109/appl...
by johroo
June 1st, 2007, 3:50 pm
Forum: Training
Topic: What is your record 2k, fitness, and weight?
Replies: 41
Views: 27464

Oh, no need to aplologize. I just wondered if you had some inside info that concept2 used rounded number in the documentation.

I enjoyed reading this thread. Weight adjusted performance is interesting ;)
by johroo
June 1st, 2007, 4:23 am
Forum: Training
Topic: What is your record 2k, fitness, and weight?
Replies: 41
Views: 27464

((M/T)^3)*2.75 Where M is your meters rowed and T is your time in seconds. Hi John, Why do you use 2.75 when concept2 documentation says Watts = 2.8/(pace*pace*pace) ? In physics P = K * v^3 with K = drag*area*density/2 For water density = 1000kg/m^3 So concept2 basically says drag*area = 2*2.8/100...
by johroo
May 26th, 2007, 3:40 pm
Forum: SDK Questions
Topic: Using libusb in linux
Replies: 8
Views: 11779

When I read out distance and time(in one ID#1 command) as fast as I can from the PM3 I get about 50 frames per second. Doing this I have to empty the usb buffer by doing 1ms interrupt reads until I get a timeout, otherwise I get old data. This usually takes about two reads. ~50 frames per second equ...
by johroo
May 25th, 2007, 9:24 am
Forum: SDK Questions
Topic: Command query update rate
Replies: 1
Views: 4175

I can say that using libusb under linux you get unexpected behaviour when you query the PM3 faster than 1ms.

For example

Command 1:->
Reponse 1:<-

Command 2: ->
Resonse 1:<- (!!!!)

If you before Command 2 calls usb_interrupt_read until it times out you will get the expected reponse 2 back.
by johroo
May 25th, 2007, 9:13 am
Forum: SDK Questions
Topic: Using libusb in linux
Replies: 8
Views: 11779

Hi Peewee1963.

You should not use endpoint 0 as this is the control endpoint. You should use endpoint 4 for writing and endpoint 0x83 for reading.
by johroo
May 23rd, 2007, 4:02 pm
Forum: SDK Questions
Topic: Using libusb in linux
Replies: 8
Views: 11779

Thank you for the very good information. I fixed the code to comply with the report sizes and it worked on the first try :D . I used the report ID#1 which has size 20+1 for ID. Command to PM3: 1 F1 80 80 F2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Answer from PM3: 2 F1 99 99 F2 33 30 30 31 31 36 37 34 30 2A ...
by johroo
May 23rd, 2007, 2:50 pm
Forum: SDK Questions
Topic: Using libusb in linux
Replies: 8
Views: 11779

Using libusb in linux

Hi all, I am trying to use libusb under linux to communicate with my PM3. I thought someone here might be interested what I have found so far. Linux will get hold of the usb device when it is plugged in so the first thing you must do in yur program is to call usb_detach_kernel_driver_np to be able t...