Code Monkey home page Code Monkey logo

Comments (8)

stewpend0us avatar stewpend0us commented on July 17, 2024 1

For what it's worth...this example does seem to work fine in linux. Only edits I made were async Task rather than async void because I needed something to await in Main.

I'm using .NET 8 though. If that matters.

from rclnet.

stewpend0us avatar stewpend0us commented on July 17, 2024 1

I have had problems similar to this when the executable is being run as root instead of a user. I'm not sure if there is a similar thing in Windows or not.

from rclnet.

noelex avatar noelex commented on July 17, 2024

Could you please try running the graph_monitor example first and then start your node and see if graph_monitor can receive node online events?

from rclnet.

carsonloyaltrimble avatar carsonloyaltrimble commented on July 17, 2024

Could you please try running the graph_monitor example first and then start your node and see if graph_monitor can receive node online events?

Will do this and report back! Also will try running as user instead.

from rclnet.

carsonloyaltrimble avatar carsonloyaltrimble commented on July 17, 2024

I have had problems similar to this when the executable is being run as root instead of a user. I'm not sure if there is a similar thing in Windows or not.

I am on windows and it appears there is a similar-ish behavior. When I build and run the project from Visual Studio 2022 in Windows then I am not able to see the node using ros2 node list in other terminals. If I manually run the build executable in a fresh command prompt then I am able to see it as normal. Any thoughts on this @noelex

from rclnet.

noelex avatar noelex commented on July 17, 2024

If I manually run the build executable in a fresh command prompt then I am able to see it as normal.

Looks like an environment issue. Does removing launchSettings.json and launching Visual Studio from a command prompt with setup.bat sourced work for you?

from rclnet.

carsonloyaltrimble avatar carsonloyaltrimble commented on July 17, 2024

I will try this and post an update shortly. Thanks for the support here!

from rclnet.

carsonloyaltrimble avatar carsonloyaltrimble commented on July 17, 2024

It looks like this is related to the env config in Visual Studio. It does not seem to cause any issues so I am happy to close this for now since that seems to be the root cause. Thanks everyone! @noelex great repo!

from rclnet.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.