-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find equivalent or simulate a way to log info to ROS from roslibjs #211
Comments
I think if we simply create a publisher to the topic |
here's the roslibjs web documentation for reference, although I don't see anything about ROS logging. I just made an issue in the roslibjs repo 😎 about it. Perhaps it's an opportunity to contribute to open source? |
I managed to publish a message to /rosout from within the GUI but there's a bunch of data in the /rosgraph_msgs/Log message type that I don't yet know how to generate. If we want to do it nicely we could make the logwarn, logerr, loginfo etc functions just like you can do in rospy. Here's my code. As you can see based on the message definition, when I created the message I left out a lot of data. I imagine that will have an impact on how ROS actually understands the log message and I'm not sure how much is necessary for it to work correctly (possibly all of it) but I don't know how to generate all the data that's in the definition.
|
we could make it like:
or something |
Co-authored-by: MartensCedric <cedricmartens98@gmail.com>
Find a way to log front end logs into ros to mimic the rospy logging behaviour:
/rosout
)The text was updated successfully, but these errors were encountered: