def sendPlanUsingBdiHeight(self, enabled): msg = lcmdrc.plan_adjust_mode_t() msg.utime = getUtime() msg.mode = 1 if enabled else 0 lcmUtils.publish('PLAN_USING_BDI_HEIGHT', msg)