-
Notifications
You must be signed in to change notification settings - Fork 22
/
Running_Tutorials.txt
25 lines (16 loc) · 1.45 KB
/
Running_Tutorials.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Tutorials Provided at:
https://github.com/humanisticrobotics/hri-safe-remote-control-system/tree/master/drivers/C/tutorials
Tutorial Descriptions (Refer to Source for Details):
vsc_tutorial_1: A message of type UserHeartbeatMsgType containing the EStopStatus is sent at a rate of 20Hz to the VSC. This is a basic example where the joystick and button values can be seen as received by the VSC.
vsc_tutorial_2: This tutorial shows how to switch the SRC into custom text display mode. This example is based
on the first tutorial and expands it by settings three default display lines, and constantly updating the fourth.
vsc_tutorial_3: The third tutorial shows how to switch the SRC into the text/value display mode. The example shows how to constantly update user feedback values on the SRC display.
vsc_tutorial_4: The fourth example shows how to switch the SRC into the user value displa mode. The example shows
how to constantly update user feedback values and also send motor control commands to the SRC.
Basic Instructions:
To run vsc_tutorial_1, ensure that the SRC and VSC are on the same network.
Under the cloned directory /driver/C execute the following command in your terminal:
./tutorials/vsc_tutorial_1 /ttyACM* 115200
where * replaces the serial port being used for the VSC.
Note: This example assumes the VSC is connected via USB to a user computer. Ports used
can be found under /dev directory in Mac and Linux systems. Usually, ttyACM0/1, tty.usbserial.