28 static constexpr int kMaxNumMotors = px4_msgs::msg::ActuatorMotors::NUM_CONTROLS;
29 static constexpr int kMaxNumServos = px4_msgs::msg::ActuatorServos::NUM_CONTROLS;
34 float desiredUpdateRateHz()
override {
return 200.f;}
41 void updateServos(
const Eigen::Matrix<float, kMaxNumServos, 1> & servo_commands);
49 void updateMotors(
const Eigen::Matrix<float, kMaxNumMotors, 1> & motor_commands);
53 rclcpp::Publisher<px4_msgs::msg::ActuatorMotors>::SharedPtr _actuator_motors_pub;
54 rclcpp::Publisher<px4_msgs::msg::ActuatorServos>::SharedPtr _actuator_servos_pub;
Definition context.hpp:20