ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2015-11-20 15:26:15 -0500 | received badge | ● Supporter (source) |
2015-10-02 04:31:26 -0500 | received badge | ● Enthusiast |
2015-09-29 09:37:06 -0500 | received badge | ● Famous Question (source) |
2015-09-29 09:17:15 -0500 | commented answer | How to plot histogram or 1D using a ros node in c++? Please read the question before attempting to answer, thanks. |
2015-09-28 08:39:57 -0500 | received badge | ● Notable Question (source) |
2015-09-28 00:53:00 -0500 | received badge | ● Popular Question (source) |
2015-09-27 17:28:36 -0500 | asked a question | How to plot histogram or 1D using a ros node in c++? I haven't had luck finding an answer to this. I understand there's a somewaht convenient way to plot data in a python written node using matplotlib. I'm hoping to plot a histogram with a 600 bins, and range 0 to 1.0, by taking an exisiting 600 element array with values between that range. I've tried digging into rxplot, and matplotlib, and I'm starting to think I'll either have to use a regular c++ plugin or have to end up writing a plotting node in python that subscribes for a topic to get the array data. I've tried creating a new topic, /array. Where I submit flot32multiarray, float-data-type arrays with 600 elements to plot then in cmd prompt called rosrun rqt_plot /array, or inside, but that doens't seem to work either. Any tips or advice? |