Thanks - I wrote a node to publish bandwidth by pretty much copying ROSTopicBandwidth from rostopic.py and publishing instead of printing. There's a bit of lag, but it's good enough for what I'm doing. -Dan On 3/17/10 12:05 PM, Ken Conley wrote: > Right now, the answer to your question is no. There are some prototype > stat APIs embedded within roscpp and rospy, but they are not reliable > yet. We've been meaning to bring them online as "rostopic bw" only > prints *received bandwidth*, not published bandwidth (e.g. imagine > you're saturating your wifi). We don't yet have a timetable for this. > > If you do end up writing a node, I suggest either looking at rosrecord > (C++) or rostopic (python) for how you can dig deep into the > roscpp/rospy APIs to minimize performance overhead, namely, turning > off costly deserialization of messages. > > - Ken > > On Wed, Mar 17, 2010 at 9:57 AM, Dan Lazewatsky > wrote: > >> rostopic bw only prints bandwidth usage. I would like to be able to plot >> it with rxplot. >> >> On 3/17/10 11:54 AM, Miguel Prada wrote: >> >>> Hi Dan, >>> >>> I think you can get the bandwidth used by a topic using rostopic. >>> >>> rostopic bw /topic >>> >>> Regards, >>> Miguel >>> >>> El 17/03/2010, a las 17:47, Dan Lazewatsky escribió: >>> >>> >>> >>>> Is there a way to get rxplot to plot the bandwidth used by a topic >>>> (without writing a node that calculates and publishes the bandwidth)? >>>> >>>> Thanks, >>>> -Dan >>>> _______________________________________________ >>>> ros-users mailing list >>>> ros-users@code.ros.org >>>> https://code.ros.org/mailman/listinfo/ros-users >>>> >>>> >>> _______________________________________________ >>> ros-users mailing list >>> ros-users@code.ros.org >>> https://code.ros.org/mailman/listinfo/ros-users >>> >>> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> >> > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >