 |
Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
|
Go to the documentation of this file. 1 #ifndef _CONTROLLERNODE_HPP_
2 #define _CONTROLLERNODE_HPP_
8 #include "rclcpp/rclcpp.hpp"
10 #include "std_msgs/msg/string.hpp"
17 #include <std_msgs/msg/u_int8.hpp>
19 #include <image_transport/image_transport.h>
96 rcl_interfaces::msg::SetParametersResult
new_parameters_callback(
const std::vector<rclcpp::Parameter>& parameters);
99 #endif // _CONTROLLERNODE_HPP_
MeasurementsType::SharedPtr m_lastReceivedMeasurementSPtr
std::atomic< float > m_minVelocity
void on_controller_reference_callback(ControllerReferenceType::SharedPtr msg)
std::shared_ptr< ControlLightsType > m_lastSentControlLights
void on_map_debug_image_callback(const sensor_msgs::msg::Image::ConstSharedPtr &msg)
rclcpp::Publisher< ControlMotionType >::SharedPtr m_controlValuesPubSPtr
void send_simulation_messages()
rclcpp::Publisher< DebugControllerType >::SharedPtr m_debugControllerPubSPtr
std::shared_ptr< std::vector< float > > m_turnAnglesSPtr
std::tuple< float, float > m_currentTurnAngles
std::atomic< bool > m_disableController
rclcpp::Subscription< ControllerReferenceType >::SharedPtr m_controllerRefSubSPtr
image_transport::Subscriber m_localMapDebugImgSubscription
void calculate_turn_angle()
std::atomic< bool > m_start_ParkingNode
rclcpp::Publisher< SimulationVehicleControlType >::SharedPtr m_simulationVehicleControlPubSPtr
rclcpp::Publisher< ControlLightsType >::SharedPtr m_controlLightsPubSPtr
image_transport::Publisher m_localMapDebugTrajectoryImgPublisher
void publish_control_values(ControlMotionType::UniquePtr msg)
rclcpp::Subscription< MeasurementsType >::SharedPtr m_measurementSubSPtr
rclcpp::Publisher< std_msgs::msg::UInt8 >::SharedPtr m_lightsStdPublisherSPtr
void on_pathpolynom_callback(PathpolynomType::SharedPtr msg)
void on_measurement_callback(MeasurementsType::SharedPtr msg)
std::shared_ptr< galaxis::control::TwoAndAHalfCarrots > m_controlTwoAndAHalfCarrotsSPtr
rclcpp::Subscription< PathpolynomType >::SharedPtr m_pathPolynomSubSPtr
std::atomic< float > m_currentVelocityApplied
std::atomic< int64_t > m_lastPolynomUpdateTimestamp
PathpolynomType::SharedPtr m_lastReceivedPathpolynomSPtr
void send_debug_messages()
std::atomic< bool > m_stop_ControllerNode
std::shared_ptr< PolySpline > m_currentReferenceSplineSPtr
std::mutex m_measurementMtx
std::mutex m_pathPolynomMtx
std::shared_ptr< galaxis::line_markings_reference_t > m_currentLineMarkingReferenceSPtr
std::atomic< float > m_velocityRollingAverageFactorForNewVelocity
rcl_interfaces::msg::SetParametersResult new_parameters_callback(const std::vector< rclcpp::Parameter > ¶meters)
std::tuple< std::atomic< bool >, std::atomic< bool > > m_currentIndicatorState
std::atomic< float > m_currentVelocity
std::atomic< float > m_currentVelocityReference