这可以通过VIPLE的“启动网络模拟器”打开,也可以通过网络浏览器的URL手动打开。 为了“运行”该模拟器,必须连接到VIPLE或JSON传输程序,在VIPLE上启动新的“ Web模拟器”将不会开始执行机器人的运动和测量。 请仔细按照以下说明进行操作。This has either been opened from VIPLE's "Start web simulator" or has been opened manually through your web browser's URL. In order to "Run" this simulator, you must connect to VIPLE or JSON transmitting program, starting a new "Web simulator" on VIPLE will not begin the execution of the robot's movement and measurements. Please follow the instructions carefully below.
1.) 打开ASU VIPLE,并确保您的“机器人”服务块的TCP端口为8124(第二个机器人使用端口8125)。Open ASU VIPLE and ensure that your "Robot" service block has 8124 as its TCP port (use port 8125 for a second robot).
2.) 运行ASU VIPLE程序(绿色三角形按钮),并确保显示的窗口“ RunWindow”显示为“正在运行程序”。在执行期间使RunWindow保持打开状态。Run your ASU VIPLE Program (green triangle button) and ensure that the window "RunWindow" is displaying that says "Running Program". Keep the RunWindow open during execution.
3.) 注意:如果不使用任何传感器,则无需填写字段或单击“添加/更新传感器”按钮。Note: If you are not using any sensors, you do not need to fill in the fields or click the button "Add/Update Sensors".
3a.) 如果使用传感器,请输入传感器ID,然后在“输入传感器值”部分中选择传感器的类型及其在机器人上的位置。If you are using sensors, input sensor ID, select what type of sensor it is, and where it located on the robot in the "Input Sensor Value" section.
3b.) 如果不使用该传感器,请输入“ none”作为ID,然后单击“添加/更新传感器”按钮。If you are not using that sensor, enter "none" as the ID, then click the button "Add/Update Sensors".
4.) 打开ASU VIPLE,并确保您的“机器人”服务块的TCP端口为8124(第二个机器人使用端口8125)。Ensure that your program is running in VIPLE
5.) 要连接到VIPLE,请在“连接到VIPLE”部分:在同一字段中输入“ localhost”,或在上面的字段中输入另一台计算机的给定IP地址。To connect to VIPLE, In the "Connect To VIPLE" section: enter "localhost" for same computer, or your given IP address for another computer in the field above.
6.) 单击“连接到ASU VIPLE(Web套接字)”按钮。Click the Connect to ASU VIPLE (Websockets) button.
注意:此模拟器的电动机“ 3”为通用左电动机,电动机“ 5”为通用右电动机。Note: that motor "3" will be the universal left, motor "5" will be universal right motor for this simulator.
高级和实验性:您还可以上传自己的迷宫(墙壁必须为黑色,红色/绿色/蓝色= 0/0/0),如果您不知道自己在做什么,请不要使用。Advanced and experimental: You can also upload your own maze (walls must be black Red/Green/Blue = 0/0/0), do not use if you don't know what you're doing.