ros-visualization / rqt_topic Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://wiki.ros.org/rqt_topic
Home Page: http://wiki.ros.org/rqt_topic
@dirk-thomas This should be ready for release. If you invite me to collaborate on the release repo I can take care of getting that out.
To reproduce:
# Terminal 1
ros2 launch dummy_robot_bringup dummy_robot_bringup.launch.py
# Terminal 2
rqt
/joint_state
.position sequence<double> array('d', [0.60123213, 0.60123213])
velocity sequence<double> array('d')
effort sequence<double> array('d')
It would be nicer to see:
position sequence<double> [0.60123213, 0.60123213]
velocity sequence<double> []
effort sequence<double> []
TL;DR Please merge #7 as it fixes a python3 related bug
I'm running a source-compiled python3 ROS distro with rqt and moveit.
When listening to JointState Messages, rqt complains:
[ERROR] [1577992899.623362]: bad callback: <bound method TopicInfo.message_callback of <rqt_topic.topic_info.TopicInfo object at 0x7f8c05e47ef0>>
Traceback (most recent call last):
File "/home/user/ros2/melodic/lib/python3.7/site-packages/sensor_msgs/msg/_JointState.py", line 113, in serialize
buff.write(_get_struct_3I().pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
TypeError: string argument expected, got 'bytes'
Applying #7 fixes this issue (StringIO
buffer is replaced with BytesIO
on Python 3`).
In rqt plugin topic monitor
, we can't scale the width of item column, this lead that we can't see every detail easily.
reference to ros-visualization/rqt#125
Would it be possible to create a release including the fix for python3 in commit 8d9c5a6?
@wjwwood not sure who the maintainer is of this repo but I've got approval to open source our (Apex.AI's) version of rqt_topic.
It's a major rewrite and most likely would be easiest with one big PR.
Before making it I first wanted to check if it'd even be accepted here.
Also, not sure if it's possible but I could also be added as a maintainer here for the repo if it is now orphaned.
Just let me know how you'd like to proceed - excited to give it back to the community!
The values of the monitored topics updates around every second in the monitor. Is there a way to get faster update?
I have verified the realtime values using rostopic echo
.
how can we set QOS proflie for rqt topic monitor
I am trying to develop my own GUI for ROS. It is somewhat like rqt but with more specific plugins for my robot.
I build it using qt creator, and since I'm pretty new in ROS I tried to combine some sources to the GUI with my limited knowledge.
I use C++ to make the GUI, and I want to add a plugin to visualize the rostopic data (at least for diagnostic), and this is the plugin that I have been searching for.
It seems the code here is written in python, and I am having difficulties on combining them because of my lack understanding of python.
Either I need to translate this the rqt_topic from python to c++, or create a callback function in my GUI to publish "rostopic echo /diagnostics".
Do you have any ideas, suggestion, or reference?
Thank you.
Sorting the topics based on Bandwidth is not working properly. Could you please address this issue? it might have to do with the sort not considering the units (e.g. MB vs KB).
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python3.7/site-packages/rqt_topic/topic_widget.py", line 183, in refresh_topics
for topic_name in self._topics.keys():
RuntimeError: dictionary changed size during iteration
Simply removing line 197 of topic_widget fixes the issue. I'm not sure why the old topic was being deleted from the dict, since the next line of code overwrites the _topics dict with the new one. Is there some reason self._topics needs to be empty before it's overwritten?
Hi,
I would like to show all topics, including the topics without subs or pubs (leaf topics).
Is there a possibility for this in the rqt topic monitor?
Thanks
When a message contains a list and the list has reduced to zero, the old list items are still shown. As the code which removes the list items is not reached when the list is empty.
The code that executes the deletion is
rqt_topic/src/rqt_topic/topic_widget.py
Lines 258 to 262 in befebd5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.