RoboStack / RoboStack/ros-noetic

ROS tools not found in PowerShell on Windows

Open
#21 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

windows wontfix
Dominant language
Python
Stars
517
Forks
78
PR merge metrics
No merged PRs in 30d

Description

On Windows 10 x86 64bit, ROS tools like roscore, rostopic, etc. all work fine with Command Prompt. But when I run roscore with PowerShell, I see the following:

(ros) PS C:\Users\Binit Shah> roscore
Traceback (most recent call last):
  File "C:\ProgramData\Miniconda3\envs\ros\Library\bin\roscore", line 36, in <module>
    from rosmaster.master_api import NUM_WORKERS
ModuleNotFoundError: No module named 'rosmaster'

rostopic, rosservice, and the others show similar ModuleNotFoundErrors.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing roscore and the related rostopic and rosservice commands in PowerShell and Command Prompt on the reported Windows setup. Inspect the roscore entry point at C:\ProgramData\Miniconda3\envs\ros\Library\bin\roscore and the rosmaster.master_api import; done means the ROS tools run in PowerShell without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, python
Domain
operating-systems, robotics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.