ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

bassline's profile - activity

2022-05-18 19:18:04 -0500 received badge  Famous Question (source)
2021-10-29 01:25:08 -0500 received badge  Notable Question (source)
2021-10-19 02:16:32 -0500 commented question tf2 Documentation Needs Work

I also am learning tf2 (on Foxy) without having used tf and found the examples hard to follow, even when I had worked ou

2021-10-19 02:16:32 -0500 received badge  Commentator
2021-10-19 01:59:27 -0500 received badge  Notable Question (source)
2021-10-18 11:37:40 -0500 received badge  Popular Question (source)
2021-10-18 08:21:40 -0500 answered a question ROS2 tf2 performance on a Pi4+

Question removed as unclear and imprecise

2021-10-18 08:21:40 -0500 received badge  Rapid Responder
2021-10-17 10:38:19 -0500 commented question ROS2 tf2 performance on a Pi4+

My apologies for a very poorly worded question (complete with errors!). It is the second broadcaster (not static) I was

2021-10-17 08:12:25 -0500 edited question ROS2 tf2 performance on a Pi4+

ROS2 tf2 performance on a Pi4+ Having now resolved my issue with the learning_tf2 tutorials, the static broadcaster work

2021-10-17 08:11:39 -0500 asked a question ROS2 tf2 performance on a Pi4+

ROS2 tf2 performance on a Pi4+ Having now resolved my issue with the learning_tf2 tutorials, the static broadcaster work

2021-10-17 04:55:52 -0500 marked best answer tf2 tutorial compile failure

I am running Ubuntu 20.04.3 LTS and following the tf2 tutorials at https://docs.ros.org/en/foxy/Tutorial.... I have managed the static broadcaster OK but can not get the above link to compile. I have installed all the dependencies defined in the static broadcaster tutorial and get a far as Step 3 Build & run in the linked tutorial. However I can not get it to compile. I use the directory ros2_foxy as my equivalent of dev_ws so that I can more easily migrate to galactic. This is my .bashrc_ros which I link at the end of .bashrc whenever a new terminal is opened.

source /opt/ros/foxy/setup.bash

export ROS_DOMAIN_ID=1

cd /home/brian/ros2_foxy/

source install/local_setup.bash

This is the command I enter and the full output

brian@HP-notebook:~/ros2_foxy$ colcon build --symlink-install --packages-select learning_tf2_py Starting >>> learning_tf2_py Traceback (most recent call last):2_py - 0.2s]
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/distutils/core.py", line 215, in run_setup exec(f.read(), g) File "<string>", line 13, in <module> NameError: name 'os' is not defined --- stderr: learning_tf2_py 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.metadatakey) File "/usr/lib/python3/dist-packages/colcon_ros/package_identification/ros.py", line 129, 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 <<< learning_tf2_py [0.26s, exited with code 1]

Summary: 0 packages finished [0.36s]
1 package failed: learning_tf2_py 1 package had stderr output: learning_tf2_py 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 ...

(more)
2021-10-17 04:55:52 -0500 received badge  Scholar (source)
2021-10-17 04:54:32 -0500 commented question tf2 tutorial compile failure

Now builds on HP laptop but error on Pi4. I will close issue and work on Pi4 issue separately

2021-10-17 02:48:46 -0500 commented question tf2 tutorial compile failure

The suggested answer moves us forward but I still get the following error VERBOSE=1 colcon build --packages-select lear

2021-10-16 04:14:13 -0500 commented question tf2 tutorial compile failure

bad news is that it failed on the Pi4 with the same error. Firmware update were made to the laptop with the same result.

2021-10-16 02:06:34 -0500 commented question tf2 tutorial compile failure

I realised I had not tried the demo launch file in the static tutorial. This also fails with a similar message. Plan of

2021-10-15 12:44:44 -0500 commented question tf2 tutorial compile failure

Having the deleted the above directories I then get a "missing turtlesim" error on build. If I then build turtleseim and

2021-10-15 02:59:14 -0500 commented question tf2 tutorial compile failure

I have not used Docker so it will take me a while to familiarise myself with it and then set up an environment. I'll add

2021-10-14 19:12:52 -0500 received badge  Popular Question (source)
2021-10-14 05:21:46 -0500 edited question tf2 tutorial compile failure

tf2 tutorial compile failure I am running Ubuntu 20.04.3 LTS and following the tf2 tutorials at https://docs.ros.org/en/

2021-10-13 11:04:49 -0500 edited question tf2 tutorial compile failure

tf2 tutorial compile failure I am running Ubuntu 20.04.3 LTS and following the tf2 tutorials at https://docs.ros.org/en/

2021-10-13 11:03:05 -0500 edited question tf2 tutorial compile failure

tf2 tutorial compile failure I am running Ubuntu 20.04.3 LTS and following the tf2 tutorials at https://docs.ros.org/en/

2021-10-13 11:01:25 -0500 edited question tf2 tutorial compile failure

tf2 tutorial compile failure I am running Ubuntu 20.04.3 LTS and following the tf2 tutorials at https://docs.ros.org/en/

2021-10-13 10:57:44 -0500 asked a question tf2 tutorial compile failure

tf2 tutorial compile failure I am running Ubuntu 20.04.3 LTS and following the tf2 tutorials at https://docs.ros.org/en/

2021-04-10 23:54:44 -0500 marked best answer rosdep can't find cyclonedds during foxy install on raspbian

