package main

import (
	"cicv-data-closedloop/kinglong_msgs"
)

func Topic() string {
	return "/cicv_location"
}

func Label() string {
	return "brake"
}

func Rule(data *kinglong_msgs.PerceptionLocalization) string {
	if data.AccelX*9.8 < -5.0 {
		return "brake"
	} else {
		return ""
	}
}
