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

Deepan's profile - activity

2020-09-18 12:36:56 -0500 received badge  Great Question (source)
2019-11-11 16:11:39 -0500 received badge  Famous Question (source)
2019-08-06 15:47:54 -0500 received badge  Notable Question (source)
2019-07-22 05:11:50 -0500 received badge  Famous Question (source)
2019-07-11 08:51:13 -0500 received badge  Popular Question (source)
2019-07-08 12:30:12 -0500 received badge  Good Question (source)
2019-07-08 12:30:03 -0500 received badge  Notable Question (source)
2019-07-04 08:21:00 -0500 received badge  Nice Question (source)
2019-07-02 05:36:15 -0500 received badge  Student (source)
2019-07-01 23:43:01 -0500 received badge  Popular Question (source)
2019-06-30 23:02:40 -0500 marked best answer What is ROS2 daemon?

I am able to run ros2 topic pub /chatter std_msgs/String "data: Hello ROS Developer" this command and this command also able to publish data without starting ros2 daemon. What exactly is the function of ROS2 daemon?

2019-06-30 08:50:14 -0500 asked a question What is ROS2 daemon?

What is ROS2 daemon? I am able to run ros2 topic pub /chatter std_msgs/String "data: Hello ROS Developer" this command a

2019-06-23 22:42:37 -0500 marked best answer Not able to run ros2 node

I installed ros2(crystal) in the same machine having ros(melodic). I changed my .bashrc script also as shown below

source /opt/ros/crystal/setup.bash
source /home/deepan/ros2_install/ros2-crystal-20190408-linux-bionic-arm64/ros2-linux/setup.bash

But when I try to start a ros2 node(ros2 run demo_nodes_cpp talker), I am getting the below error.

Failed to load entry point 'launch': No module named 'rclpy._rclpy'
Failed to load entry point 'start': No module named 'rclpy._rclpy'
Failed to load entry point 'status': No module named 'rclpy._rclpy'
Failed to load entry point 'stop': No module named 'rclpy._rclpy'
Failed to load entry point 'get': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'nodes': No module named 'rclpy._rclpy'
Failed to load entry point 'set': No module named 'rclpy._rclpy'
Failed to load entry point 'info': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'delete': No module named 'rclpy._rclpy'
Failed to load entry point 'get': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'set': No module named 'rclpy._rclpy'
Failed to load entry point 'generate_policy': No module named 'rclpy._rclpy'
Failed to load entry point 'call': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'delay': No module named 'rclpy._rclpy'
Failed to load entry point 'echo': No module named 'rclpy._rclpy'
Failed to load entry point 'hz': No module named 'rclpy._rclpy'
Failed to load entry point 'info': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'pub': No module named 'rclpy._rclpy'
Traceback (most recent call last):
  File "/home/deepan/ros2_install/ros2-crystal-20190408-linux-bionic-arm64/ros2-linux/bin/ros2", line 11, in <module>
    load_entry_point('ros2cli==0.6.3', 'console_scripts', 'ros2')()
  File "/home/deepan/ros2_install/ros2-crystal-20190408-linux-bionic-arm64/ros2-linux/lib/python3.6/site-packages/ros2cli/cli.py", line 69, in main
    rc = extension.main(parser=parser, args=args)
  File "/home/deepan/ros2_install/ros2-crystal-20190408-linux-bionic-arm64/ros2-linux/lib/python3.6/site-packages/ros2run/command/run.py", line 72, in main
    return run_executable(path=path, argv=args.argv, prefix=prefix)
  File "/home/deepan/ros2_install/ros2-crystal-20190408-linux-bionic-arm64/ros2-linux/lib/python3.6/site-packages/ros2run/api/__init__.py", line 61, in run_executable
    process = subprocess.Popen(cmd)
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/deepan/ros2_install/ros2-crystal-20190408-linux-bionic-arm64/ros2-linux/lib/demo_nodes_cpp/talker'

Does anyone faced the same issue? If so, please help me with this. Thank you.

2019-06-23 22:42:37 -0500 received badge  Scholar (source)