Newer
Older
casic_unitree_dog / src / constant_config.hpp
//
// Created by pengx on 2025/4/10.
//

#ifndef CONSTANT_CONFIG_HPP
#define CONSTANT_CONFIG_HPP

namespace ConstantConfig {
    constexpr int TCP_REMOTE_PORT = 9001;
    // constexpr int TCP_REMOTE_PORT = 30029;

    constexpr const char *SERVICE_ADDRESS = "192.168.123.18";
    // constexpr const char *SERVICE_ADDRESS = "111.198.10.15";
    constexpr int TCP_LOCALE_PORT = 8888;


    constexpr const char *GAS_PORT = "/dev/ttyUSB0";
    constexpr int BAUD_RATE = 115200;

    constexpr const char *API_RECEIVE_DATA = "/device/receiveData";
    constexpr const char *HTTP_PORT = "30028";
    constexpr const char *DOG_CODE = "B42D4000OCAD3N82";

    constexpr const char *SLAM_NET_PORT = "eth0";

    constexpr const char *ROBOTIC_ARM_PORT = "/dev/ttyACM0";

    constexpr const char *ROBOTIC_ARM_COMMAND_CONFIG = "/home/user/robotic_arm_commands.conf";
}

#endif //CONSTANT_CONFIG_HPP