I have created a fresh raspbian system on as Pi3b. I have created a new user with sudo privileges, rebooted to new user and installed latest updates follow by a reboot. I am now trying to install ros2 following these instructions https://docs.ros.org/en/foxy/Installa... and using this image ros2-foxy-20201211-linux-focal-arm64.tar.bz2. When trying to install the dependencies I get :

robot@robot:~/ros2_foxy $ rosdep install --from-paths ros2-linux/share --ignore-src --rosdistro foxy -y --skip-keys "console_bridge fastcdr fastrtps osrf_testing_tools_cpp poco_vendor rmw_connext_cpp rosidl_typesupport_connext_c rosidl_typesupport_connext_cpp rti-connext-dds-5.3.1 tinyxml_vendor tinyxml2_vendor urdfdom urdfdom_headers"
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rmw_cyclonedds_cpp: No definition of [cyclonedds] for OS [debian]

Following a previous question I then proceed with the -r option and all seems to go OK until I try to run the demos when I get the following errors: talker

robot@robot:~ $ ros2 run demo_nodes_cpp talker
Traceback (most recent call last):
  File "/home/robot/ros2_foxy/ros2-linux/bin/ros2", line 33, in <module>
    sys.exit(load_entry_point('ros2cli==0.9.8', 'console_scripts', 'ros2')())
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8/site-packages/ros2cli/cli.py", line 67, in main
    rc = extension.main(parser=parser, args=args)
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8/site-packages/ros2run/command/run.py", line 70, in main
    return run_executable(path=path, argv=args.argv, prefix=prefix)
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8/site-packages/ros2run/api/__init__.py", line 61, in run_executable
    process = subprocess.Popen(cmd)
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/robot/ros2_foxy/ros2-linux/lib/demo_nodes_cpp/talker'

listener

robot@robot:~/ros2_foxy $ ros2 run demo_nodes_py listener
Traceback (most recent call last):
  File "/home/robot/ros2_foxy/ros2-linux/lib/demo_nodes_py/listener", line 33, in <module>
    sys.exit(load_entry_point('demo-nodes-py==0.9.3', 'console_scripts', 'listener')())
  File "/home/robot/ros2_foxy/ros2-linux/lib/demo_nodes_py/listener", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/home/robot/.local/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 100, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8/site-packages/demo_nodes_py/topics/listener.py", line 16, in <module>
    from rclpy.node import Node
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8/site-packages/rclpy/node.py", line 41, in <module>
    from rclpy.client import Client
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8/site-packages/rclpy/client.py", line 22, in <module>
    from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy
  File "/home/robot/ros2_foxy/ros2-linux/lib/python3.8 ...
(more)
2021-04-10 04:41:36 -0500 received badge  Famous Question (source)
2021-04-10 02:33:29 -0500 edited answer rosdep can't find cyclonedds during foxy install on raspbian

Success!! I eventually managed to get ROS2 to build on a Pi3B. It took me 8 hours of trial and error yesterday and may n

2021-04-09 11:48:04 -0500 edited answer rosdep can't find cyclonedds during foxy install on raspbian

Success!! I eventually managed to get ROS2 to build on a Pi3B. It took me 8 hours of trial and error yesterday and may n

2021-04-09 11:20:48 -0500 received badge  Necromancer (source)
2021-04-09 11:20:48 -0500 received badge  Self-Learner (source)
2021-04-09 11:20:48 -0500 received badge  Teacher (source)
2021-04-09 11:16:40 -0500 edited answer rosdep can't find cyclonedds during foxy install on raspbian

Success!! I eventually managed to get ROS2 to build on a Pi3B. It took me 8 hours of trial and error yesterday and may n

2021-04-08 03:03:08 -0500 edited answer rosdep can't find cyclonedds during foxy install on raspbian

Success!! I eventually managed to get ROS2 to build on a Pi3B. It took me 8 hours of trial and error yesterday and may n

2021-04-08 03:03:08 -0500 received badge  Editor (source)
2021-04-08 03:00:58 -0500 answered a question rosdep can't find cyclonedds during foxy install on raspbian

Success!! I eventually managed to get ROS2 to build on a Pi3B. It took me 8 hours of trial and error yesterday and may n

2021-04-07 05:45:29 -0500 commented question rosdep can't find cyclonedds during foxy install on raspbian

I have tried again pulling the most recent code but still get problems compiling (e.g. /usr/bin/ld: ../../lib/libOgreMai

2021-03-20 03:15:46 -0500 commented question rosdep can't find cyclonedds during foxy install on raspbian

I tried everything again and using "top" to monitor CPU and memory usage I could see it was swapping out memory all the

2021-03-20 03:11:31 -0500 commented question rosdep can't find cyclonedds during foxy install on raspbian

I tried everything again and using "top" to monitor CPU and memory usage I could see it was swapping out memory all the

2021-03-19 12:14:43 -0500 received badge  Notable Question (source)
2021-03-12 10:10:40 -0500 received badge  Enthusiast
2021-03-05 04:51:14 -0500 received badge  Popular Question (source)
2021-03-05 02:19:22 -0500 edited question rosdep can't find cyclonedds during foxy install on raspbian

rosdep can't find cyclonedds during foxy install on raspbian I have created a fresh raspbian system on as Pi3b. I have c

2021-03-04 08:15:59 -0500 asked a question rosdep can't find cyclonedds during foxy install on raspbian

rosdep can't find cyclonedds during foxy install on raspbian I have created a fresh raspbian system on as Pi3b. I have c