Skip to content

Commit a360863

Browse files
committed
fix: logitech updates
1 parent 2f5c0a4 commit a360863

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/vb_util_lib/rc_mapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ class rc_mapper
7979
#define LOGITECH_RC_ARM 0
8080

8181
#define LOGITECH_RC_THROTTLE_SIGN 1
82-
#define LOGITECH_RC_YAW_SIGN -1
83-
#define LOGITECH_RC_ROLL_SIGN -1
82+
#define LOGITECH_RC_YAW_SIGN 1
83+
#define LOGITECH_RC_ROLL_SIGN 1
8484
#define LOGITECH_RC_PITCH_SIGN 1
8585

8686
#define LOGITECH_RC_MAX_VALUE 1

src/vb_util_lib/rc_controls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ void RC_Controls::setLogitechControls(const sensor_msgs::Joy::ConstPtr& msg) {
290290
setLogitechStickValue(roll_, roll);
291291
setLogitechStickValue(throttle_, throttle);
292292

293-
printf("XXX RC: roll[%0.2f], pitch[%0.2f], yaw[%0.2f], throttle[%0.2f], gear[%0.2f], mode[%0.2f]\n",
293+
ROS_INFO_THROTTLE(1.0, "XXX RC: roll[%0.2f], pitch[%0.2f], yaw[%0.2f], throttle[%0.2f], gear[%0.2f], mode[%0.2f]\n",
294294
roll_, pitch_, yaw_, throttle_, gear_, mode_);
295295
}
296296

0 commit comments

Comments
 (0)