College of DuPage Lunabotics Documentation  2025
BladeJointController Class Reference

Controls the blade joint pitch angle using joystick input. More...

Inheritance diagram for BladeJointController:
Collaboration diagram for BladeJointController:

Public Member Functions

 BladeJointController ()
 Constructor for BladeJointController. More...
 

Private Member Functions

void joy_callback (const sensor_msgs::msg::Joy::SharedPtr msg)
 Callback for processing joystick input and publishing blade joint commands. More...
 

Private Attributes

rclcpp::Subscription< sensor_msgs::msg::Joy >::SharedPtr joy_subscriber_
 
rclcpp::Publisher< std_msgs::msg::Float64MultiArray >::SharedPtr joint_publisher_
 
float pitch_angle_
 
float max_pitch_angle_
 
float min_pitch_angle_
 

Detailed Description

Controls the blade joint pitch angle using joystick input.

Constructor & Destructor Documentation

◆ BladeJointController()

BladeJointController::BladeJointController ( )
inline

Constructor for BladeJointController.

Member Function Documentation

◆ joy_callback()

void BladeJointController::joy_callback ( const sensor_msgs::msg::Joy::SharedPtr  msg)
inlineprivate

Callback for processing joystick input and publishing blade joint commands.

Parameters
msgThe joystick input message.

Member Data Documentation

◆ joint_publisher_

rclcpp::Publisher<std_msgs::msg::Float64MultiArray>::SharedPtr BladeJointController::joint_publisher_
private

◆ joy_subscriber_

rclcpp::Subscription<sensor_msgs::msg::Joy>::SharedPtr BladeJointController::joy_subscriber_
private

◆ max_pitch_angle_

float BladeJointController::max_pitch_angle_
private

◆ min_pitch_angle_

float BladeJointController::min_pitch_angle_
private

◆ pitch_angle_

float BladeJointController::pitch_angle_
private

The documentation for this class was generated from the following file: