14 rclcpp::Node(
"SimulationRemoteControl") {
15 rclcpp::QoS qos_params = get_qos_profile(QOS_BEST_EFFORT);
16 m_publisherSPtr = this->create_publisher<SimulationVehicleControlType>(
"galaxis/simulation/remotecontrol", qos_params);
17 log(
"Vehicle Control Message Publisher created.");
23 system(
"stty cooked");
27 log(
"Start RemoteControl Loop");
28 log(
"Press 'w a d 1 2 3 4 e' for drive and ESC/q for quit");
33 log(
"Waiting for input...");
41 if(c ==
'q' || c == 27) {
77 log(
" No Command. [", c,
"] ");
86 system(
"stty cooked");
88 log(
"\nRemoteControl exited.");
93 auto message = std::make_unique<SimulationVehicleControlType>();
96 message->turnangle_front =
m_yaw;