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

Morris's profile - activity

2022-10-22 08:01:14 -0500 received badge  Teacher (source)
2022-10-22 08:01:14 -0500 received badge  Self-Learner (source)
2022-10-22 07:59:05 -0500 received badge  Famous Question (source)
2022-10-05 14:49:50 -0500 commented answer OpenCV and ROS2

This worked for me. python3-opencv installs version OpenCV 4.2 which works with Foxy. It was not working when I did pi

2022-09-18 05:27:53 -0500 edited answer ROS 2: How to quit a node from within a callback?

One solution for quitting a node in a callback is by raising an exception, raise SystemExit, and to catch this with a tr

2022-09-18 01:37:33 -0500 received badge  Notable Question (source)
2022-09-17 13:43:42 -0500 edited question ROS 2: How to quit a node from within a callback?

ROS 2: How to shutdown a node from within a callback? I have a node with a callback. Now I want this callback to be abl

2022-09-17 11:24:33 -0500 commented answer ROS 2: How to quit a node from within a callback?

The self.destroy_node() does not work for me in Ubuntu -- it still hangs. But I did think of a solution which is to rai

2022-09-17 11:19:08 -0500 answered a question ROS 2: How to quit a node from within a callback?

One solution is to get out of the callback by raising an exception and to catch this with a try statement around the spi

2022-09-17 11:13:12 -0500 commented answer ROS 2: How to quit a node from within a callback?

The self.destroy_node() does not work for me -- it still hangs. But I did think of a solution which is to raise SystemE

2022-09-16 14:35:11 -0500 received badge  Popular Question (source)
2022-09-15 12:43:11 -0500 commented answer ROS 2: How to quit a node from within a callback?

Hmmm, it looks like it works for you, but it does not work for me -- mine still hangs at that line. A difference is tha

2022-09-15 04:55:27 -0500 edited question ROS 2: How to quit a node from within a callback?

ROS 2: How to shutdown a node from within a callback? I have a node with a callback. Now I want this callback to be abl

2022-09-15 04:55:18 -0500 received badge  Associate Editor (source)
2022-09-15 04:55:18 -0500 edited question ROS 2: How to quit a node from within a callback?

ROS 2: How to shutdown a node from within a callback? I have a node with a callback. Now I want this callback to be abl

2022-09-15 04:53:52 -0500 asked a question ROS 2: How to quit a node from within a callback?

ROS 2: How to shutdown a node from within a callback? I have a node with a callback. Now I want this callback to be abl

2022-07-25 15:48:16 -0500 commented answer ROS2 - colcon build fails to find configuration file provided by "ament_cmake"

Yes, sourcing the underlay is that is needed.

2022-06-24 16:51:37 -0500 commented question ROS Humble Ubuntu 22.04 Apt Install Issue

I'm getting the same error on a brand new Jammy install.

2022-06-24 16:42:45 -0500 edited question Error installing ROS 2 Humble on brand new Jammy

Error installing Humble on brand new Jammy I just did a clean install of Ubuntu 22.04 (Jammy) and then followed the stan

2022-06-24 16:42:10 -0500 edited question Error installing ROS 2 Humble on brand new Jammy

Error installing Humble on brand new Jammy I just did a clean install of Ubuntu 22.04 (Jammy) and then followed the stan

2022-06-24 16:41:31 -0500 edited question Error installing ROS 2 Humble on brand new Jammy

Error installing Humble on brand new Jammy I just did a clean install of Ubuntu 22.04 (Jammy) and then followed the stan

2022-06-24 16:40:12 -0500 asked a question Error installing ROS 2 Humble on brand new Jammy

Error installing Humble on brand new Jammy I just did a clean install of Ubuntu 22.04 (Jammy) and then followed the stan

2022-05-20 09:48:29 -0500 received badge  Notable Question (source)
2022-05-20 09:48:29 -0500 received badge  Famous Question (source)
2022-05-20 09:48:29 -0500 received badge  Popular Question (source)
2021-03-17 23:03:14 -0500 received badge  Famous Question (source)
2020-12-28 01:45:35 -0500 received badge  Famous Question (source)
2020-12-28 01:45:35 -0500 received badge  Notable Question (source)
2020-12-15 22:51:42 -0500 answered a question WSL ROS master cannot subscribe client topics

I have almost the same problem. I'm running roscore on the Raspberry Pi: On WSL I can subscribe to topics that are pu

2020-12-12 08:57:34 -0500 commented answer How to fix camera_calibration giving error on save in Noetic

Excellent!

2020-12-11 21:24:03 -0500 edited question How to fix camera_calibration giving error on save in Noetic

