Change eigen_vector values from lua

Hi, one of the orocos components I'm using stores some properties in a eigen_vector. I would like to change these values from a lua script, possibly without having to use the marshalling. I tried v(0), v[0], v.value but it din't work. Is this possible?

Best regards, Alain

Change eigen_vector values from lua

On Mon, May 06, 2013 at 04:18:40PM +0200, alain [dot] scialoja [..] ... wrote:
> Hi,
> one of the orocos components I'm using stores some properties in a
> eigen_vector. I would like to change these values from a lua script, possibly
> without having to use the marshalling.
> I tried v(0), v[0], v.value but it din't work. Is this possible?

Please provide more detail on what you tried and what exactly didn't
work, and the error messages you got.

To change the value of a array property, it will take something along
the lines of:

vect=component:getProperty("eigen_vector")
vect[0]=1.5

Please also refer to the docs[1]

Markus

[1] http://www.orocos.org/wiki/orocos/toolchain/LuaCookbook

Change eigen_vector values from lua

Ok, I was confused, here some more info. I want to change some properties of a Constraint Controller (CC) component from my State machine. I was initially trying from the Orocos TaskBrowser, I browse to my CC and then I try to change the value of the eigen_vector Kp:

CC [U]> Kp =                     
1
1
1
0.5
0.5
0.5
 
CC [U]> Kp[0]=0
Fatal Semantic error: Illegal use of []: eigen_vector[ int ].

Now I tried to do it from the state machine in Lua as you suggested and this is the code:

function f_eigen()
      print(" Calling f_eigen")     
      v=peertable.CC:getProperty("Kp")
      print (v)
      v[0]=0.01
      v[1]=0.01
      v[2]=0.01
end

The print works but I get an error:

Calling f_eigen
Kp (eigen_vector) = 
        1
        1
        1
        0.5
        0.5
        0.5 // Proportional Feedback Gain for output
ENTRYerror executing entry of root.NONemergency.s_TeleOp: .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413: Variable.newindex: indexing failed, no member 1

Of course I tried indexing the vector from 1 instead of 0 but it doesn't work.

Alain

Change eigen_vector

Hi Alain,

On Mon, May 06, 2013 at 06:17:13PM +0200, alain [dot] scialoja [..] ... wrote:
> Ok, I was confused, here some more info.
> I want to change some properties of a Constraint Controller (CC) component
> from my State machine. I was initially trying from the Orocos TaskBrowser, I
> browse to my CC and then I try to change the value of the eigen_vector Kp:
>
>
> CC [U]> Kp =
> 1
> 1
> 1
> 0.5
> 0.5
> 0.5
>
> CC [U]> Kp[0]=0
> Fatal Semantic error: Illegal use of []: eigen_vector[ int ].
>
>
>
> Now I tried to do it from the state machine in Lua as you suggested and this
> is the code:
>
>
> function f_eigen()
> print(" Calling f_eigen")
> v=peertable.CC:getProperty("Kp")
> print (v)
> v[0]=0.01
> v[1]=0.01
> v[2]=0.01
> end
>
>
> The print works but I get an error:
>
> Calling f_eigen
> Kp (eigen_vector) =
> 1
> 1
> 1
> 0.5
> 0.5
> 0.5 // Proportional Feedback Gain for output
> ENTRYerror executing entry of root.NONemergency.s_TeleOp:
> .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413:
> Variable.newindex: indexing failed, no member 1
>
>
> Of course I tried indexing the vector from 1 instead of 0 but it doesn't
> work.

Something is missing/wroing in the typekit, thus indexing the vector
fails. Maybe if you can post (a link to) the code, someone can take a
look.

Markus

Ruben Smits's picture

Change eigen_vector

On Tue, May 7, 2013 at 8:07 PM, Markus Klotzbuecher <
markus [dot] klotzbuecher [..] ...> wrote:

