Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem when setting Window Terminal for ROS on Window

Hi everyone, I got a problem when trying to set up window terminal for ROS on Window. I follow the instruction on http://wiki.ros.org/Installation/Windows , on the step 6.1. Here is my profiles.json.I'm using ROS Melodic on Window 10 version 1903 build 18362.418. When I tried roscore, this displayed

roscore : The term 'roscore' is not reconized as the name of a cmdlet function, script file, or operable program.

{ "$schema": "https://aka.ms/terminal-profiles-schema",

"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

"profiles":
{


    "defaults":
    {
        "acrylicOpacity" : 0.5,
        "background" : "#012456",
        "closeOnExit" : true,
        "colorScheme" : "Campbell",
        "commandline" : "C:\\Windows\\System32\\cmd.exe /k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\Tools\\VsDevCmd.bat\" -arch=amd64 -host_arch=amd64 && set ChocolateyInstall=c:\\opt\\chocolatey&& c:\\opt\\ros\\melodic\\x64\\setup.bat",
        "cursorColor" : "#FFFFFF",
        "cursorShape" : "bar",
        "fontFace" : "Consolas",
        "fontSize" : 10,
        "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
        "historySize" : 9001,
        "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
        "name" : "ROS",
        "padding" : "0, 0, 0, 0",
        "snapOnInput" : true,
        "startingDirectory" : "c:\\ws",
        "useAcrylic" : true
    },


    "list":
    [
        {
            // Make changes here to the powershell.exe profile
            "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "name": "Windows PowerShell",
            "commandline": "powershell.exe",
            "hidden": false
        },
        {
            // Make changes here to the cmd.exe profile
            "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "name": "cmd",
            "commandline": "cmd.exe",
            "hidden": false
        },
        {
            "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
            "hidden": false,
            "name": "Azure Cloud Shell",
            "source": "Windows.Terminal.Azure"
        }       
     ]   

},

// Add custom color schemes to this array
"schemes": [],

// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": []

}

Problem when setting Window Terminal for ROS on Window

Hi everyone, I got a problem when trying to set up window terminal for ROS on Window. I follow the instruction on http://wiki.ros.org/Installation/Windows , on the step 6.1. Here is my profiles.json.I'm using ROS Melodic on Window 10 version 1903 build 18362.418. When I tried roscore, this displayed

roscore : The term 'roscore' is not reconized as the name of a cmdlet function, script file, or operable program.

{ "$schema": "https://aka.ms/terminal-profiles-schema",

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

 "profiles":
 {


     "defaults":
     {
         "acrylicOpacity" : 0.5,
         "background" : "#012456",
         "closeOnExit" : true,
         "colorScheme" : "Campbell",
         "commandline" : "C:\\Windows\\System32\\cmd.exe /k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\Tools\\VsDevCmd.bat\" -arch=amd64 -host_arch=amd64 && set ChocolateyInstall=c:\\opt\\chocolatey&& c:\\opt\\ros\\melodic\\x64\\setup.bat",
         "cursorColor" : "#FFFFFF",
         "cursorShape" : "bar",
         "fontFace" : "Consolas",
         "fontSize" : 10,
         "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
         "historySize" : 9001,
         "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
         "name" : "ROS",
         "padding" : "0, 0, 0, 0",
         "snapOnInput" : true,
         "startingDirectory" : "c:\\ws",
         "useAcrylic" : true
     },


     "list":
     [
         {
             // Make changes here to the powershell.exe profile
             "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
             "name": "Windows PowerShell",
             "commandline": "powershell.exe",
             "hidden": false
         },
         {
             // Make changes here to the cmd.exe profile
             "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
             "name": "cmd",
             "commandline": "cmd.exe",
             "hidden": false
         },
         {
             "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
             "hidden": false,
             "name": "Azure Cloud Shell",
             "source": "Windows.Terminal.Azure"
         }       
      ]   

 },

 // Add custom color schemes to this array
 "schemes": [],

 // Add any keybinding overrides to this array.
 // To unbind a default keybinding, set the command to "unbound"
 "keybindings": []
}

}

Problem when setting Window Terminal for ROS on Window

Hi everyone, I got a problem when trying to set up window terminal for ROS on Window. I follow the instruction on http://wiki.ros.org/Installation/Windows , on the step 6.1. Here is my profiles.json.I'm using ROS Melodic on Window 10 version 1903 build 18362.418. When I tried roscore, this displayed

roscore : The term 'roscore' is not reconized as the name of a cmdlet function, script file, or operable program.

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

    "profiles":
    {


        "defaults":
        {
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "C:\\Windows\\System32\\cmd.exe /k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\Tools\\VsDevCmd.bat\" -arch=amd64 -host_arch=amd64 && set ChocolateyInstall=c:\\opt\\chocolatey&& c:\\opt\\ros\\melodic\\x64\\setup.bat",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
            "name" : "ROS",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "c:\\ws",
            "useAcrylic" : true
        },


        "list":
        [
            {
                // Make changes here to the powershell.exe profile
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false
            },
            {
                // Make changes here to the cmd.exe profile
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "cmd",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }       
         ]   

    },

    // Add custom color schemes to this array
    "schemes": [],

    // Add any keybinding overrides to this array.
    // To unbind a default keybinding, set the command to "unbound"
    "keybindings": []
}