From: David <correupeldavid@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Advice for a newbie on Xenomai & USB
Date: Thu, 23 Jul 2009 07:32:02 +0200 [thread overview]
Message-ID: <4A67F5D2.4090708@domain.hid> (raw)
Hello,
I am a PhD student at the Technical University of Catalonia. I work on
UAV helicopters. It is a new field in my research group so I need to
develop the rig before start working on Identification and Control
Theory (which is supposed to be THE topic of the Thesis).
We chose to use en embedded PC as 'brain'. The readings of the system
come from an IMU and the actuators (R/C servos) are commanded by a
microcontroller (already programmed and working). Both devices Tx/Rx
input/output data with the computer through TTL USART converted to USB.
The PC is an Intel Atom Z520, on a chipset ..., with 1GB of RAM and
booting on a high-speed Compact Flash.
On the first stage of the software, a human is choosing the
microcontroller inputs (that is: piloting the craft), and the computer
'only' needs to gather the input to the microcontroller and the output
from the IMU and write it to disk with due time stamps. 10Hz would be
OK, 100Hz would be the goal.
On the second stage, the computer will have to gather the output data,
compute the control input and send it to the microcontroller. On hard
real time at (>10 to 100) Hz, of course.
As you may guess, I chose Xenomai to make sure time requirements are
respected. It would run on a command-line Ubuntu 9.04. The programming
would be developed for C++ (compiled with g++).
As a totally newbie on Xenomai and only average user on Ubuntu-Linux, I
would need some community guidance to get my feet wet.
As you already know my specifications, do you think the computing system
is suited for the needs? As the computer does not have embedded USART
modules, I rely on USB to TTL USART converters (ttyUSBx). Are there any
suitable drivers for Xenomai? USB4RT? With interruptions and
configuration for SSP?
Where do you guess the bottlenecks will be?
Is there any detailed guide for newbies? Could you suggest me any
documentation on PC architecture and/or Linux OS to fully understand the
system? I have mainly programmed microcontrollers, on which I would make
use of interruptions and input/output modules all the time, and I need
to port it to PC, for which I have never used interruptions nor used the
input/output modules' drivers deeply nor write them.
Any suggestions would be very useful.
Thanks for your help.
Best regards,
David Lavèrnia
next reply other threads:[~2009-07-23 5:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 5:32 David [this message]
2009-07-23 8:52 ` [Xenomai-help] Advice for a newbie on Xenomai & USB Wolfgang Denk
[not found] ` <4A68283F.6030304@domain.hid>
2009-07-23 11:50 ` Wolfgang Denk
2009-07-23 12:42 ` David
2009-07-23 13:12 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A67F5D2.4090708@domain.hid \
--to=correupeldavid@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.