Class TeleopPanel

Inheritance Relationships

Base Type

  • public rviz_common::Panel

Class Documentation

class TeleopPanel : public rviz_common::Panel

Public Functions

explicit TeleopPanel(QWidget *parent = 0)
virtual void load(const rviz_common::Config &config)
virtual void save(rviz_common::Config config) const

Public Slots

void takeoff()
void land()
void disarm(const rclcpp_action::ClientGoalHandle<as2_msgs::action::Land>::WrappedResult &result)
void hover()
void kill()
void updateDroneNs()

Protected Attributes

QLineEdit *drone_editor_
QPushButton *takeoff_button_
QPushButton *land_button_
QPushButton *hover_button_
QPushButton *kill_button_
QString drone_namespace_
std::shared_ptr<as2::Node> node_
std::shared_ptr<rclcpp::Node> node2_
rclcpp::Client<std_srvs::srv::SetBool>::SharedPtr arming_client_
rclcpp::Client<std_srvs::srv::SetBool>::SharedPtr offboard_client_
rclcpp_action::Client<as2_msgs::action::Takeoff>::SharedPtr takeoff_client_
rclcpp_action::Client<as2_msgs::action::Land>::SharedPtr land_client_
rclcpp::Publisher<as2_msgs::msg::AlertEvent>::SharedPtr alert_pub_
std::shared_ptr<as2::motionReferenceHandlers::HoverMotion> hover_handler_