In previous tutorial, you have practised system composition and component development. But deployment used to be with the simulators. In this tutorial will have a look on the project with uses the real robot system for the deployment. So, you will be able to see the robot moving and avoiding the obstacles.
|Role||System builder, but also other roles while browsing through the system's building blocks|
|Assumptions||Having completed with tutorial Developing Your First System: Composing Software Components|
|System Requirements||Virtual Machine Image Installed, see ready-to-go virtual machine|
|You will learn|| How to make reuse of the navigatoin stack on a real robotics
How to deploy the components on a real robot via the toolchain
How to start the components on a real robot
In this tutorial we will be using same components as of A More Complex System using the Flexible Navigation Stack for deployment, but will deploy them on real robot. So, the component ComponentPlayerStageSimulator will get replaced by the real robot components : SmartPioneerBaseServer and SmartLaserLMS200Server.
So, if you do have
then you can continue with this part.
Otherwise, please read through this part to gain further insights but continue with the hands-on exercises in Part 7 which again use the simulation.
Open the project : SystemP3dxNavigationRealWorld. You can observed int the System composition that the component ComponentPlayerStageSimulator have got replaced by the real robot components : SmartPioneerBaseServer and SmartLaserLMS200Server. All other components that are reused from the previous example (Navigation Task Simulation), even the binaries, are completely unchanged and now simply services not anymore provided by the simulator but by the above two components for a real-robot and a real laser ranger.
The figure below should the Target platform configuration, as in this tutorial we are deploying the components on the real robot, the details of robotic hardware are mentioned. For better understanding you can go back to the tutorial A More Complex System using the Flexible Navigation Stack, and check the Target platform viewpoint. This will further clarify the details regarding robot deployment.
The connection type is WLAN, the Host / Robot Device is c26-110robotA, the port number of connection is 22,and the name is wlp3s0.
Step 2: It will prompt the passwork As we have configured the system with login Student, it has passport student. Just enter the password and it will complete the deployment.
Step 3: The message box will appear for asking to continue with execution. Select No.
From this step few steps are different for the real time deployment.
Installation of vncviewer : sudo apt-get install xtightvncviewer xtightvncviewer C26-11-robotA (might change if you have another robot)
Step 4: Login to the system with (password student)
Step 5: As shown figure below go the pass of System As we configured in the target viewpoint : /tmp the location of the deployment. and then project name for executing the binaries with script.
Step 6: Choose “99 - Demos” (type 99 and hit enter) to get the list of the demos
Step 7: Choose “2 Demo 2 Planner-CDL GOTO”
Step 8: Enter the goal coordinates in brackets. For Example (1000)(0)
Step 9: Then you should be able to see robot moving and avoiding obstacles in the path.
Here you complete the tutorial.
Now you can proceed with tutorial Creating your Own Real-World Deployment