From: Wolfgang Grandegger <wg@grandegger.com>
To: "Daniel M. Drucker, Ph.D." <dmd@interactive-motion.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] patch to src/utils/can/rtcansend.c to support data from a file
Date: Mon, 15 Apr 2013 09:09:56 +0200 [thread overview]
Message-ID: <516BA7C4.1050403@grandegger.com> (raw)
In-Reply-To: <CAD1EtognG+9J_Bbo3x6AsBCJ4eU4SLrXQz=wDvJtFw0vCSZ8NQ@mail.gmail.com>
Hi Daniel,
thanks for your contribution...
On 03/28/2013 11:00 PM, Daniel M. Drucker, Ph.D. wrote:
> When sending a large number of CAN messages from a script (in our case, to
> initialize a servo), rtcansend can be somewhat slow because every message
> requires a setup and teardown.
>
> I added a --file flag to rtcansend which allows you to instead read bytes
> from a file (or stdin, using '-' as the filename). The file has one CAN
> message per line, in the same format (space-separated) as it would have
> been in the can-msg on the command line. Blank lines are ignored. Lines
> which start with a ' ' (space) or '#' (hash) character are ignored. If a
> filename is given, any can-msg specified on the command line is ignored.
>
> I hope this of use to someone, and it'd be really great if this could be
> merged!
Well, I actually see it as a nice extension for a special purpose. I do
not see an general benefit for basic CAN testing. I also prefer to keep
rtcansend short and simple.
Wolfgang.
next prev parent reply other threads:[~2013-04-15 7:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 22:00 [Xenomai] patch to src/utils/can/rtcansend.c to support data from a file Daniel M. Drucker, Ph.D.
2013-04-15 7:09 ` Wolfgang Grandegger [this message]
2013-04-17 3:04 ` Matthew Fornero
2013-04-17 3:06 ` Matthew Fornero
2013-04-17 5:30 ` Gilles Chanteperdrix
2013-04-17 13:04 ` Matthew Fornero
2013-04-17 13:07 ` Daniel M. Drucker, Ph.D.
2013-04-18 7:19 ` Wolfgang Grandegger
2013-04-18 7:27 ` Wolfgang Grandegger
2013-04-18 21:49 ` Daniel M. Drucker, Ph.D.
2013-04-19 8:55 ` Wolfgang Grandegger
2013-04-19 13:58 ` Carles Lopez
2013-04-19 20:01 ` Wolfgang Grandegger
2013-04-19 20:09 ` Daniel M. Drucker, Ph.D.
2013-04-22 8:29 ` Wolfgang Grandegger
2013-04-22 13:40 ` Daniel M. Drucker, Ph.D.
2013-04-18 15:08 ` Daniel M. Drucker, Ph.D.
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=516BA7C4.1050403@grandegger.com \
--to=wg@grandegger.com \
--cc=dmd@interactive-motion.com \
--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.