

Make uncrustify happy
@a93fcd88aa3ff89b511ce3b0f9b2c5786dfb6dfb
--- p9n_node/src/teleop_twist_joy_node.cpp
+++ p9n_node/src/teleop_twist_joy_node.cpp
... | ... | @@ -68,11 +68,11 @@ |
68 | 68 |
if (this->p9n_if_->isTiltedStickL()) { |
69 | 69 |
auto twist_msg = std::make_unique<Twist>(); |
70 | 70 |
twist_msg->linear.set__x(this->linear_max_speed_ * this->p9n_if_->tiltedStickLY()); |
71 |
- |
|
72 |
- if(twist_msg->linear.x > 0){ |
|
71 |
+ |
|
72 |
+ if (twist_msg->linear.x > 0) { |
|
73 | 73 |
twist_msg->angular.set__z(this->angular_max_speed_ * this->p9n_if_->tiltedStickLX()); |
74 | 74 |
} else { |
75 |
- twist_msg->angular.set__z(- this->angular_max_speed_ * this->p9n_if_->tiltedStickLX()); |
|
75 |
+ twist_msg->angular.set__z(-this->angular_max_speed_ * this->p9n_if_->tiltedStickLX()); |
|
76 | 76 |
} |
77 | 77 |
this->twist_pub_->publish(std::move(twist_msg)); |
78 | 78 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?