afonsocastro / larcc_interface

6 stars 0 forks source link

Create basic gripper commands #6

Open afonsocastro opened 2 years ago

afonsocastro commented 2 years ago

I feel like we should have some shortcuts to be able to close/open the gripper quickly from the command line. Basic command just to open, close, and even request some instant information. All of it from the command line. The open/close command should allow speed control as well.

Joel-Baptista commented 2 years ago

This is a simple approach attempts to solve this issue. It was created alias in .baschrc (image), that execute python srcipts in the use_cases library that connect to the robot, open/close the gripper and disconnect. These alias can be called by anywhere in the terminal and they are not depended in where the project is stored in the machine because it uses "roscd" instead of "cd"

Captura de ecrã de 2022-07-15 11-22-16