INSTALL

INTRO

In order to facilitate a customizable and portable version of the keyboard interface one must include this package for the use of pushing velocity commands via their keyboard.

This guide assumes three things:

  1. ROS is setup properly and configured

  2. The husky_ws is setup using the previous step and the .bashrc has been setup properly for said workstation

    1. Git (start at the Install Git on Linux section) and python (python2 should come preinstalled on ubuntu)/pip (Use the Debian/Ubuntu section) is installed

SETUP

  1. Navigate to the husky_kinetic workstation

         `cd ~/Documents/husky_kinetic/src`
    
    1. Clone the github repository using the code below

        `git clone -b Control-Mapping https://github.com/CSUN-SERL/Tutorials.git custom_keyboard_interface`
      
    2. Move to the source space

        `cd ..`
      
    3. Build said package using catkin make

        `catkin_make`
      
    4. Re-execute the source command in order for the new package to be recognized

        `source ~/Documents/husky_kinetic/devel/setup.bash`
      
    5. Run _rospack _to verify the new packages are installed and visible

        `rospack find custom_keyboard_interface`
      
    6. Install configparser

        `pip install configparser`
      

Usage

  1. Run roscore

    roscore

  2. Run the below command:

        `rosrun custom_keyboard_interface custom_keyboard_interface.py`
    

    You should see the below window:

Customization

By default the implementation uses the wasd configuration. In order to customize the commands we've included an .ini file that can be used to customize said controls. This should be titled config.ini.

results matching ""

    No results matching ""