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

screen33's profile - activity

2023-04-02 00:39:50 -0500 received badge  Nice Question (source)
2022-02-17 19:33:30 -0500 received badge  Famous Question (source)
2021-11-05 21:46:44 -0500 received badge  Good Question (source)
2021-06-07 06:55:48 -0500 commented question Rviz2 crash on loading a configuration on mac M1

You might run rvi2 into gdb in order to better target the issue maybe. I assume that you need to clone rviz2 sources i

2021-06-07 06:55:31 -0500 answered a question Rviz2 crash on loading a configuration on mac M1

You might run rvi2 into gdb in order to better target the issue maybe. I assume that you need to clone rviz2 sources i

2021-01-11 08:55:06 -0500 received badge  Teacher (source)
2020-12-09 07:50:52 -0500 received badge  Taxonomist
2020-12-01 21:27:26 -0500 received badge  Notable Question (source)
2020-10-28 06:09:56 -0500 received badge  Nice Question (source)
2020-10-11 18:56:55 -0500 received badge  Famous Question (source)
2020-09-22 04:56:17 -0500 received badge  Popular Question (source)
2020-09-10 17:21:00 -0500 asked a question Standard GUI/code interface for a 2-state gripper in MoveIt

Standard GUI/code interface for a 2-state gripper in MoveIt In numerous manipulators, grippers have 2 states: open/close

2020-09-10 17:19:46 -0500 asked a question Standard MoveIt interface for 2-state grippers

Standard MoveIt interface for 2-state grippers In numerous manipulators, grippers have 2 states: open/close. Although it

2020-08-20 06:50:53 -0500 received badge  Notable Question (source)
2020-08-12 07:17:03 -0500 received badge  Famous Question (source)
2020-08-05 19:54:35 -0500 commented answer ROS2 equivalents to ROS1 roscd, rosmsg rossrv...

Yes alias ros2cd="ros2 pkg prefix" works but is not as handy as the original roscd: Autocompletion does not work and ros

2020-08-05 17:41:36 -0500 received badge  Supporter (source)
2020-08-05 17:39:54 -0500 marked best answer ROS2 equivalents to ROS1 roscd, rosmsg rossrv...

Are there equivalent commands for roscd, rosmsg and rossrv (especially for rosmsg show), rosed, rosls and rosmv?

2020-08-03 15:08:59 -0500 received badge  Notable Question (source)
2020-08-03 14:08:28 -0500 received badge  Popular Question (source)
2020-08-03 11:20:37 -0500 edited question ROS2 equivalents to ROS1 roscd, rosmsg rossrv...

ROS2 equivalents to ROS1 roscd, rosmsg rossrv... Are there equivalent commands for roscd, rosmsg and rossrv (especially

2020-08-03 11:00:08 -0500 asked a question ROS2 equivalents to ROS1 roscd, rosmsg rossrv...

ROS2 equivalents to ROS1 roscd, rosmsg rossrv... Are there equivalent commands for roscd, rosmsg and rossrv (especially

2020-07-29 09:27:26 -0500 answered a question Use launch args as variables in ROS2 launch file

It cannot work as is because parsing is not yet done when the description is generated. You can split your talker_node

2020-07-28 15:17:19 -0500 received badge  Popular Question (source)
2020-07-27 12:57:47 -0500 commented answer ROS 1 bridge requires the topic to be published both sides

This is explained in the README but I hadn't really gotten it. Thank you!

2020-07-27 12:57:15 -0500 marked best answer ROS 1 bridge requires the topic to be published both sides

I'm following the ROS 1 / 2 communication steps from this ROS-I tuto trying to run a simple example : publish some Bool msg in ROS 1 and echo in ROS 2, and vice versa. As advised in the tuto, I have 3 workspaces: ros_ws for Noetic, ros2_ws for Foxy, ros1_bridge_ws for the bridge (foxy branch, compiled successfully with colcon). I'm running all terminals in localhost with default settings and DDS implementation.

Terminal 1: Bridge in ros1_bridge_ws workspace

source ros1_bridge_ws/install/setup.bash
ros2 run ros1_bridge dynamic_bridge

Terminal 2: roscore in ros_ws workspace source ros_ws/devel/setup.bash roscore

The bridge in terminal 1 then warns:

[ERROR] [1595868742.350252486]: Tried to advertise on topic [/rosout] with latch=0 but the topic is already advertised with latch=1
created 2to1 bridge for topic '/rosout' with ROS 2 type 'rcl_interfaces/msg/Log' and ROS 1 type 'rosgraph_msgs/Log'

Terminal 3: rostopic pub in ros_ws workspace

ROS 1 will publish False booleans every second:

source ros_ws/devel/setup.bash
rostopic pub /test std_msgs/Bool "data: false" -r1

The bridge does not display anything new.

Terminal 4: rostopic echo in ros2_ws workspace

ros2 topic echo /test
WARNING: topic [/test] does not appear to be published yet
Could not determine the type for the passed topic

Thus ROS 2 does not get any message from ROS 1. I keep the publisher and subscriber open.

Terminal 5: ros2 topic pub in ros2_ws workspace

ROS 2 will publish True booleans every second:

source ros2_ws/install/setup.bash
ros2 topic pub /test std_msgs/Bool "data: true"

The bridge does not display anything new.

Terminal 4: rostopic echo in ros2_ws workspace

Back to the temrinal 4 that was falling to retrieve False messages from ROS1 and retry the echo:

ros2 topic echo /test

Now the echo receives successfully both True and False messages from ROS 1 and ROS 2 but also the bridge has noticed a new conversion to be made:

created 1to2 bridge for topic '/test' with ROS 1 type 'std_msgs/Bool' and ROS 2 type 'std_msgs/msg/Bool'
[INFO] [1595869460.462758826] [ros_bridge]: Passing message from ROS 1 std_msgs/Bool to ROS 2 std_msgs/msg/Bool (showing msg only once per type)
[WARN] [1595869460.463629720] [ros_bridge]: Message from ROS 2 rcl_interfaces/msg/Log failed to be passed to ROS 1 rosgraph_msgs/Log because the ROS 1 publisher is invalid (showing msg only once per type)

Conclusion

Why do I need to publish both sides to get some messages? Note: this issue is identical if the initial publisher is from ROS 1 or ROS 2 side.

2020-07-27 12:10:18 -0500 asked a question ROS 1 bridge requires the topic to be published both sides

ROS 1 bridge requires the topic to be published both sides I'm following the ROS 1 / 2 communication steps from this ROS

2020-05-20 22:40:00 -0500 received badge  Famous Question (source)
2020-03-25 11:29:56 -0500 received badge  Notable Question (source)
2020-03-17 08:19:02 -0500 received badge  Popular Question (source)
2020-02-17 13:28:09 -0500 edited question Fetch a resource file with ament_python

Fetch a resource file with ament_python I used to run the following piece of code to retrieve a file in ROS1: from os.p

2020-02-17 13:15:22 -0500 asked a question Fetch a resource file with ament_python

Fetch a resource file with ament_python I used to run the following piece of code to retrieve a file in ROS1: from os.p

2020-02-11 09:46:10 -0500 asked a question Are "resource markers" made for data files?

Are "resource markers" made for data files? Hi all, I used to the use the ROS1 Python function rospkg.Rospack().get_pac

2020-02-11 08:17:58 -0500 marked best answer How does colcon install Python dependencies in ROS2?

Can Colcon with ament_python install dependencies from setup.py by itself during colcon build --symlink-install step? e.g. I would like pyserial to be automatically retrieved from pypi and installed without invoking pip3 manually:

setup(
...
   install_requires=['setuptools', 'pyserial']
...
)
2020-02-11 08:17:58 -0500 received badge  Scholar (source)
2020-02-08 09:02:28 -0500 received badge  Enthusiast
2020-02-07 12:47:30 -0500 commented answer How does colcon install Python dependencies in ROS2?

I also have ROS melodic, but I guess this is why I'm getting conflicts: python3-rosdep : Depends: python3-catkin-pkg but

2020-02-07 12:24:16 -0500 commented answer How does colcon install Python dependencies in ROS2?

Ah, yes. But it complains: ModuleNotFoundError: No module named 'rosdep2'. I do have multiple Python interpreters on thi

2020-02-07 11:54:06 -0500 asked a question How does colcon install Python dependencies in ROS2?

How does colcon install Python dependencies in ROS2? Can Colcon with ament_python install dependencies from setup.py by

2019-09-21 17:55:38 -0500 received badge  Student (source)
2019-09-21 17:55:35 -0500 received badge  Famous Question (source)