How to fix camera_calibration giving error on save in Noetic I am running camera_calibration in Noetic: rosrun camera_c

2020-12-11 20:48:08 -0500 marked best answer How to fix camera_calibration giving error on save in Noetic

I am running camera_calibration in Noetic:

rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.026 image:=/camera/image_raw camera:=/raspicam_node

It works fine finding the calibration parameters, but when I try to save the parameters, I get an error from Python 2.x code. Is anyone else getting this problem? Seems bad that we have Python 2.x code in there. Here is the error:

Traceback (most recent call last):81604   Duration: 69.231470 / 84.882752               0
  File "/opt/ros/noetic/lib/python3/dist-packages/camera_calibration/camera_calibrator.py", line 273, in on_mouse
self.c.do_save()
  File "/opt/ros/noetic/lib/python3/dist-packages/camera_calibration/calibrator.py", line 577, in do_save
self.do_tarfile_save(tf) # Must be overridden in subclasses
  File "/opt/ros/noetic/lib/python3/dist-packages/camera_calibration/calibrator.py", line 889, in do_tarfile_save
taradd(name, cv2.imencode(".png", im)[1].tostring())
  File "/opt/ros/noetic/lib/python3/dist-packages/camera_calibration/calibrator.py", line 877, in taradd
if isinstance(buf, basestring): 
NameError: name 'basestring' is not defined

The command basestring is Python 2 command that is now str in Python 3. So I think that's the problem. I can't directly edit this file though, so don't know how to fix the problem.

2020-12-11 08:32:34 -0500 edited answer How to fix camera_calibration giving error on save in Noetic

As @mgruhler pointed out, this is a bug that has been fixed https://github.com/ros-perception/image_pipeline/pull/552, b

2020-12-11 08:31:58 -0500 received badge  Rapid Responder (source)
2020-12-11 08:31:58 -0500 answered a question How to fix camera_calibration giving error on save in Noetic

As @mgruhler pointed out, this is a bug that has been fixed https://github.com/ros-perception/image_pipeline/pull/552, b

2020-12-11 05:24:27 -0500 commented question How to fix camera_calibration giving error on save in Noetic

That's great. A couple questions 1. Do you mean I need to install all of ROS Noetic from source, or just the ros-perce

2020-12-11 05:24:27 -0500 received badge  Commentator
2020-12-10 21:41:36 -0500 asked a question camera_calibration giving error on save in Noetic

camera_calibration giving error on save in Noetic I am running camera_calibration in Noetic: rosrun camera_calibration

2020-12-10 21:40:15 -0500 asked a question How to fix camera_calibration giving error on save in Noetic

How to fix camera_calibration giving error on save in Noetic I am running camera_calibration in Noetic: rosrun camera_c

2020-12-08 05:49:04 -0500 edited question Gazebo for Noetic not working in WSL

Gazebo for Noetic not working in WSL I did a clean install of Noetic in Ubuntu 20.04 on WSL 2. This installs Gazebo 11,

2020-12-08 05:48:31 -0500 edited question Gazebo for Noetic not working in WSL

Gazebo for Noetic not working in WSL I did a clean install of Noetic in Ubuntu 20.04 on WSL 2. This installs Gazebo 11,

2020-12-08 05:47:33 -0500 commented question Gazebo for Noetic not working in WSL

Okay, done.

2020-12-08 05:10:58 -0500 marked best answer Gazebo for Noetic not working in WSL

I did a clean install of Noetic in Ubuntu 20.04 on WSL 2. This installs Gazebo 11, but Gazebo does not run when I type:

gazebo

Other X11 utilities like xeyes work fine in WSL, so the X-Server and DISPLAY are fine. I also went to the official Gazebo page: http://gazebosim.org/tutorials?tut=in..., and followed those directions, which just confirmed that I already have the latest version of Gazebo.

Has anyone gotten Gazebo working with Noetic in WSL2?

2020-12-08 05:10:18 -0500 answered a question Gazebo for Noetic not working in WSL

I found the problem and solution. Make sure to set this environment variable before running gazebo: export LIBGL_ALWAY

2020-12-08 05:10:18 -0500 received badge  Rapid Responder (source)
2020-12-08 05:09:24 -0500 edited question Gazebo for Noetic not working in WSL

Gazebo for Noetic not working in WSL I did a clean install of Noetic in Ubuntu 20.04 on WSL 2. This installs Gazebo 11,

2020-12-08 04:17:59 -0500 received badge  Popular Question (source)
2020-12-07 18:25:48 -0500 edited question Gazebo for Noetic not working in WSL

Gazebo for Noetic not working in WSL I did a clean install of Noetic in Ubuntu 20.04 on WSL 2. This installs Gazebo 11,