lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Mar 2007 22:43:45 +0200
From:	"johann deneux" <johann.deneux@...il.com>
To:	"Jiri Slaby" <jirislaby@...il.com>
Cc:	"Dmitry Torokhov" <dtor@...ightbb.com>,
	"\"STenyaK (Bruno González)\"" <stenyak@...il.com>,
	"Anssi Hannula" <anssi.hannula@...il.com>,
	"Linux kernel mailing list" <linux-kernel@...r.kernel.org>,
	linux-input@...ey.karlin.mff.cuni.cz
Subject: Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

On 3/27/07, Jiri Slaby <jirislaby@...il.com> wrote:
> johann deneux napsal(a):
> > On 3/27/07, Jiri Slaby <jirislaby@...il.com> wrote:
> >> Dmitry Torokhov napsal(a):
> >> > On Wednesday 21 March 2007 18:03, johann deneux wrote:
> >> >> I have forgotten the details of ioctl: Wouldn't the
> >> >> following work?
> >>
> >> No, at least, as far as I understand this. I have computed _torques_, not
> >> forces vector (this was misleading info in my first post), the
> >> question is
> >> "how can I pass torques through plane and direction entries into KS?".
> >
> > Torques and forces are both represented as 3d vectors.
>
> Yes, may be.
>
> > Are we
> > misunderstanding eachother maybe? By "vector" I mean a triplet of
> > numbers, when you say "torques" and "forces vector", do you mean that
> > each effect is composed of a bunch of torques?
>
> Ok, let's make things a little bit clear. I need to put somehow 3 short
> values (torques -- to tell 3 motors how much to spin around) into the kernel
> space via ff layer. I computed them using FP in US from forces (3d vector)
> and the problem is, that I don't know how to transform torques to plane(s)
> and dir and then back to torques -- this is what I can't figure out, since I
> have no longer vector -- 3 values for each axis, which says how big is the
> force in each axis -- but I have values (no axis) specific to each motor.

I think I'm starting to understand. Looking back at the url you gave,
it appears your device is some kind of articulated arm, possibly with
one or more motor(s) at each joint. You are not really dealing with a
single torque applied at one point in space, but several torques
applied at several points in space.
For this particular device you have three values, but for other
devices it could just as well be any other number, right?
A realistic example would be a robot arm with claws, there would be a
torque for each joint, and some more for the claws.

-- 
Johann
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