> Hi Alain,
>
> On Mon, May 06, 2013 at 06:17:13PM +0200,
> alain [dot] scialoja [..] ... wrote:
> > Ok, I was confused, here some more info.
> > I want to change some properties of a Constraint Controller (CC)
> component
> > from my State machine. I was initially trying from the Orocos
> TaskBrowser, I
> > browse to my CC and then I try to change the value of the eigen_vector
> Kp:
> >
> >
> > CC [U]> Kp =
> > 1
> > 1
> > 1
> > 0.5
> > 0.5
> > 0.5
> >
> > CC [U]> Kp[0]=0
> > Fatal Semantic error: Illegal use of []: eigen_vector[ int ].
> >
> >
> >
> > Now I tried to do it from the state machine in Lua as you suggested and
> this
> > is the code:
> >
> >
> > function f_eigen()
> > print(" Calling f_eigen")
> > v=peertable.CC:getProperty("Kp")
> > print (v)
> > v[0]=0.01
> > v[1]=0.01
> > v[2]=0.01
> > end
> >
> >
> > The print works but I get an error:
> >
> > Calling f_eigen
> > Kp (eigen_vector) =
> > 1
> > 1
> > 1
> > 0.5
> > 0.5
> > 0.5 // Proportional Feedback Gain for output
> > ENTRYerror executing entry of root.NONemergency.s_TeleOp:
> > .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413:
> > Variable.newindex: indexing failed, no member 1
> >
> >
> > Of course I tried indexing the vector from 1 instead of 0 but it doesn't
> > work.
>
> Something is missing/wroing in the typekit, thus indexing the vector
> fails. Maybe if you can post (a link to) the code, someone can take a
> look.
>
>
Are you using the master branch of itasc_core? I recently (March 23) pushed
a fix for the eigen_toolkit on that branch.

Ruben

> Markus
>
>
>
>
>
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Ruben Smits's picture

Change eigen_vector

On Wed, May 8, 2013 at 8:53 AM, Ruben Smits <ruben [dot] smits [..] ...>wrote:

>
> On Tue, May 7, 2013 at 8:07 PM, Markus Klotzbuecher <
> markus [dot] klotzbuecher [..] ...> wrote:
>
>> Hi Alain,
>>
>> On Mon, May 06, 2013 at 06:17:13PM +0200,
>> alain [dot] scialoja [..] ... wrote:
>> > Ok, I was confused, here some more info.
>> > I want to change some properties of a Constraint Controller (CC)
>> component
>> > from my State machine. I was initially trying from the Orocos
>> TaskBrowser, I
>> > browse to my CC and then I try to change the value of the eigen_vector
>> Kp:
>> >
>> >
>> > CC [U]> Kp =
>> > 1
>> > 1
>> > 1
>> > 0.5
>> > 0.5
>> > 0.5
>> >
>> > CC [U]> Kp[0]=0
>> > Fatal Semantic error: Illegal use of []: eigen_vector[ int ].
>> >
>> >
>> >
>> > Now I tried to do it from the state machine in Lua as you suggested and
>> this
>> > is the code:
>> >
>> >
>> > function f_eigen()
>> > print(" Calling f_eigen")
>> > v=peertable.CC:getProperty("Kp")
>> > print (v)
>> > v[0]=0.01
>> > v[1]=0.01
>> > v[2]=0.01
>> > end
>> >
>> >
>> > The print works but I get an error:
>> >
>> > Calling f_eigen
>> > Kp (eigen_vector) =
>> > 1
>> > 1
>> > 1
>> > 0.5
>> > 0.5
>> > 0.5 // Proportional Feedback Gain for output
>> > ENTRYerror executing entry of root.NONemergency.s_TeleOp:
>> > .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413:
>> > Variable.newindex: indexing failed, no member 1
>> >
>> >
>> > Of course I tried indexing the vector from 1 instead of 0 but it doesn't
>> > work.
>>
>> Something is missing/wroing in the typekit, thus indexing the vector
>> fails. Maybe if you can post (a link to) the code, someone can take a
>> look.
>>
>>
> Are you using the master branch of itasc_core? I recently (March 23)
> pushed a fix for the eigen_toolkit on that branch.
>
>
I just checked, this is working for me:

> dp=rtt.getTC():getPeer("Deployer")
> dp:import("itasc_core")
> vec=rtt.Variable("eigen_vector")
> vec:resize(6)
> =vec
{0,6.9151246973415e-310,4.9406564584125e-324,1.5173759925177e-316,1.976262583365e-323,0}
> vec:fromtab{0,1,2,3,4,5}
> =vec
{0,1,2,3,4,5}
> vec[5]=6
> =vec
{0,1,2,3,4,6}

