Difference between revisions of "Control Studio/zh-hans"
Line 10: | Line 10: | ||
[[File:ControlStudio_gui_components.png|800px]] | [[File:ControlStudio_gui_components.png|800px]] | ||
+ | |||
+ | ==工具== | ||
+ | ===IP配置器=== | ||
+ | ====描述==== | ||
+ | '''IP配置器 '''工具将帮助您定义新的或未知的softMC IP地址, | ||
+ | 然后再进行连接。 <br> | ||
+ | |||
+ | 要使用IP配置器,您需要以下内容: | ||
+ | * 电脑运行ControlStudio。 | ||
+ | * sofMC-3或softMC-7。 | ||
+ | * 以太网电缆连接在您的网络和softMC之间。 | ||
+ | * 串行电缆连接在softMC和计算机之间。 | ||
+ | * 直流电源 - 适用于softMC。 | ||
+ | |||
+ | ====入门==== | ||
+ | '''Step 1''' - Connect your softMC to the power supply, the network - with the Ethernet cable, | ||
+ | |||
+ | and to the computer - from COM1 (as shown), with the serial cable. <br> | ||
+ | ::[[image: IP_9.png|300px]] | ||
+ | run '''ControlStudio''' and turn on your softMC. | ||
+ | |||
+ | |||
+ | '''Step 2''' - In the ControlStudio, go to '''controller Monitor''' menu at the right side of | ||
+ | |||
+ | the screen. There you will see the devices which connect to your network, without any | ||
+ | |||
+ | information about your new unknown softMC or with device that doesn't have IP address: <br> | ||
+ | ::[[image: IP_1.png|900px]] <br> | ||
+ | |||
+ | |||
+ | '''Step 3''' - According to your network properties - choose an IP address or get one from your | ||
+ | |||
+ | network manager.<br> | ||
+ | You can check the address availability by using ''windows command'' tool (CMD), with '''ping''' | ||
+ | |||
+ | command as shown here in yellow: | ||
+ | ::[[image: IP_3.png|600px]] <br> | ||
+ | |||
+ | Additional information about your address will be found in the same window, using the | ||
+ | |||
+ | '''ipconfig''' command: | ||
+ | ::[[image: IP_4.png|600px]] <br> | ||
+ | The information that required to us is the '''Subnet Mask''' and the '''default Geteway''': | ||
+ | ::[[image: IP_5.png|600px]] <br> | ||
+ | |||
+ | |||
+ | |||
+ | '''Step 4''' - In the ControlStudio, at the menu bar - choose '''Tools''' | ||
+ | |||
+ | <big><big>→</big></big> '''IP Configurator'''. <br> | ||
+ | ::[[image: IP_2.png|900px]] <br> | ||
+ | |||
+ | |||
+ | '''Step 5''' - New window will open.<br> | ||
+ | ::[[image: IP_6.png|250px]] <br> | ||
+ | |||
+ | * In case you already '''know''' the device IP address - choose ''Yes'' button. A '''Connect | ||
+ | |||
+ | Via Network''' window will pop-up - fill the blank spaces with the correct information and | ||
+ | |||
+ | press the ''Connect'' button. <br> | ||
+ | :::[[image: IP_7.png|250px]] <br> | ||
+ | You will find your sofMC, with the known IP address, at the '''controller Monitor''' menu ready | ||
+ | |||
+ | to connect. | ||
+ | |||
+ | * In case you '''don't know''' softMC IP address - choose ''No'' button. A '''Connect Via | ||
+ | |||
+ | COM''' window will pop-up. In this window you will be asked about the connection between the | ||
+ | |||
+ | softMC and your PC - the COM1 port. If you don't sure how to locate it - press ''Where is my | ||
+ | |||
+ | COM port?'' link or go back to '''Step 1''' for the picture. If the softMC connected properly - | ||
+ | |||
+ | choose the ''Connect'' button. <br> | ||
+ | :::[[image: IP_8.png|250px]] <br> | ||
+ | |||
+ | |||
+ | '''Step 6''' - New window will open - '''Select COM Device'''. In this window you'll have to | ||
+ | |||
+ | choose the serial port in your PC that attached to the softMC<br> | ||
+ | ::[[image: IP_10.png|250px]] <br> | ||
+ | After the right port as been selected - press the ''Connect'' button. <br> | ||
+ | |||
+ | |||
+ | '''step 7''' - The '''Set IP''' window will open. <br> | ||
+ | ::[[image: IP_11.png|250px]] <br> | ||
+ | |||
+ | |||
+ | * In case you '''know''' that your softMC has modified and already have an IP address - you can | ||
+ | |||
+ | choose '''Obtain an IP address automatically''' option to use the former address, and press the | ||
+ | |||
+ | '''Apply''' button. The details of the IP address will show up when you press the '''Show | ||
+ | |||
+ | Config''' button. <br> | ||
+ | ::[[image: IP_12.png|250px]] <br> | ||
+ | Now you can find and connect to the softMC with the same IP address in the '''controller | ||
+ | |||
+ | Monitor''' menu at the right, and close the '''IP Configurator'''. <br> | ||
+ | ::[[image: IP_13.png|900px]] <br> | ||
+ | |||
+ | * In case you '''don't know''' any former information about the IP address, you should choose | ||
+ | |||
+ | '''Static IP address''' option, and fill the blank spaces with the information you gain at | ||
+ | |||
+ | '''Step 3''' - the ''IP address'' you choose, '''subnet mask''' and '''default geteway''' - now | ||
+ | |||
+ | choose '''Apply''' button. | ||
+ | ::[[image: IP_14.png|250px]] <br> | ||
+ | |||
+ | |||
+ | You can find and connect to the softMC with the new IP address in the '''controller Monitor''' | ||
+ | |||
+ | on the right, and close the '''IP Configurator'''. <br> | ||
+ | ::[[image: IP_16.png|900px]] <br> | ||
+ | |||
+ | |||
+ | |||
+ | {{Note| After setting the new data about the IP address, the IP Configurator will ask you to | ||
+ | |||
+ | reboot the softMC - approve that to ratify the new setting | ||
+ | }} <br> | ||
+ | ::[[image: IP_15.png|350px]] | ||
+ | |||
+ | ===SSH Terminal=== | ||
+ | ====Description==== | ||
+ | |||
+ | ====Getting Started==== | ||
+ | {{Note| This manual is under the assumption that the ControlStudio already connected to a robot | ||
+ | |||
+ | or a simulator.}} <br> | ||
+ | |||
+ | '''step 1''' - At the menu bar, under the '''Tools''' tab - choose the '''SSH Terminal''' | ||
+ | |||
+ | button. <br> | ||
+ | ::[[image: SSH_1.png| 800px]] <br> | ||
+ | |||
+ | |||
+ | |||
+ | '''step 2''' - A new window will be opened. In this window you need to confirm the folowing: | ||
+ | |||
+ | <br> | ||
+ | :* IP address that belong to your robot/simulator. | ||
+ | :* Your username and password to access your robot/simulator. | ||
+ | ::[[image: SSH_2.png |500px]] <br> | ||
+ | |||
+ | |||
+ | |||
+ | '''step 3''' - Back to the menu bar, under the '''view''' tab - choose the '''SSH Terminal''' | ||
+ | |||
+ | button. <br> | ||
+ | ::[[image: SSH_3.png |800px]] <br> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | '''step 4''' - The SSH Terminal interface will be opend, ready for yout commands. <br> | ||
+ | ::[[image: SSH_4.png |800px]] <br> | ||
+ | |||
+ | ====Example==== | ||
+ | In this example we use the '''ls''' command - that provide list of files in the current working | ||
+ | |||
+ | directory. | ||
+ | {{Note|The SSH Terminal operated by '''Linux''' commands.}} | ||
+ | |||
+ | |||
+ | |||
+ | '''Step 1''' - In the SSH terminal window add the command you want to activated, and press the | ||
+ | |||
+ | ''enter'' button. <br> | ||
+ | ::[[image: SSH_5.png | 800px]] <br> | ||
+ | |||
+ | |||
+ | '''Step 2''' - In the same window, you will get the information you asked for. <br> | ||
+ | ::[[image: SSH_6.png | 800px]] <br> |
Revision as of 06:27, 20 July 2017
语言: | [[::Control Studio|English]] • [[::Control Studio/zh-hans|中文(简体)]] |
---|
Contents
ControlStudio
ControlStudio软件是运动应用开发的工具。 它包含编程编辑器,数据记录器,调试器和监视工具。
- ControlStudio是softMC的集成开发环境(IDE)。
- 用于编写程序(任务),调试任务,记录数据。
- 图形用户界面。
- 向softMC提供命令行界面(终端)
工具
IP配置器
描述
IP配置器 工具将帮助您定义新的或未知的softMC IP地址,
然后再进行连接。
要使用IP配置器,您需要以下内容:
- 电脑运行ControlStudio。
- sofMC-3或softMC-7。
- 以太网电缆连接在您的网络和softMC之间。
- 串行电缆连接在softMC和计算机之间。
- 直流电源 - 适用于softMC。
入门
Step 1 - Connect your softMC to the power supply, the network - with the Ethernet cable,
and to the computer - from COM1 (as shown), with the serial cable.
run ControlStudio and turn on your softMC.
Step 2 - In the ControlStudio, go to controller Monitor menu at the right side of
the screen. There you will see the devices which connect to your network, without any
information about your new unknown softMC or with device that doesn't have IP address:
Step 3 - According to your network properties - choose an IP address or get one from your
network manager.
You can check the address availability by using windows command tool (CMD), with ping
command as shown here in yellow:
Additional information about your address will be found in the same window, using the
ipconfig command:
The information that required to us is the Subnet Mask and the default Geteway:
Step 4 - In the ControlStudio, at the menu bar - choose Tools
→ IP Configurator.
Step 5 - New window will open.
- In case you already know the device IP address - choose Yes button. A Connect
Via Network window will pop-up - fill the blank spaces with the correct information and
press the Connect button.
You will find your sofMC, with the known IP address, at the controller Monitor menu ready
to connect.
- In case you don't know softMC IP address - choose No button. A Connect Via
COM window will pop-up. In this window you will be asked about the connection between the
softMC and your PC - the COM1 port. If you don't sure how to locate it - press Where is my
COM port? link or go back to Step 1 for the picture. If the softMC connected properly -
choose the Connect button.
Step 6 - New window will open - Select COM Device. In this window you'll have to
choose the serial port in your PC that attached to the softMC
After the right port as been selected - press the Connect button.
step 7 - The Set IP window will open.
- In case you know that your softMC has modified and already have an IP address - you can
choose Obtain an IP address automatically option to use the former address, and press the
Apply button. The details of the IP address will show up when you press the Show
Config button.
Now you can find and connect to the softMC with the same IP address in the controller
Monitor menu at the right, and close the IP Configurator.
- In case you don't know any former information about the IP address, you should choose
Static IP address option, and fill the blank spaces with the information you gain at
Step 3 - the IP address you choose, subnet mask and default geteway - now
choose Apply button.
You can find and connect to the softMC with the new IP address in the controller Monitor
on the right, and close the IP Configurator.
NOTE | |
After setting the new data about the IP address, the IP Configurator will ask you to
reboot the softMC - approve that to ratify the new setting |
SSH Terminal
Description
Getting Started
NOTE | |
This manual is under the assumption that the ControlStudio already connected to a robot or a simulator. |
step 1 - At the menu bar, under the Tools tab - choose the SSH Terminal
button.
step 2 - A new window will be opened. In this window you need to confirm the folowing:
- IP address that belong to your robot/simulator.
- Your username and password to access your robot/simulator.
step 3 - Back to the menu bar, under the view tab - choose the SSH Terminal
button.
step 4 - The SSH Terminal interface will be opend, ready for yout commands.
Example
In this example we use the ls command - that provide list of files in the current working
directory.
NOTE | |
The SSH Terminal operated by Linux commands. |
Step 1 - In the SSH terminal window add the command you want to activated, and press the
enter button.
Step 2 - In the same window, you will get the information you asked for.