# setting the windows size
root.geometry("250x150")
root.title("PID parameters tool")
# declaring string variable
# for storing name and password
v_var=tk.DoubleVar()
ref_var=tk.DoubleVar()
# kp_var=tk.DoubleVar()
# ki_var=tk.DoubleVar()
# kd_var=tk.DoubleVar()


DB_NAME = os.getenv('VEHICLE_NAME')

inter_node = DTROS(
        node_name="InteractionNode",
        node_type=NodeType.DIAGNOSTICS
    )

parameters_pub = rospy.Publisher(
        f'/{DB_NAME}/PID_parameters',
        String,
        queue_size=1,
        dt_topic_type=TopicType.GENERIC
    )

def submit_stop():
    PID_param_str = "STOP"

    print(PID_param_str)

    msg = String()
예제 #2
0
 def __init__(self, node_name):
     DTROS.__init__(self, node_name=node_name, node_type=NodeType.GENERIC)
     self.veh = rospy.get_namespace().strip('/')