This sounds like an interesting study.  Be sure to share your findings and 
your code.

--Mark

On Tuesday, June 23, 2015 at 10:54:04 AM UTC-4, chnyc wrote:
>
> Right, sorry for the vagueness. 
>
> I'm basically trying to duplicate a range of RT tests across the same 
> motor (basic, low cost stepper most likely) using PREEMPT_RT, Xenomai, PRU 
> scenarios in order to better understand pros and cons of each. I didn't 
> want to overcomplicate this thread, esp. since there's much related 
> discussion around PRUs, so I was just focusing on the Xenomai part where 
> there seemed to be less guidance.
>
> Thanks much.
> Charles
>
>
> On Tuesday, June 23, 2015 at 10:09:11 AM UTC-4, Charles Steinkuehler wrote:
>>
>> On 6/23/2015 12:04 AM, chnyc wrote: 
>> > 
>> > 2)  *klatency* - runs with following error: 
>> > 
>> > $ xeno klatency 
>> > open(/proc/xenomai/registry/native/pipes/klat_pipe): No such file or 
>> > directory 
>> > modprobe klat_mod or try the -P option? 
>> > 
>> > Is the reason I can't run the above due to kernel config issues? If so, 
>> > it's not clear to me where/how to change the config settings since I 
>> didn't 
>> > compile from source. 
>>
>> Unknown, I'm not a Xenomai expert...I'd look into the docs at the 
>> Xenomai site.  If you need to build from source, just clone: 
>>
>> https://github.com/RobertCNelson/bb-kernel/tree/3.8.13-xenomai 
>>
>> ...and run "./build-deb.sh".  You'll get a compiled kernel, *.deb 
>> package, and a full source tree for experimenting. 
>>
>> > 3) *Motor test* - My intention is to run some motor tests with Xenomai 
>> and 
>> > without and compare performance. Do you have any recommended 
>> > Xenomai-specific tutorials using motors or for any actual use case of 
>> the 
>> > kernel in action on the BBB? Although I recognize that much of your 
>> > wonderful MachineKit work is about driving motors, I've found very 
>> little 
>> > on the subject showing simple usage without capes or without 
>> MachineKit. 
>>
>> "Motor test" is a bit vague.  You can drive motors _many_ different 
>> ways, from sending packets via Ethernet or CAN to controlling hardware 
>> PWMs to interacting with the PRU to twiddling GPIO pins. 
>>
>> What exactly are you trying to do? 
>>
>> -- 
>> Charles Steinkuehler 
>> [email protected] 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to