84 private_executor_->cancel();
85 if (private_executor_thread_.joinable())
86 private_executor_thread_.join();
87 private_executor_.reset();
95#if RCLCPP_VERSION_GTE(30, 0, 0)
96 void update(std::chrono::nanoseconds wall_dt, std::chrono::nanoseconds ros_dt)
override;
99 void update(
float wall_dt,
float ros_dt)
override;
102 void reset()
override;
120 void publishFeedback(visualization_msgs::msg::InteractiveMarkerFeedback& feedback);
121 void onStatusUpdate(rviz_common::properties::StatusProperty::Level level,
const std::string& name,
122 const std::string& text);
132 void initializeCallback(
const visualization_msgs::srv::GetInteractiveMarkers::Response::SharedPtr& );
135 void updateCallback(
const visualization_msgs::msg::InteractiveMarkerUpdate::ConstSharedPtr& msg);
138 void resetCallback();
141 void statusCallback(interactive_markers::InteractiveMarkerClient::Status ,
const std::string& message);
143 void updateMarkers(
const std::vector<visualization_msgs::msg::InteractiveMarker>& markers);
145 void updatePoses(
const std::vector<visualization_msgs::msg::InteractiveMarkerPose>& marker_poses);
148 void eraseAllMarkers();
154 void eraseMarkers(
const std::vector<std::string>& names);
156 std::map<std::string, InteractiveMarker::SharedPtr> interactive_markers_map_;
159 InteractiveMarkerNamespaceProperty* interactive_marker_namespace_property_;
160 rviz_common::properties::BoolProperty* show_descriptions_property_;
161 rviz_common::properties::BoolProperty* show_axes_property_;
162 rviz_common::properties::BoolProperty* show_visual_aids_property_;
163 rviz_common::properties::BoolProperty* enable_transparency_property_;
165 std::unique_ptr<interactive_markers::InteractiveMarkerClient> interactive_marker_client_;
167 std::shared_ptr<rclcpp::Node> pnode_;
168 std::shared_ptr<rclcpp::executors::SingleThreadedExecutor> private_executor_;
169 std::thread private_executor_thread_;