30 return px4_msgs::msg::SetpointConfig::TYPE_MULTICOPTER_GOTO;
44 void update(
const Eigen::Vector3f& position,
const std::optional<float>& heading = {},
45 const std::optional<float>& max_horizontal_speed = {},
46 const std::optional<float>& max_vertical_speed = {},
47 const std::optional<float>& max_heading_rate = {});
49 float desiredUpdateRateHz()
override {
return 30.f; }
53 rclcpp::Publisher<px4_msgs::msg::GotoSetpoint>::SharedPtr _goto_setpoint_pub;
76 void update(
const Eigen::Vector3d& global_position,
const std::optional<float>& heading = {},
77 const std::optional<float>& max_horizontal_speed = {},
78 const std::optional<float>& max_vertical_speed = {},
79 const std::optional<float>& max_heading_rate = {});
83 std::unique_ptr<MapProjection> _map_projection;
84 std::shared_ptr<MulticopterGotoSetpointType> _goto_setpoint;
Definition context.hpp:18
void update(const Eigen::Vector3d &global_position, const std::optional< float > &heading={}, const std::optional< float > &max_horizontal_speed={}, const std::optional< float > &max_vertical_speed={}, const std::optional< float > &max_heading_rate={})
Go-to global setpoint update.
void update(const Eigen::Vector3f &position, const std::optional< float > &heading={}, const std::optional< float > &max_horizontal_speed={}, const std::optional< float > &max_vertical_speed={}, const std::optional< float > &max_heading_rate={})
Go-to setpoint update.