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

elpidiovaldez's profile - activity

2023-07-09 16:56:50 -0500 received badge  Popular Question (source)
2023-07-09 16:56:50 -0500 received badge  Notable Question (source)
2023-05-07 19:43:43 -0500 commented answer Please can someone help me to link ros node with opencv correctly.

I was doing the edit. Possibly I never committed it. It is not worth doing it again because I found the problem - and

2023-05-07 09:47:15 -0500 commented answer Please can someone help me to link ros node with opencv correctly.

I have done what you suggested - removed all of opencv from /usr/local. Now both the working and non-working programs ap

2023-05-07 08:56:48 -0500 commented answer Please can someone help me to link ros node with opencv correctly.

I have done what you suggested - removed all of opencv from /usr/local. Now both the working and non-working programs ap

2023-05-06 13:45:57 -0500 asked a question Please can someone help me to link ros node with opencv correctly.

Please can someone help me to link ros node with opencv correctly. I am at my wits end trying to get a simple ROS node t

2023-04-07 02:38:22 -0500 received badge  Notable Question (source)
2023-04-07 02:38:22 -0500 received badge  Popular Question (source)
2023-04-02 09:19:40 -0500 asked a question Does noetic libopencv-dev use gstreamer ?

Does noetic libopencv-dev use gstreamer ? I have a small ros node which uses opencv to read an image. There is no expli

2023-04-02 08:15:45 -0500 asked a question How to make catkin_make use correct opencv version ?

How to make catkin_make use correct opencv version ? I am using ROS Noetic on Lubuntu 20.04. I am trying to compile a s

2023-04-02 08:15:00 -0500 asked a question How to make catkin_make use correct opencv version ?

How to make catkin_make use correct opencv version ? I am using ROS Noetic on Lubuntu 20.04. I am trying to compile a s

2023-02-25 08:21:47 -0500 asked a question How can I debug this OpenCv/gstreamer issue ?

