Getting Started
How to Connect
Direct Connection
Keyboard and monitor are directly connected to ROBOTIS-OP3.
Remote Connection
Connect to ROBOTIS-OP3 over the network.
Connection Type
-
Via Wireless(WLAN)
IP address will be automatically assigned when connecting to ROBOTIS-OP3-Share.
After establishing Wi-Fi connection, use one of the connection methods described in the next section. (password : 111111) -
Via Wired(Ethernet)
When using wired connection, connect ROBOTIS OP3 to the same Router with PC so that OP3 can be connected as a DHCP client.
How to connect
- SSH
- Execute SSH client program (ex: PuTTY)
- Input ROBOTIS-OP3’s IP address : 10.42.0.1
- Select SSH as a connection type and then open it.
- Input ROBOTIS-OP3’s user name : robotis
- Input ROBOTIS-OP3’s password : 111111
- VNC
- Execute VNC client program (ex: Ultra VNC Viewer)
- Input ROBOTIS-OP3’s IP address : 10.42.0.1
- Input ROBOTIS-OP3’s password : 111111
- Accessing ROBOTIS-OP3 via remote desktop may result in slower performance.
How to kill the demo program
Kill demo program
In order to terminate automatically executed demo program, enter below command in the terminal window.
$ sudo service OP3-demo stop
Running demo on startup
This chapter describes settings for automatically executing demo on startup.
Autorun feature requires robot_upstart package from ROS.
Reference : robot_upstart
Start demo program on start
- Make a script for auto-run
Open a new terminal window and execute below commands.
(password : 111111)$ rosrun robot_upstart install --job JOB_NAME --user root --master http://10.42.0.1 op3_demo/launch/demo.launch
- JOB_NAME : This item specifies job name to autorun. The job name will be registered on the service.
ex : OP3-demorosrun robot_upstart install --job OP3-demo --user root --master http://10.42.0.1:11311 op3_demo/launch/demo.launch
- NOTE : Autorun program will be generated based on
op3_demo/launch/demo.launch
.
- JOB_NAME : This item specifies job name to autorun. The job name will be registered on the service.
- Modify the script
- open service file and modify the contents
$ sudo xed /usr/sbin/OP3-demo-start
- from :
export ROS_HOSTNAME=$(hostname)
- to :
export ROS_HOSTNAME=10.42.0.1
- open service file and modify the contents
- Run the service
$ sudo systemctl daemon-reload && sudo systemctl start JOB_NAME
daemontools
Installation : Ifdaemontools
is not installed on the system, execute below command.$ sudo apt install daemontools
Stop demo program on start
Open a new terminal window and execute following commands.
$ rosrun robot_upstart uninstall JOB_NAME
How to restart the demo program
When to restart the demo
- When camera has lost its connection due to electrical or mechanical issue.
- When USB2DYNAMIXEL has lost its connection due to electrical or mechanical issue.
- When resetting DYNAMIXEL with Reset button due to DYNAMIXEL error.
How to restart the demo
In order to restart autorun demo, execute following command in the terminal window.
(password : 111111)
$ sudo service OP3-demo restart