Comments (8)
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.
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.
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.
Could you please try running the
graph_monitor
example first and then start your node and see ifgraph_monitor
can receive node online events?
Will do this and report back! Also will try running as user instead.
from rclnet.
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.
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.
I will try this and post an update shortly. Thanks for the support here!
from rclnet.
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)
- Sometimes publish does not get it right HOT 7
- ros2cs on .spec file gets "Unable to parse field defined as 'FieldDeclaration'..." HOT 26
- Need info on rosdep alternative for Windows HOT 7
- Can't avoid exceptions running examples from Visual Studio HOT 5
- No Rosidl.Messages.Rosbag2StorageMcapTestdata.BasicIdl for ComplexMsgDependsOnIdl HOT 1
- System.TypeInitializationException on new RclContext HOT 24
- IRclNode Context property is concrete HOT 11
- Blazor web app hangs on RclContext.CreateNode (sudden onset) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rclnet.