[bug] ROS2 status always showing Offline
See original GitHub issue(Please add appropriate labels)
-
Windows: (Version)
-
Linux: (Ubuntu 20.04)
-
ROS 1: Dist
-
ROS 2: foxy
-
Version of the plugin: v0.8.2
what is the bug
Even when the ROS2 daemon is running, the status is “Offline”.
Alternative bug
Also, I’m not able to launch anything. It times out waiting for the ROS daemon to start:
Repro steps
<how to reproduce the bug. Please attach sample files or github repo if appropriate.>
- Installed ROS2 foxy from binaries (as indicated in the ROS2 foxy installation tutorial, https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html)
- Installed the
vscode-ros
plugging (Last updated:2/26/2022, 23:12:23
) - Start the ROS2 daemon from the Cmd Pallete in VS Code (“ROS: Start”)
- Run the “ROS: Show Status” and expect to see the status page pop up as “Offline” (as shown in the screenshot)
- However, the
rus2 daemon status
from the Terminal shows it’s “running” (as shown in the screenshot)
expected behavior
I would expect to see the proper status and list of topics in the page
additional context
<any additional information would be helpful for a better understanding>
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
USING ros2 offline (ROS_LOCALHOST_ONLY=1)
Hi, I'm trying to do a demo of mapping a large building with ROS2 Foxy, Slam Toolbox and a Rover Pro. I'm starting...
Read more >[feature] Request for more user-friendly instruction #399 - GitHub
If you just open VS Code and look at the core status it'll say its offline but if you run the Start Core...
Read more >ROS and ROS2 Navigation Stacks: A performance review
Working as a robotics consultant, I am often asked about what's new with ROS2 navigation stack or if it is the right time...
Read more >THE ROBOT OPERATING SYSTEM IN TRANSITION
The poor publication rate of ROS2 — specifically the error term associated with sampling the 100 Hz sinusoid, as compared to ROS1 —...
Read more >Offline Speech Recognition on Raspberry Pi 4 with Respeaker
The first one ran successfully, but only supported Python 2… A closer look at snowboy Github repo shows that it is probably not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the exact same behavior. My problem was that I set the
ROS_DOMAIN_ID
to a different value in my .bashrc file. Switching back to the default value made VSCode discover my ROS daemon.Maybe this helps to dig deeper into the issue.
Update: If I build the extension from source (version v0.8.3), it works as expected