Skip to content

Commit

Permalink
joy mode bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tianb03 committed Dec 14, 2019
1 parent 9549f3f commit 50e1039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tianracer_bringup/env-hooks/99.default_tianracer.sh.em
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
: ${TIANBOT_LIDAR:=rplidar_a2} # rplidar_a1, rplidar_a2, rplidar_a3, velodyne_vlp16
: ${TIANBOT_LIDAR_PORT:=/dev/tianbot_rplidar} # /dev/ttyUSB0
: ${TIANBOT_GPS:=none} # none, nmea0183
: ${TIANBOT_JOY:=D} # X, D
: ${TIANBOT_JOY:=D} # logitech joy mode X, D


#Exports
Expand Down
2 changes: 1 addition & 1 deletion tianracer_teleop/launch/joystick_teleop.launch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>

<launch>
<arg name="joy_mode" default="$(optenv TIANBOT_JOY_MODE X)" />
<arg name="joy_mode" default="$(optenv TIANBOT_JOY X)" />
<node pkg="joy" type="joy_node" name="joystick">
<param name="dev" value="/dev/tianbot_joystick" />
</node>
Expand Down

0 comments on commit 50e1039

Please sign in to comment.