Record current base number

  • Hello,


    I'm currently trying to record the position of the robot automatically during the execution of the program, helped by the variable $pos_act, works fine.
    I'm also trying to record the base number to link the recorded positions to a base.


    I was planning on using the variable $ACT_BASE, but it seems the value is the advance run base value, not the current base number (which cause a mismatch of the recorded position $pos_act and the base for several points). I guess the $ACT_BASE is linked to the $BASE variable, which is clearly defined as :


    $BASE : Offset and rotation of the base coordinate system in relation to the
    world coordinate system in the advance run


    Is there any other variable I could use to record the base linked to my recorded $POS_ACT ? (a variable like $ACT_BASE without advance run).


    Thank you !


    And best wishes for 2013 :p.

Advertising from our partners