So it should be working if you use the latest HEAD of the master branch.

Ruben

> Ruben
>
>
>
>> Markus
>>
>>
>>
>>
>>
>>
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>
>

Change eigen_vector

Hi Ruben,
Many of us are in the devel branch, and the master has not be updated im
a while, i believe, so merging would be a little difficult...
Could you please push this fix also in the devel?
do you think this will fix also the problem with reporter?
Before it was not possible to report a eigen vector port because it
wrote down a column vector in place of a row, disrupting the formating
of the file...

Cheers, Gianni.

On 05/08/2013 08:59 AM, Ruben Smits wrote:
>
> On Wed, May 8, 2013 at 8:53 AM, Ruben Smits
> <ruben [dot] smits [..] ... <mailto:ruben [dot] smits [..] ...>> wrote:
>
>
> On Tue, May 7, 2013 at 8:07 PM, Markus Klotzbuecher
> <markus [dot] klotzbuecher [..] ...
> <mailto:markus [dot] klotzbuecher [..] ...>> wrote:
>
> Hi Alain,
>
> On Mon, May 06, 2013 at 06:17:13PM +0200,
> alain [dot] scialoja [..] ...
> <mailto:alain [dot] scialoja [..] ...> wrote:
> > Ok, I was confused, here some more info.
> > I want to change some properties of a Constraint Controller
> (CC) component
> > from my State machine. I was initially trying from the Orocos
> TaskBrowser, I
> > browse to my CC and then I try to change the value of the
> eigen_vector Kp:
> >
> >
> > CC [U]> Kp =
> > 1
> > 1
> > 1
> > 0.5
> > 0.5
> > 0.5
> >
> > CC [U]> Kp[0]=0
> > Fatal Semantic error: Illegal use of []: eigen_vector[ int ].
> >
> >
> >
> > Now I tried to do it from the state machine in Lua as you
> suggested and this
> > is the code:
> >
> >
> > function f_eigen()
> > print(" Calling f_eigen")
> > v=peertable.CC:getProperty("Kp")
> > print (v)
> > v[0]=0.01
> > v[1]=0.01
> > v[2]=0.01
> > end
> >
> >
> > The print works but I get an error:
> >
> > Calling f_eigen
> > Kp (eigen_vector) =
> > 1
> > 1
> > 1
> > 0.5
> > 0.5
> > 0.5 // Proportional Feedback Gain for output
> > ENTRYerror executing entry of root.NONemergency.s_TeleOp:
> > .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413:
> > Variable.newindex: indexing failed, no member 1
> >
> >
> > Of course I tried indexing the vector from 1 instead of 0 but
> it doesn't
> > work.
>
> Something is missing/wroing in the typekit, thus indexing the vector
> fails. Maybe if you can post (a link to) the code, someone can
> take a
> look.
>
>
> Are you using the master branch of itasc_core? I recently (March 23)
> pushed a fix for the eigen_toolkit on that branch.
>
>
> I just checked, this is working for me:
>
> > dp=rtt.getTC():getPeer("Deployer")
> > dp:import("itasc_core")
> > vec=rtt.Variable("eigen_vector")
> > vec:resize(6)
> > =vec
> {0,6.9151246973415e-310,4.9406564584125e-324,1.5173759925177e-316,1.976262583365e-323,0}
> > vec:fromtab{0,1,2,3,4,5}
> > =vec
> {0,1,2,3,4,5}
> > vec[5]=6
> > =vec
> {0,1,2,3,4,6}
>
>
> So it should be working if you use the latest HEAD of the master branch.
>
> Ruben
>
> Ruben
>
> Markus
>
>
>
>
>
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> <mailto:Orocos-Users [..] ...>
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>
>
>
>

Ruben Smits's picture

Change eigen_vector

On Wed, May 8, 2013 at 10:01 AM, Gianni Borghesan <
gianni [dot] borghesan [..] ...> wrote:

> Hi Ruben,
> Many of us are in the devel branch, and the master has not be updated im
> a while, i believe, so merging would be a little difficult...

Could you please push this fix also in the devel?
>

You could try to cherrypick the commit containing the fix (19c5466fa29),
this should be pretty straightforward. I'll leave this to you guys since
I'm depending on master for production code. What is the current status of
the devel branch? Has development settled down to consider a merge from
devel to master? How much rewriting of an application that currently uses
master would be required?

