Ofcourse you’re free to use any location for the workspace you think is suited for the job.Ī workspace is for a robot project which means one workspace per robot project. To create a workspace we’ll need to execute the following commands in the Ubuntu App terminal: mkdir -p ~/catkin_ws/src A package can also function as a dependency for another package. A package can become a ROS Node but doesn’t necassarily have to. Let’s create and initialise a catkin workspace where we can create our ROS packages which may evolve to our ROS Nodes. Let’s start with our first ROS Node Step 1: Create a catkin workspaceīecause the Ubuntu App still uses the hardware of the laptop i’m aiming to use the webcam of the laptop for our first ROS project. This is because the Windows Subsystem Linux can also be seen as an external host. The reason why I love it is that this also makes it possible to develop on your laptop and run it on your external system which in this case could also be the Nvidia Jetson Nano. This will open a Visual Studio Code IDE on your Windows but has a connection made to the subsystem Ubuntu App. Let’s start Visual Studio Code after that in the current directory by typing the following command in the terminal: Let’s first create a catkin workspace through the terminal of the Ubuntu App and initialise the workspace. Start Visual Studio Code from the Ubuntu App That’s also why I’ve chosen the Ubuntu 18.04 LTS app to install on my Windows 10 system and use the ROS distribution Melodic which is supported by Ubuntu 18.04 LTS. The Nvidia Jetson image is based on Ubuntu 18.04 LTS and Noetic has no support for Ubuntu 20.04 LTS. Now it’s time for the software part.Īs Nvidia has it’s own SDK for Vision and Robotics, i’m more focusing on working with ROS Melodic right now. In another post I’ve been talking about a Nvidia Jetson Nano Developer Kit which I assembled in a metal case. Now we’re ready to develop some ROS Nodes and work with cool robots and stuff. After installing ROS on the Windows 10 / WSL2 laptop according to my earlier posted blog which you can find here we’re ready to develop a new Catkin project!īut wait, how do I develop on the Ubuntu Subsystem which is installed? I’ve found a useful post on the Visual Studio Code website which I’ve followed to develop on my Windows and execute on the Ubuntu Subsystem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |