53 case 'offset',
54 L = r.link;
55 for i=1:r.n,
56 L{i}.offset = v(i);
57 end
58 r.link = L;
59 case 'qlim',
60 if numrows(v) ~= r.n,
61 error('insufficient rows in joint limit matrix');
62 end
63 L = r.link;
64 for i=1:r.n,
65 L{i}.qlim = v(i,:);
66 end
67 r.link = L;
Lines 58 and 67 are missing in the current release. So the values are
being updated in the link objects but not being updated in the robot
object.
Thanks and sorry for the inconvenience. Be aware the the limits really
don't do much apart from letting you ask if a particular set of joint
angles is within the limits or not. offsets are used throughout.
peter
On 29/7/09 2:24 PM, Ben Mercer wrote:
Hello
Peter,
I
have been trying out the robotics toolbox with the ultimate intention
of using it to model disk drive testing automation. However I have run
into a few snags.
Specifically,
I can't seem to assign values to the qlim and offset parameters of a
robot object. Here is an example:
>>
p560.offset = [1 1 1 1 1 1]';
>> p560.offset
ans
=
0
0
0
0
0
0
>>
p560.qlim = [0 0 0 0 0 0; 1 1 1 1 1 1]';
>> p560.qlim
ans
=
[]
Do you know why these assignments don't seem to be working?
Thanks in advance for your help.
With Regards
Ben Mercer
______________________________________________________________________
This email may contain privileged or confidential information, which
should only be used for the purpose for which it was sent by Xyratex.
No further rights or licenses are granted to use such information. If
you are not the intended recipient of this message, please notify the
sender by return and delete it. You may not use, copy, disclose or rely
on the information contained in it.
Internet email is susceptible to data corruption, interception and
unauthorised amendment for which Xyratex does not accept liability.
While we have taken reasonable precautions to ensure that this email is
free of viruses, Xyratex does not accept liability for the presence of
any computer viruses in this email, nor for any losses caused as a
result of viruses.
Xyratex Technology Limited (03134912), Registered in England &
Wales, Registered Office, Langstone Road, Havant, Hampshire, PO9 1SA.
The Xyratex group of companies also includes, Xyratex Ltd, registered
in Bermuda, Xyratex International Inc, registered in California,
Xyratex (Malaysia) Sdn Bhd registered in Malaysia, Xyratex Technology
(Wuxi) Co Ltd registered in The People's Republic of China and Xyratex
Japan Limited registered in Japan.
______________________________________________________________________