-
Notifications
You must be signed in to change notification settings - Fork 7
Take logs with THOR
-
Press the emergency button. Then turn on the powers for robot and the computer.
-
Turn on the zbox on the robot.
-
ssh to zbox(192.168.123.222), pw:ddlive
-
Create a new screen called imu with screen -S imu
Then inside this screen:
cd UPennDev/Robots/THOROP
./run_imu.lua
This turns on the imu sensor on the robot. Make sure that the robot is touching the ground so it is not moving at all. Otherwise the imu check will fail. -
Create a new screen called dcm with
screen -S dcm
Then inside this screen:
cd UPennDev/Robots/THOROP
./run_dcm.lua
This turns on the motors on the robot -
Create a new screen called test with screen -S test
Inside this screen:
cd UPennDev
./Test/test_teleop.lua
This allows you to control the robot with keyboard -
Create a new screen called state with screen -S state
Inside this screen:
cd UPennDev/Run
./state_wizard.lua -
Now go back to screen test. Press 1 to initialize the robot, then press 8 to make it standup. Press "~" to control the head. Now you can use 'w' 'a' 's' 'd' to control the movement of the head.
-
Create a new screen with
screen -S lidar
Inside:
cd UPennDev/Run
./lidar_wizard.lua -
Create a new screen with screen -S mesh
inside:
cd UPennDev/Run
./mesh_wizard.lua -
Create a new screen with screen -S kinect
inside:
cd UPennDev/Run
./kinect2_wizard.lua -
now you can go the screen test and control the head for logs.
-
After you take enough log, you can stop the wizard programs. The logs are in /tmp/. You can go the the folder on your computer and do scp "[email protected]:/tmp/.log" . This will copy the logs from the robot to your computer. After that, just do rm /tmp/.log on the robot. And you are done.