These are chat archives for LCAS/Human-Aware-Navigation

22nd
Mar 2016
AJames200
@AJames200
Mar 22 2016 20:18
This message was deleted
how do i send data between differing def E.G.
varx = None

def something(msg):
       varx = msg.pose.pose.position.x

def somthingElse(data):
       #do stuff with data
       print varx
Christian Dondrup
@cdondrup
Mar 22 2016 21:53
Easiest is to make it a class and a member variable or you use the keyword global in the function where you assign a value to it.