mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
log
This commit is contained in:
@@ -108,9 +108,8 @@ namespace Modelec {
|
||||
|
||||
void ControllerListener::CheckAxis(const sensor_msgs::msg::Joy::SharedPtr msg)
|
||||
{
|
||||
// arm
|
||||
// TODO
|
||||
// do not know the range of the axis value, like if it is between -1 and 1 or not
|
||||
RCLCPP_INFO(this->get_logger(), "axes: %f %f %f %f", msg->axes[0], msg->axes[1], msg->axes[2], msg->axes[3]);
|
||||
|
||||
auto message = std_msgs::msg::String();
|
||||
int speed = 0;
|
||||
if (msg->axes[1] < 0.1 && msg->axes[1] > -0.1) {
|
||||
|
||||
Reference in New Issue
Block a user