Git Product home page Git Product logo

choirbot's People

Contributors

andrea-testa avatar andreacamisa avatar lorenzopichierri avatar opt4smart avatar shubham1337 avatar srikrishna3118 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

choirbot's Issues

[ROS2] Turtlebot3 Spawn - unresolved issue

Hi,

Firstly, thank you for this very helpful repository! It (almost) works flawlessly which in my experience is rare. I plan on adding some other task assignment mathematical models (such as the hungarian algorithm for instance).

I just had a minor issue when running the taskassignment example: the turtlebot3 is not showing up in the gazebo simulation environment. When I run the examples, I can see the Center of Mass of the robots and other properties, and see that they are moving, but I am unable to actually visualise the burger models (sdf model).

I have spent a few hours trying to get this to work but to no avail. I was therefore wondering if anyone else had encountered this issue, and if they'd be willing to share any tips. I have followed all the installation instructions and even re-installed everything. I have of course used the colcon builder and sourced the respective setup.bash files prior to running the example. I am fairly new to ROS2, so maybe I have missed something.

Thanks in advance,

Launch file argument

When i tried launching the containment simulation via "ros2 launch choirbot_examples containment.launch.py -n 6," it returns a following error with ROS foxy.

usage: ros2 [-h] Call ros2 <command> -h for more detailed usage. ...
ros2: error: unrecognized arguments: 6

Build Error after adding entry points in choirbot_examples/setup.py

I am trying to implement the formation control example by following the instructions.When I build the package after adding entry points in the setup.py, I am getting the following error

  File "<string>", line 1, in <module>
  File "/usr/lib/python3.8/distutils/core.py", line 225, in run_setup
    raise RuntimeError(("'distutils.core.setup()' was never called -- "
RuntimeError: 'distutils.core.setup()' was never called -- perhaps 'setup.py' is not a Distutils setup script?
--- stderr: choirbot_examples                    
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/colcon_core/executor/__init__.py", line 91, in __call__
    rc = await self.task(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/colcon_core/task/__init__.py", line 93, in __call__
    return await task_method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/colcon_ros/task/ament_python/build.py", line 51, in build
    setup_py_data = get_setup_data(self.context.pkg, env)
  File "/usr/lib/python3/dist-packages/colcon_core/task/python/__init__.py", line 20, in get_setup_data
    return dict(pkg.metadata[key](env))
  File "/usr/lib/python3/dist-packages/colcon_ros/package_augmentation/ros_ament_python.py", line 57, in getter
    return get_setup_information(
  File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 241, in get_setup_information
    _setup_information_cache[hashable_env] = _get_setup_information(
  File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 281, in _get_setup_information
    result = subprocess.run(
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-c', "import sys;from setuptools.extern.packaging.specifiers import SpecifierSet;from distutils.core import run_setup;dist = run_setup(    'setup.py', script_args=('--dry-run',), stop_after='config');skip_keys = ('cmdclass', 'distclass', 'ext_modules', 'metadata');data = {    key: value for key, value in dist.__dict__.items()     if (        not key.startswith('_') and         not callable(value) and         key not in skip_keys and         key not in dist.display_option_names    )};data['metadata'] = {    k: v for k, v in dist.metadata.__dict__.items()     if k not in ('license_files', 'provides_extras')};sys.stdout.buffer.write(repr(data).encode('utf-8'))"]' returned non-zero exit status 1.
---
Failed   <<< choirbot_examples [0.40s, exited with code 1]

Summary: 2 packages finished [10.3s]
  1 package failed: choirbot_examples
  1 package had stderr output: choirbot_examples
Command '['/usr/bin/python3', '-c', "import sys;from setuptools.extern.packaging.specifiers import SpecifierSet;from distutils.core import run_setup;dist = run_setup(    'setup.py', script_args=('--dry-run',), stop_after='config');skip_keys = ('cmdclass', 'distclass', 'ext_modules', 'metadata');data = {    key: value for key, value in dist.__dict__.items()     if (        not key.startswith('_') and         not callable(value) and         key not in skip_keys and         key not in dist.display_option_names    )};data['metadata'] = {    k: v for k, v in dist.metadata.__dict__.items()     if k not in ('license_files', 'provides_extras')};sys.stdout.buffer.write(repr(data).encode('utf-8'))"]' returned non-zero exit status 1.

I have used the foxy-devel for my package
However, when I colcon build with out adding the entry points in the setup.py

Error in Launch files

I have forked the project and added a dockerized version of the instance.
Here : https://github.com/srikrishna3118/ChoiRbot

when running ros2 launch choirbot_examples containment.launch.py -n 6
There is some weird error saying [ERROR] [launch]: Caught exception in launch (see debug for traceback): I/O operation on closed file

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.