How can I debug this OpenCv/gstreamer issue ? I am trying to communicate with an ESP32 Cam from ROS1 (using ROS Noetic o

2023-02-25 08:19:47 -0500 asked a question How can I debug this OpenCv/gstreamer issue ?

How can I debug this OpenCv/gstreamer issue ? I am trying to communicate with an ESP32 Cam from ROS1 (using ROS Noetic o

2023-02-17 08:40:13 -0500 received badge  Favorite Question (source)
2022-08-03 15:24:47 -0500 received badge  Famous Question (source)
2022-08-03 15:24:47 -0500 received badge  Notable Question (source)
2022-07-27 11:22:31 -0500 received badge  Famous Question (source)
2022-05-23 14:36:25 -0500 received badge  Famous Question (source)
2022-05-23 14:36:25 -0500 received badge  Notable Question (source)
2022-02-24 09:26:54 -0500 received badge  Notable Question (source)
2022-01-10 12:11:16 -0500 received badge  Good Question (source)
2021-12-16 09:45:51 -0500 received badge  Famous Question (source)
2021-11-04 07:32:22 -0500 received badge  Nice Question (source)
2021-08-11 07:15:36 -0500 received badge  Notable Question (source)
2021-07-13 19:28:40 -0500 received badge  Notable Question (source)
2021-07-12 12:12:05 -0500 marked best answer Why does service not work from launch file ?

I create a permanent service, and its client in my launch file. All subsequent service calls fail. I have discovered that if I kill the client and run it from the command line, then the service calls work. The service also works if I call it directly from the command line using 'rosservice'.

I have also discovered that making the service temporary solves the issue. I suspect that the launch file does something before the service is ready, but I don't know what.

I still want to use a permanent service for efficiency. What can I do to fix the problem ?

2021-07-12 12:11:56 -0500 answered a question Why does service not work from launch file ?

I found a discussion on ROS Answers which solved the issue for me. It is here. I simply needed to wait for the service

2021-07-12 11:28:04 -0500 commented question Why does service not work from launch file ?

Yes, I did mean 'persistent'. I don't even remember where I got the idea they were called 'permanent' connections now.

2021-07-09 03:33:46 -0500 received badge  Popular Question (source)
2021-07-06 23:05:00 -0500 asked a question Why does service not work from launch file ?

Why does service not work from launch file ? I create a permanent service, and its client in my launch file. All subseq

2021-07-03 19:02:22 -0500 commented answer How do I set environment variable for node launched on remote machine ?

Thanks for your suggestion. It seems blindingly obvious now, but at the time I was reeling from trying to follow what w

2021-07-03 19:01:39 -0500 commented answer How do I set environment variable for node launched on remote machine ?

Thanks for your suggestion. It seems blindingly obvious now, but at the time I was reeling from trying to follow what w

2021-07-03 19:00:54 -0500 commented answer How do I set environment variable for node launched on remote machine ?

Thanks for your suggestion. It seems blindingly obvious now, but at the time I was reeling from trying to follow what w

2021-07-03 18:51:11 -0500 marked best answer How do I set environment variable for node launched on remote machine ?

I have a launch file which runs some nodes on a remote machine. I declare the remote machine as follows:

  <machine name="petra" address="petra" env-loader="/home/paul/catkin_ws/devel_isolated/env.sh"/>

and launch a remote node with:

  <node machine="petra" name="myspeech.py" pkg="speech_infinite" type="myspeech.py" output="screen"/>

The node uses Google cloud speech API and requires an environment variable of the form:

export GOOGLE_APPLICATION_CREDENTIALS=/home/paul/Programs/GoogleAccount/myproject-blahblah.json

Currently I edit env.sh in devel_isolated, but that gets overwritten when I make the workspace.

I have traced through the shell scripts, which include other scripts, which include other scripts and hooks etc. It left my head spinning ! Can anyone suggest a good way(i.e. minimal changes to ROS boilerplate) to set this up, so that:

  1. The Google credentials are included even after remaking catkin workspace
  2. All the rest of my catkin environment continues to be loaded.
2021-07-03 18:17:37 -0500 edited question How do I set environment variable for node launched on remote machine ?

How do I set environment variable for node launched on remote machine ? I have a launch file which runs some nodes on a

2021-07-03 18:16:05 -0500 received badge  Popular Question (source)
2021-07-02 22:36:40 -0500 asked a question How do I set environment variable for node launched on remote machine ?

How do I set environment variable for node launched on remote machine ? I have a launch file which runs some nodes on a

2021-06-24 20:11:31 -0500 received badge  Famous Question (source)
2021-06-16 22:13:16 -0500 received badge  Famous Question (source)
2021-05-27 15:05:49 -0500 received badge  Notable Question (source)
2021-05-27 15:05:49 -0500 received badge  Popular Question (source)
2021-05-26 07:40:17 -0500 marked best answer Why does catkin_make fail when package depends on 'move_base' ?

I have been using ROS for a few days and I am following the tutorial for setting up the Navigation Stack. It tells me to create a package as follows:

catkin_create_pkg my_robot_name_2dnav move_base my_tf_configuration_dep my_odom_configuration_dep my_sensor_configuration_dep

Since tf and odom are handled in the zen package, and my sensor is a Kinect, my actual command is:

catkin_create_pkg zen_2dnav2 move_base freenect_launch zen

When I execute catkin_make I get an error due to move_base:

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "move_base" with
any of the following names:

  move_baseConfig.cmake
  move_base-config.cmake

I googled and subsequently removed the error by:

  • Removing the build-Dependency on move_base from package.xml
  • Removing move_base from find_package(catkin REQUIRED COMPONENTS ...) in CMakeLists.txt

So my questions in order of importance are:

  • Why did I get the error ?
  • What are the implications of removing the dependency ? i.e. Will the Navigation Stack fail because of this
  • During my googling I read that move_base is not catkinized and a catkin package cannot depend on it. Does that mean the tutorial is doomed to failure. I am hoping the information is out of date and move_base IS catkinized. How can I check this ? Is there an up to date list of packages that work in Kinetic ?
2021-05-26 07:40:15 -0500 received badge  Nice Question (source)
2021-05-26 07:34:44 -0500 commented question Is there any reasonable way to build a ROS GUI with PyQt on Raspberry Pi2/Melodic/Ubuntu 18.04 ?

I tried Lubuntu 20.04 on the Pi 2 (with the intention of using Python 3 based ROS Noetic). It was a non-starter - Lubun

2021-05-26 07:30:39 -0500 received badge  Notable Question (source)
2021-05-26 07:30:39 -0500 received badge  Famous Question (source)
2021-05-08 20:56:25 -0500 received badge  Popular Question (source)
2021-05-08 20:55:45 -0500 marked best answer Why is catkin_make_isolated trying to build so much ?

Basically I don't understand the ROS build system.

I installed ROS from source on a Raspberry Pi 4 under Raspbian Buster Stretch using this method. I also managed to get raspicam_node to compile and install. I used Raspbian because it provides support for the Pi's GPU.

Everything works, but whenever I try to build my own package with catkin_make_isolated, ROS appears to try to rebuild the entire system - it takes hours ! Also I don't know if I should be using catkin_make(like I always used to), or catkin_make_isolated. I don't know why ROS wants to rebuild the whole system - I installed the system to /opt/ROS/melodic, and thought that it should now just recompile my own package. Something has got very messed up.

My directory structure is now:

  • catkin_ws

    • build
    • build_isolated
    • devel
    • devel_isolated
    • install
    • src

I don't think I should have build and build_isolated etc. Some packages exist in both, and some are just in one. I don't know why I have both.

Any clarification would be welcome.