From: Walter Fetter Lages Date: Tue, 17 Sep 2019 06:24:53 +0000 (-0300) Subject: Add launch file for Logitech Wingman joystick. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=d785b29242ee8eabc9335f2f81dcc1925a65007c;p=barrett-ros-pkg.git Add launch file for Logitech Wingman joystick. --- diff --git a/.gitignore b/.gitignore index e69de29..149ae5b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,51 @@ +devel/ +logs/ +build/ +bin/ +lib/ +msg_gen/ +srv_gen/ +msg/*Action.msg +msg/*ActionFeedback.msg +msg/*ActionGoal.msg +msg/*ActionResult.msg +msg/*Feedback.msg +msg/*Goal.msg +msg/*Result.msg +msg/_*.py +build_isolated/ +devel_isolated/ + +# Generated by dynamic reconfigure +*.cfgc +/cfg/cpp/ +/cfg/*.py + +# Ignore generated docs +#*.dox +*.wikidoc + +# eclipse stuff +.project +.cproject + +# qcreator stuff +CMakeLists.txt.user + +srv/_*.py +*.pcd +*.pyc +qtcreator-* +*.user + +/planning/cfg +/planning/docs +/planning/src + +*~ + +# Emacs +.#* + +# Catkin custom files +#CATKIN_IGNORE diff --git a/wam_common/wam_teleop/launch/wam_wingman.launch b/wam_common/wam_teleop/launch/wam_wingman.launch new file mode 100644 index 0000000..42b158d --- /dev/null +++ b/wam_common/wam_teleop/launch/wam_wingman.launch @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wam_common/wam_teleop/src/wam_joystick_teleop.cpp b/wam_common/wam_teleop/src/wam_joystick_teleop.cpp index c8f9300..b21ac72 100644 --- a/wam_common/wam_teleop/src/wam_joystick_teleop.cpp +++ b/wam_common/wam_teleop/src/wam_joystick_teleop.cpp @@ -96,7 +96,7 @@ void WamTeleop::init() n_.param("orientation_magnitude", ortn_mag, 1.0); n_.param("cartesian_x_axis", axis_x, 3); n_.param("cartesian_y_axis", axis_y, 2); - n_.param("cartesian_x_axis", axis_z, 1); + n_.param("cartesian_z_axis", axis_z, 1); n_.param("orientation_roll_axis", axis_r, 3); n_.param("orientation_pitch_axis", axis_p, 2); n_.param("orientation_yaw_axis", axis_yaw, 1);