Git Product home page Git Product logo

rosbag_gui_player's Introduction

rosbag_gui_player

A GUI rosbag player tool for python3.
You can play rosbag as if you are operating a media player by this tool.

How to use

1. Clone this package

Clone This package to YourWorkspace.

git clone https://github.com/tosiyuki/rosbag_gui_player.git

2. Run the script

Terminal1

cd ~/YourWorkspace
source devel/setup.bash
roscore

Terminal2

cd ~/YourWorkspace
source devel/setup.bash
python3 src/MainWindow.py

3. Select a bag file which you want to play

load rosbag file.

4. Discribe GUI

Publish topic config function.

Save config

Click Config -> Save Config

Select saving config file name and push save.

Load Config

Click Config -> Load Config

Select loading config file name and push open.

Selected topicks are checked.

License

MIT

rosbag_gui_player's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

rosbag_gui_player's Issues

ROS2 Humble run failure

Hi, I tried to run your code in ros2 humble but got an error. Do you know what could be the problem?

Traceback (most recent call last):
  File "/home/elod/ros/data_recording/install/data_recording_utils/lib/data_recording_utils/rosbag_gui", line 33, in <module>
    sys.exit(load_entry_point('data-recording-utils==0.0.0', 'console_scripts', 'rosbag_gui')())
  File "/home/elod/ros/data_recording/install/data_recording_utils/lib/data_recording_utils/rosbag_gui", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/elod/ros/data_recording/install/data_recording_utils/lib/python3.10/site-packages/data_recording_utils/ros2bag_gui.py", line 9, in <module>
    import rosbag
  File "/usr/lib/python3/dist-packages/rosbag/__init__.py", line 33, in <module>
    from .bag import Bag, Compression, ROSBagException, ROSBagFormatException, ROSBagUnindexedException
  File "/usr/lib/python3/dist-packages/rosbag/bag.py", line 69, in <module>
    import rospy
  File "/usr/lib/python3/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/usr/lib/python3/dist-packages/rospy/client.py", line 54, in <module>
    import rospy.core
  File "/usr/lib/python3/dist-packages/rospy/core.py", line 75, in <module>
    from rosgraph_msgs.msg import Log
ImportError: cannot import name 'Log' from 'rosgraph_msgs.msg' (/opt/ros/humble/local/lib/python3.10/dist-packages/rosgraph_msgs/msg/__init__.py)
[ros2run]: Process exited with failure 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.