> do you think this will fix also the problem with reporter?
> Before it was not possible to report a eigen vector port because it
> wrote down a column vector in place of a row, disrupting the formating
> of the file...
>
>
Executing the following script:
----------
require 'rttlib'

dp=rtt.getTC():getPeer("Deployer")
dp:import("itasc_core")

dp:loadComponent("reporter","OCL::FileReporting")

eigen_port = rtt.OutputPort("eigen_vector")
dp:addPort(eigen_port,"eigen_port")

vec = rtt.Variable("eigen_vector")
vec:resize(4)
vec:fromtab{0.,1.,2.,3.}
print(vec)
eigen_port:write(vec)

reporter = dp:getPeer("reporter")
dp:addPeer("reporter","Deployer")
reporter:reportPort("Deployer","eigen_port")
reporter:setPeriod(1.0)
reporter:start()
--------------

results in the following report file:
----------
TimeStamp Deployer.eigen_port.0 Deployer.eigen_port.1 Deployer.eigen_port.2
Deployer.eigen_port.3
2.58e-07 0 1 2 3
1.00008 0 1 2 3
2.00007 0 1 2 3
3.00007 0 1 2 3
----------

Is this the format you are looking for? If not I'm not sure I understand
the disruption in the format you are talking about.

Ruben

> Cheers, Gianni.
>
> On 05/08/2013 08:59 AM, Ruben Smits wrote:
> >
> > On Wed, May 8, 2013 at 8:53 AM, Ruben Smits
> > <ruben [dot] smits [..] ... <mailto:ruben [dot] smits [..] ...>>
> wrote:
> >
> >
> > On Tue, May 7, 2013 at 8:07 PM, Markus Klotzbuecher
> > <markus [dot] klotzbuecher [..] ...
> > <mailto:markus [dot] klotzbuecher [..] ...>> wrote:
> >
> > Hi Alain,
> >
> > On Mon, May 06, 2013 at 06:17:13PM +0200,
> > alain [dot] scialoja [..] ...
> > <mailto:alain [dot] scialoja [..] ...> wrote:
> > > Ok, I was confused, here some more info.
> > > I want to change some properties of a Constraint Controller
> > (CC) component
> > > from my State machine. I was initially trying from the Orocos
> > TaskBrowser, I
> > > browse to my CC and then I try to change the value of the
> > eigen_vector Kp:
> > >
> > >
> > > CC [U]> Kp =
> > > 1
> > > 1
> > > 1
> > > 0.5
> > > 0.5
> > > 0.5
> > >
> > > CC [U]> Kp[0]=0
> > > Fatal Semantic error: Illegal use of []: eigen_vector[ int ].
> > >
> > >
> > >
> > > Now I tried to do it from the state machine in Lua as you
> > suggested and this
> > > is the code:
> > >
> > >
> > > function f_eigen()
> > > print(" Calling f_eigen")
> > > v=peertable.CC:getProperty("Kp")
> > > print (v)
> > > v[0]=0.01
> > > v[1]=0.01
> > > v[2]=0.01
> > > end
> > >
> > >
> > > The print works but I get an error:
> > >
> > > Calling f_eigen
> > > Kp (eigen_vector) =
> > > 1
> > > 1
> > > 1
> > > 0.5
> > > 0.5
> > > 0.5 // Proportional Feedback Gain for output
> > > ENTRYerror executing entry of root.NONemergency.s_TeleOp:
> > > .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413:
> > > Variable.newindex: indexing failed, no member 1
> > >
> > >
> > > Of course I tried indexing the vector from 1 instead of 0 but
> > it doesn't
> > > work.
> >
> > Something is missing/wroing in the typekit, thus indexing the
> vector
> > fails. Maybe if you can post (a link to) the code, someone can
> > take a
> > look.
> >
> >
> > Are you using the master branch of itasc_core? I recently (March 23)
> > pushed a fix for the eigen_toolkit on that branch.
> >
> >
> > I just checked, this is working for me:
> >
> > > dp=rtt.getTC():getPeer("Deployer")
> > > dp:import("itasc_core")
> > > vec=rtt.Variable("eigen_vector")
> > > vec:resize(6)
> > > =vec
> >
> {0,6.9151246973415e-310,4.9406564584125e-324,1.5173759925177e-316,1.976262583365e-323,0}
> > > vec:fromtab{0,1,2,3,4,5}
> > > =vec
> > {0,1,2,3,4,5}
> > > vec[5]=6
> > > =vec
> > {0,1,2,3,4,6}
> >
> >
> > So it should be working if you use the latest HEAD of the master branch.
> >
> > Ruben
> >
> > Ruben
> >
> > Markus
> >
> >
> >
> >
> >
> >
> >
> > --
> > Orocos-Users mailing list
> > Orocos-Users [..] ...
> > <mailto:Orocos-Users [..] ...>
> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
> >
> >
> >
> >
> >
>
> --
> ------------------------------------------------
> Gianni Borghesan, PhD
> Robot Assisted Surgery group
> Robotics Research group
> KU Leuven,
> Department of Mechanical Engineering,
> Division of PMA
> Room 01.017
> Celestijnenlaan 300B, B-3001 Heverlee, Belgium.
> Tel: +32 16 322515.
> Fax: +32 16 322987
> ------------------------------------------------
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Change eigen_vector

