Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def on_msg(channel, data):
m = multisense_state_t.decode(data)
m.num_joints = 1
lc.publish("MULTISENSE_STATE",m.encode())
print m.utime