diff --git a/leo_fw/src/firmware_message_converter.cpp b/leo_fw/src/firmware_message_converter.cpp index f1d109c..a013752 100644 --- a/leo_fw/src/firmware_message_converter.cpp +++ b/leo_fw/src/firmware_message_converter.cpp @@ -42,6 +42,8 @@ using namespace std::chrono_literals; using std::placeholders::_1; using std::placeholders::_2; +constexpr double PI = 3.141592653; + namespace leo_fw { @@ -414,7 +416,6 @@ class FirmwareMessageConverter : public rclcpp::Node } // Merged Odom variables - static constexpr double PI = 3.141592653; double velocity_linear_x; double velocity_linear_y; double velocity_angular_z;