[ros-users] rviz is moving to Qt, preview available

Ye Cheng cnhzcy14 at gmail.com
Tue Jan 10 16:25:27 UTC 2012


Hi guys,

I have taken some time to merge the matplotlib into ros-gui for real-time
scalar data visualization. This is actually a simple version of original
rxplot. I think the plot quality is better than qwt:
https://plus.google.com/u/0/photos/110758615329253997840/albums/5687860553056164161/5696030098198932738
 And I'll soon implement rxbag in ros-gui.

But before going further, I have some question:

   1. It looks like the rviz has it's own dock widget plugin architecture.
   Is that an overlap between rviz and ros-gui if I make an rviz plugin for
   ros-gui?
   2. Is the rviz property display widget available for ros-gui?
   3. What I really need at the moment is something like
rxlab<http://www.ros.org/wiki/rxlab>which is mentioned
   here <http://www.ros.org/reps/rep-0101.html>. Is the development of this
   package still active?

Thanks!
Ye


On Sat, Dec 24, 2011 at 1:39 AM, William Woodall <wjwwood at gmail.com> wrote:

> Sorry for not responding earlier, I had reported these a while back by
> reopening a related ticket:
>
> https://code.ros.org/trac/ros-pkg/ticket/5216
>
> Looks like one way or the other it is fixed now though.
>
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> William Woodall
> Graduate Software Engineering
> Auburn University
> w at auburn.edu
> wjwwood at gmail.com
> williamjwoodall.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> On Fri, Dec 23, 2011 at 10:10 AM, Ye Cheng <cnhzcy14 at gmail.com> wrote:
>
>> Thanks for your tips Dorian. I have submitted a ticket with the patch:
>> https://code.ros.org/trac/ros-pkg/ticket/5316
>>
>> And you are right,
>>>
>>> import PyQt4.Qwt5 as Qwt
>>>
>> is not necessary.
>>
>> Cheers,
>> Ye
>>
>> On Fri, Dec 23, 2011 at 9:35 PM, Dorian Scholz <
>> scholz at sim.tu-darmstadt.de> wrote:
>>
>>>  Hi Ye,
>>>
>>>
>>> Thank you very much Michael! It works! Now I can play with rosgui. I
>>> have tried two plugins which I need very much at the moment: rosgui_plot,
>>> rosgui_pose_view.
>>>
>>> Great to hear that you are getting some use out of rosgui already!
>>> Please be aware though, that the rosgui_plot plugin is not using the ros
>>> msg header timestamps at the moment.
>>> So the data is shown as equidistant data points. As long as your data is
>>> measured/generated at a constant rate you should have no problem with that.
>>> This should be changed in the future, but I don't know when I'll get to
>>> that, so feel free to supply patches if you like ;-)
>>>
>>> However with some changes:
>>>
>>> I think the qwt in rosdep.yaml should be pyqwt;
>>>
>>> As I don't have OSX I don't know about the correct package names for
>>> homebrew, but I assume you are right.
>>> I would guess it should be like this:
>>> python-qwt5-qt4: pyqwt
>>> python-qt4-dev: pyqt
>>> Maybe your or William can confirm this and I'll commit it.
>>>
>>>
>>> and I also change
>>>>
>>>> import  Qwt
>>>>
>>> to
>>>
>>>> import PyQt4.Qwt5 as Qwt
>>>>
>>>  This should not be necessary and would break the compatibility with
>>> PySide as alternative Python bindings.
>>> The module "Qwt" is supplied by rosgui.QtBindingHelper as an alias for
>>> either PyQt4.Qwt5 or PySideQwt depending on your available bindings.
>>>
>>>
>>> I installed pyopengl manually by
>>>
>>>> sudo pip install pyopengl
>>>>
>>> and this could be in rosdep.yaml
>>>
>>> If there is no package for pyopengl on homebrew this would be a valid
>>> solution.
>>> Maybe you can supply a patch for the rosdep.yaml containing this?
>>>
>>> Happy holidays,
>>> Dorian
>>>
>>>
>>> Then I have  rosgui_plot and rosgui_pose_view functioning well:
>>>
>>> https://picasaweb.google.com/lh/photo/DcgROGYLM1gif2_kMXVgatMTjNZETYmyPJy0liipFm0?feat=directlink
>>>
>>> https://picasaweb.google.com/lh/photo/7GZWt_cAv-_NVPNaiC4qSdMTjNZETYmyPJy0liipFm0?feat=directlink
>>>
>>> Since I have just tried them, I'll create a patch for them soon. And
>>> also try to create a plugin for rviz.
>>>
>>> On Thu, Dec 22, 2011 at 1:05 AM, Michael Carroll <
>>> carroll.michael at gmail.com> wrote:
>>>
>>>> William had to update the rdmanifest file, so the checksum is no longer
>>>> matching.
>>>>
>>>>  If you re-run this command:
>>>>
>>>> wget http://kforge.ros.org/rososx/homebrew/raw-file/tip/electric/rosdep.yaml -O ~/.ros/rosdep.yaml
>>>>
>>>>
>>>>  It should fix the checksum issue and install without a problem.
>>>>
>>>>  ~mc
>>>>
>>>> On Wed, Dec 21, 2011 at 11:28, Dorian Scholz <
>>>> scholz at sim.tu-darmstadt.de> wrote:
>>>>
>>>>>  Maybe you can run
>>>>>
>>>>> $ rosdep check rviz_qt
>>>>> and
>>>>> $ rosdep check rosgui_rviz
>>>>>
>>>>> to check where this error is coming from.
>>>>>
>>>>> I just filed a bug about a problem in the rviz_qt rosdep.yaml, but
>>>>> this should not affect you, if you are on OSX.
>>>>> https://code.ros.org/trac/ros-pkg/ticket/5312
>>>>> After I fixed that locally, I got not errors when running
>>>>> $ rosmake --rosdep-install rosgui_rviz
>>>>>
>>>>> Cheers,
>>>>> Dorian
>>>>>
>>>>>
>>>>> On 12/21/2011 04:31 PM, Ye Cheng wrote:
>>>>>
>>>>> I have one problem here. When I try to compile rosgui_rviz by
>>>>>
>>>>>> rosmake --rosdep-install rosgui_rviz
>>>>>>
>>>>>
>>>>> I always get:
>>>>>
>>>>>> rosdep install failed: Failed to load a rdmanifest from
>>>>>> https://kforge.ros.org/rosrelease/viewvc/sourcedeps/nvidia-cg/nvidia-cg-3.0_February2011.rdmanifest,
>>>>>> and no alternate URI given
>>>>>>
>>>>>
>>>>> I have rviz_qt installed before. But now if I try to install it again,
>>>>> I will get the same problem:
>>>>>
>>>>>> rosdep install failed: Failed to load a rdmanifest from
>>>>>> https://kforge.ros.org/rosrelease/viewvc/sourcedeps/nvidia-cg/nvidia-cg-3.0_February2011.rdmanifest,
>>>>>> and no alternate URI given
>>>>>>
>>>>>
>>>>> However we do have
>>>>> https://kforge.ros.org/rosrelease/viewvc/sourcedeps/nvidia-cg/nvidia-cg-3.0_February2011.rdmanifest.
>>>>>
>>>>>
>>>>> On Tue, Dec 20, 2011 at 7:03 PM, Dirk Thomas <mail at dirk-thomas.net>wrote:
>>>>>
>>>>>>  If I want to contribute a matplotlib plugin, shall I wait for your
>>>>>>> Python API? I have successfully installed rviz_qt on OS X 10.6, but not
>>>>>>> original rviz. Most of the errors are from wx, and I'm not
>>>>>>> going to waste my time on installing old wx GUI tools. However I
>>>>>>> really need rxplot at the moment.
>>>>>>>
>>>>>>
>>>>>>  If you want rxplot-like functionality without wxWidgets you might
>>>>>> want to try the newly developed ROS GUI.
>>>>>> I can't promise anything for OS X, but if there are problems I
>>>>>> suspect them to be fixed fast.
>>>>>>
>>>>>> For more information see:
>>>>>> - the SIG "ROS GUI":
>>>>>> http://www.ros.org/wiki/fuerte/Planning/ROS%20GUI
>>>>>> - posts on the mailing list:
>>>>>> https://code.ros.org/lurker/message/20111022.152853.6ab39e40.en.html
>>>>>>
>>>>>> Dirk
>>>>>>
>>>>>> _______________________________________________
>>>>>> ros-users mailing list
>>>>>> ros-users at code.ros.org
>>>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ros-users mailing listros-users at code.ros.orghttps://code.ros.org/mailman/listinfo/ros-users
>>>>>
>>>>>
>>>>>
>>>>>   --
>>>>> Dipl.-Inform. Dorian Scholz         E-Mail:scholz(at)sim.tu-darmstadt.de
>>>>> Simulation, Systems Optimization    Phone:  +49 (0) 6151 16-4811
>>>>> and Robotics Group                  Fax:    +49 (0) 6151 16-6648
>>>>> Technische Universität Darmstadt    http://www.sim.tu-darmstadt.de
>>>>> Hochschulstr. 10                    D-64289 Darmstadt, Germany
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ros-users mailing list
>>>>> ros-users at code.ros.org
>>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> ros-users mailing list
>>>> ros-users at code.ros.org
>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing listros-users at code.ros.orghttps://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>>
>>> --
>>> Dipl.-Inform. Dorian Scholz         E-Mail:scholz(at)sim.tu-darmstadt.de
>>> Simulation, Systems Optimization    Phone:  +49 (0) 6151 16-4811
>>> and Robotics Group                  Fax:    +49 (0) 6151 16-6648
>>> Technische Universität Darmstadt    http://www.sim.tu-darmstadt.de
>>> Hochschulstr. 10                    D-64289 Darmstadt, Germany
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20120111/f2a0d622/attachment-0003.html>


More information about the ros-users mailing list