Thank you Ruben, as Gianni said I'm working on devel. Applying your commit worked for me and now I can use eigen_evctor, but I don't have write access to the repo, I'll ask Gianni to do push it. Kind regards, Alain

Change eigen_vector

On 05/08/2013 11:02 AM, Ruben Smits wrote:
>
>
> On Wed, May 8, 2013 at 10:01 AM, Gianni Borghesan
> <gianni [dot] borghesan [..] ...
> <mailto:gianni [dot] borghesan [..] ...>> wrote:
>
> Hi Ruben,
> Many of us are in the devel branch, and the master has not be updated im
> a while, i believe, so merging would be a little difficult...
>
> Could you please push this fix also in the devel?
>
>
> You could try to cherrypick the commit containing the fix (19c5466fa29),
> this should be pretty straightforward. I'll leave this to you guys since
> I'm depending on master for production code. What is the current status
> of the devel branch?
I believe that is quite settled at least in itasc_core and
itasc_robot_objects, while tasks could have modification in the future,
i believe.

Has development settled down to consider a merge
> from devel to master? How much rewriting of an application that
> currently uses master would be required?

>
> do you think this will fix also the problem with reporter?
> Before it was not possible to report a eigen vector port because it
> wrote down a column vector in place of a row, disrupting the formating
> of the file...
>
>
> Executing the following script:
> ----------
> require 'rttlib'
>
> dp=rtt.getTC():getPeer("Deployer")
> dp:import("itasc_core")
>
> dp:loadComponent("reporter","OCL::FileReporting")
>
>
> eigen_port = rtt.OutputPort("eigen_vector")
> dp:addPort(eigen_port,"eigen_port")
>
> vec = rtt.Variable("eigen_vector")
> vec:resize(4)
> vec:fromtab{0.,1.,2.,3.}
> print(vec)
> eigen_port:write(vec)
>
> reporter = dp:getPeer("reporter")
> dp:addPeer("reporter","Deployer")
> reporter:reportPort("Deployer","eigen_port")
> reporter:setPeriod(1.0)
> reporter:start()
> --------------
>
> results in the following report file:
> ----------
> TimeStamp Deployer.eigen_port.0 Deployer.eigen_port.1
> Deployer.eigen_port.2 Deployer.eigen_port.3
> 2.58e-07 0 1 2 3
> 1.00008 0 1 2 3
> 2.00007 0 1 2 3
> 3.00007 0 1 2 3
> ----------
>
> Is this the format you are looking for?
yes
If not I'm not sure I understand
last time i tried i got
2.58e-07 0
1
2
3
1.00008 0
1
2
3
etc.

Gianni
> the disruption in the format you are talking about.
>
> Ruben
>
> Cheers, Gianni.
>
> On 05/08/2013 08:59 AM, Ruben Smits wrote:
> >
> > On Wed, May 8, 2013 at 8:53 AM, Ruben Smits
> > <ruben [dot] smits [..] ...
> <mailto:ruben [dot] smits [..] ...>
> <mailto:ruben [dot] smits [..] ...
> <mailto:ruben [dot] smits [..] ...>>> wrote:
> >
> >
> > On Tue, May 7, 2013 at 8:07 PM, Markus Klotzbuecher
> > <markus [dot] klotzbuecher [..] ...
> <mailto:markus [dot] klotzbuecher [..] ...>
> > <mailto:markus [dot] klotzbuecher [..] ...
> <mailto:markus [dot] klotzbuecher [..] ...>>> wrote:
> >
> > Hi Alain,
> >
> > On Mon, May 06, 2013 at 06:17:13PM +0200,
> > alain [dot] scialoja [..] ...
> <mailto:alain [dot] scialoja [..] ...>
> > <mailto:alain [dot] scialoja [..] ...
> <mailto:alain [dot] scialoja [..] ...>> wrote:
> > > Ok, I was confused, here some more info.
> > > I want to change some properties of a Constraint
> Controller
> > (CC) component
> > > from my State machine. I was initially trying from the
> Orocos
> > TaskBrowser, I
> > > browse to my CC and then I try to change the value of the
> > eigen_vector Kp:
> > >
> > >
> > > CC [U]> Kp =
> > > 1
> > > 1
> > > 1
> > > 0.5
> > > 0.5
> > > 0.5
> > >
> > > CC [U]> Kp[0]=0
> > > Fatal Semantic error: Illegal use of []: eigen_vector[
> int ].
> > >
> > >
> > >
> > > Now I tried to do it from the state machine in Lua as you
> > suggested and this
> > > is the code:
> > >
> > >
> > > function f_eigen()
> > > print(" Calling f_eigen")
> > > v=peertable.CC:getProperty("Kp")
> > > print (v)
> > > v[0]=0.01
> > > v[1]=0.01
> > > v[2]=0.01
> > > end
> > >
> > >
> > > The print works but I get an error:
> > >
> > > Calling f_eigen
> > > Kp (eigen_vector) =
> > > 1
> > > 1
> > > 1
> > > 0.5
> > > 0.5
> > > 0.5 // Proportional Feedback Gain for output
> > > ENTRYerror executing entry of root.NONemergency.s_TeleOp:
> > >
> .../thesis_ROS_LV/iBot_app/scripts/itasc_supervisor.lua:413:
> > > Variable.newindex: indexing failed, no member 1
> > >
> > >
> > > Of course I tried indexing the vector from 1 instead
> of 0 but
> > it doesn't
> > > work.
> >
> > Something is missing/wroing in the typekit, thus indexing
> the vector
> > fails. Maybe if you can post (a link to) the code,
> someone can
> > take a
> > look.
> >
> >
> > Are you using the master branch of itasc_core? I recently
> (March 23)
> > pushed a fix for the eigen_toolkit on that branch.
> >
> >
> > I just checked, this is working for me:
> >
> > > dp=rtt.getTC():getPeer("Deployer")
> > > dp:import("itasc_core")
> > > vec=rtt.Variable("eigen_vector")
> > > vec:resize(6)
> > > =vec
> >
> {0,6.9151246973415e-310,4.9406564584125e-324,1.5173759925177e-316,1.976262583365e-323,0}
> > > vec:fromtab{0,1,2,3,4,5}
> > > =vec
> > {0,1,2,3,4,5}
> > > vec[5]=6
> > > =vec
> > {0,1,2,3,4,6}
> >
> >
> > So it should be working if you use the latest HEAD of the master
> branch.
> >
> > Ruben
> >
> > Ruben
> >
> > Markus
> >
> >
> >
> >
> >
> >
> >
> > --
> > Orocos-Users mailing list
> > Orocos-Users [..] ...
> <mailto:Orocos-Users [..] ...>
> > <mailto:Orocos-Users [..] ...
> <mailto:Orocos-Users [..] ...>>
> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
> >
> >
> >
> >
> >
>
> --
> ------------------------------------------------
> Gianni Borghesan, PhD
> Robot Assisted Surgery group
> Robotics Research group
> KU Leuven,
> Department of Mechanical Engineering,
> Division of PMA
> Room 01.017
> Celestijnenlaan 300B, B-3001 Heverlee, Belgium.
> Tel: +32 16 322515 <tel:%2B32%2016%20322515>.
> Fax: +32 16 322987 <tel:%2B32%2016%20322987>
> ------------------------------------------------
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> <mailto:Orocos-Users [..] ...>
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>