

Basically type in the MSRS command shell:īin\dsshost /port:50000 /manifest:"samples\config\"ģ) Once you have the sim view running, plus the simple dashboard, follow the instructions that tell you how to connect the dashboard. Like the NXT Simulation I was planning to start with, it also includes a simple dashboard winform.Ģ) Follow the instructions at the end of Simulation Tutorial 2, where it tells you how to start the node. It starts a sim environment with lego and pioneer robots, it starts drive services for both, a simulated webcam on the pioneer, a laser etc. So let's connect the 360 controller to the NXT simulation.

If you want to control the simulated (or real for that matter) NXT with an xbox controller, or any USB game input device, the GameController service has to be started. the Generic Differential Drive) within a MSRS node. The Simple Dashboard is an example of a service that helps you to quickly compose a game controller, and a drive service (e.g. That is what the VPL diagram does for you. You need a service in between that translates game controller data, to drive commands. The reason this is relevant is that the manifests such as the one provided for the Lego NXT Tribot Simulation do not by default include the XInputController service, and you need to add it in.Īlso, a point of clarification that George helped me on: A drive service, like the one the simulated NXT exposes, cant just be controlled directly by the game pad. VPL is a good alternative to manually modifying manifests or writing code that starts service orchestrations. If you want to add more services, you can modify the manifest to include them. The manifest is used to start the simulation, loads the simulation services, the simulation engine, physics etc. When you're not using the Visual Programing Language (VPL) environment, the Robotics Studio runtime expects a list of services to be provided in an XML file, which is called a manifest. Here's how you can connect the 360 Controller to the simulator. With very kind thanks to George Chrysanthakopoulos, I managed to get this working today.
