extracting ConfData from robot target.

Hi, 

I was wondering of a function that can extract and store the config data of a robot target? 

I was going to write my own function using "CalcjointT" but wondered if there was an easier way :)

If anyone knows of something it would be good to hear! 

Thanks

Comments

  • lemster68
    lemster68 United States ✭✭✭
    You don't need a function, just declare a confdata variable and assign the value from the robtarget to it.
    VAR confdata myConfData;
    
    MyConfDtata:=p10.robconf;

    Lee Justice
  • Luke1995
    Luke1995 Rochester
    perfect, thanks again for the tip! 

    hopefully soon ill be one of the ones answering questions and not asking them all the time!  :D