When you start or play any one of the games that is listed in the Applies to section you experience Windows XP Professional Edition Mansolino I'm using Firefox n Chrome on Ubuntu 16.04 n Windows 10 it woked but if i want to start the simulation i get the error message: WARNING: When the controller crashes do you have any stack displayed? See this related post. If you want to run two teams of three NUgus robots all locally on the one computer with Webots, run each of the following lines in different terminals once Webots is running.UnicodeDecodeError on tmp dir creation when username contains non ascii chars bush.pyo 81 detectGames: Detected the following supported games via Windows Registry: bush.pyo 95 Would be nice if he could install the latest dev version after solving the dependencies Quoting from above this is his users Mansolino I'm using Firefox n Chrome on Ubuntu 16.04 n Windows 10 Another option is to import your model in Blender and then user this Blender first it checks the controllers directory of the current project then if the robot is a my controller crashed when i Instantiate a MoveGroupCommander object.Įxplains what to do if a Microsoft game crashes or closes unexpectedly when you try to start the game. ![]() ![]() Open a new terminal for each robot you want to run. Specifying, and depending on which robot you want to run.įor example, if you are running everything locally on one computer, and you want to connect to robot number 1 on the red team, runĭocker container run -rm -network=host -e ROBOCUP_ROBOT_ID=1 -e ROBOCUP_TEAM_COLOR=red -e ROBOCUP_SIMULATOR_ADDR=127.0.1.1:10001 robocup-vhsc-nubots:robocup2021 webots_robocup Run the container with the command docker container run -rm -network=host -e ROBOCUP_ROBOT_ID= -e ROBOCUP_TEAM_COLOR= -e ROBOCUP_SIMULATOR_ADDR=: robocup-vhsc-nubots:robocup2021 webots_robocup Even if you are running multiple robots on that computer, you only need to run this once. b webots build webots_robocup once to build the container with the webots_robocup role. On all computers that will be running robot code, run. The more computers you have, the more complicated the IP set up will be for the config files. you can run webots itself and a robot on one computer, three robots on another computer, and three on another computer. There can be any combination of different or same computers for each robot container and webots itself. If you're running more than one robot, you will need to set up a Docker container for each robot. Robots running on the same computer as the Webots simulation do not need their hostname or IP address listed. Under red: hosts: add the IP address given by the following command for any computers you are running the robot code on. Open the file webots/projects/samples/contests/robocup/controllers/referee/game.json (you can use Ctrl+ p, search for game.json and the first file should be the correct one). ![]() On the computer you will be running the Webots simulator on, open the NUWebots repo in a text editor. For any robots running on the same computer as the Webots simulator, do not change the IP. b edit config/webots.yaml and change the IP in server_address to the hostname of the Webots simulator computer found in the previous step. On each computer you will be running the robot code on, run. If Webots and the robot code are run on separate computers, do the following:Īs done previously, get the hostname of each computer by running hostname -I in a terminal on each computer. If you are running everything locally on the one computer, the default settings should work as is. Go to the GameController configuration file and set udp_filter_address to the from the previous section in step 2.Įnsure the IP and ports are set up correctly. Set your UDP filter on all computers that will be running robot code to prevent them from receiving conflicting GameController packets. When configuring, ensure that ROLE_webots_robocup is ON. Use the Getting Started page to set up the codebase, configure and build on all computers that will be running robot code, if not done so already. All robots and the Webots simulator can be run locally on one computer, or a separate computer for the Webots simulator and each robot, or any combination inbetween. These programs can be run on any combination of computers. ![]() Running the RoboCup scenario requires two things: the Webots simulator, of which there is one instance and the robot code, of which there can be any number of instances equal to the number of robots you would like to run.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |