How to make .sh file as a Gazebo Office.sh on desktop of Ubuntu VM
    10 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Van Chuong Nguyen
 le 4 Fév 2021
  
    
    
    
    
    Commenté : Van Chuong Nguyen
 le 5 Fév 2021
            Hi,
I have my own project in ROS, eveytime I start the project, I use roslaunch
But now I would like to convert it to the .sh file as like, for example, a Gazebo Office.sh in the Ubuntu VM 
from here https://www.mathworks.com/support/product/robotics/ros2-vm-installation-instructions-v3.html
So that everytime I want to run the project, I just only need to click on this .sh file.
Could you please let me know what is .sh file, and  how I can do that?
Thank you.
0 commentaires
Réponse acceptée
  Abhijeet Gadkari
    
 le 4 Fév 2021
        Hello Van,
You can refer to the example shell scripts shipped in the /home/user folder on the Ubuntu VM.
    % cat /home/user/start-gazebo-office.sh
To learn more, you can refer to this tutorial that explains some basic concepts about Linux shell scripting.
In the Ubuntu VM, desktop shortcut icons are used to call these individual shell scripts. You can refer to the ubuntu forum page to learn more about creating / customizing your own desktop shortcut. See a shipping desktop shortcut on the Ubuntu VM for reference.
    % cat /home/user/Desktop/start_gazebo_office.desktop
- Abhijeet
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Image Acquisition Toolbox Supported Hardware dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

