All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contributionYou can create a debug environment for any cloud runtime component in a deployment. To create a debug environment:
Debug environment works best if your cloud runtime component is above 1 core i.e small.
In the rapyuta.io console, on the left navigation bar, click Development > Deployments and select the deployment.
In the deployment details page, from the Debug Environment drop-down, select the component and then select the executable for which you want to create a debug environment.
In the Create New Debug Environment page:
After you have created a debug environment, select the environment to debug your application. You can use one or more of the following capabilities to debug your executable.
To debug using IDE capability:
After you create the debug environment, navigate to the debug environment from the deployments details page.
Click IDE.
Enter the access key as the password and click Connect.
An online VS code editor is displayed. You can perform the following operations:
restart-deployment-executable
in the terminal. It takes few minutes to restart and the updated changes are reflected in the deployment. For more information, see Docker Image Support for Debug Environment.To debug using the Shell capability:
After you create the debug environment, navigate to the debug environment from the deployments details page.
Click Shell.
Enter the access key as the password and click Connect. A GUI based shell is displayed and allows you to run custom commands or open tools like RQT and RVIZ.
The shell interface also allows you to copy a command from a different window and paste it. To do so, paste the copied command in the clipboard. You can copy commands from the clipboard and paste it in the shell. Similarly, if you want to copy any text from the shell, paste it in the clipboard and from the clipboard you can copy the text and use it in other interfaces.
To visualize your ROS components in a deployment using the RQT tool:
After you create the debug environment, navigate to the debug environment from the deployments details page.
Click RQT.
Enter the access key as the password and click Connect. A RQT tool is displayed. You can visualize the graphical representation of your ROS nodes in your deployment. For more information, see Using RQT Tool
To view the 3D model of your robot using the RVIZ capability:
After you create the debug environment, navigate to the debug environment from the deployments details page.
Click RVIZ.
Enter the access key as the password and click Connect. A RVIZ tool is displayed with a 3D model of your components.
Navigate to the debug environment in the deployments details page and click Update.
Select/De-select the capability that you want to add/remove from the debug environment and click Update.
To view all the available debug environments, navigate to the Debug Environment page. All the available debug environments are displayed in a list view.
To delete a cloud debug environment, navigate to the debug environment in the deployments details page, click Delete and confirm.
Before you start deleting or deprovisioning a deployment, ensure that you have deleted the debug environment connected with the deployment.