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

Green01's profile - activity

2023-06-21 01:49:42 -0500 received badge  Famous Question (source)
2023-06-21 01:49:42 -0500 received badge  Notable Question (source)
2023-06-21 01:49:42 -0500 received badge  Popular Question (source)
2023-04-15 12:57:43 -0500 received badge  Famous Question (source)
2022-11-26 11:26:58 -0500 received badge  Notable Question (source)
2022-11-26 11:26:58 -0500 received badge  Popular Question (source)
2022-06-15 16:59:06 -0500 received badge  Famous Question (source)
2022-04-05 17:19:45 -0500 received badge  Famous Question (source)
2022-04-05 12:27:38 -0500 received badge  Self-Learner (source)
2022-04-05 12:27:38 -0500 received badge  Teacher (source)
2022-04-05 12:25:01 -0500 answered a question Dynamic_Reconfigure: Set Parameter Value from C++ Code

Thanks to @schulze18 for providing help on getting dynamic reconfigure working. I now have 2 nodes under a single proje

2022-04-04 14:39:09 -0500 commented question Dynamic_Reconfigure: Set Parameter Value from C++ Code

You nailed it, @schulze18! I created a separate node that calls the dynamic reconfigure service. Now when the C++ cod

2022-03-29 13:30:24 -0500 commented question Dynamic_Reconfigure: Set Parameter Value from C++ Code

schulze18 - can you provide any further suggestions now that I have the entire code in the question?

2022-03-28 14:44:50 -0500 edited question Dynamic_Reconfigure: Set Parameter Value from C++ Code

Dynamic_Reconfigure: Set Parameter Value from C++ Code Hello - I am new to ROS. I am using Ros Noetic on Ubuntu 20.04.

2022-03-20 15:01:20 -0500 received badge  Notable Question (source)
2022-03-18 03:14:35 -0500 received badge  Popular Question (source)
2022-03-17 13:42:35 -0500 commented question Dynamic_Reconfigure: Set Parameter Value from C++ Code

I do have a ros::init. I will work on cutting down the cpp file to something I can paste into the question.

2022-03-17 08:33:40 -0500 asked a question Dynamic_Reconfigure: Set Parameter Value from C++ Code

Dynamic_Reconfigure: Set Parameter Value from C++ Code Hello - I am new to ROS. I am using Ros Noetic on Ubuntu 20.04.

2022-03-10 07:07:37 -0500 commented question How setting parameters of a ROS program through a GUI ?

Piero-31: did you ever get your own GUI created? I also want to create my own GUI to interact with dynamic reconfigure

2022-03-06 18:32:16 -0500 asked a question Help With Dynamic Reconfigure Tutorials

Help With Dynamic Reconfigure Tutorials I am a beginner. I am using Noetic and Ubuntu 20.04. I am struggling to link t

2022-03-02 08:37:13 -0500 marked best answer Understanding Parameters - Changing & Using New Value On The Fly

I am new to ROS. I am using Python 3 and ROS Noetic on Ubuntu 20.04. I need help understanding parameters.

Currently, I use a launch file to set parameters and in the C++ publisher code I do a getParam to get the value of the parameter from the Parameter Server. This works fine.

Now, I want to create a rqt GUI and from the GUI change the value of a parameter, get the new value in the publisher code and act on it, without restarting the Parameter server or publisher.

Can I do this with setParam() and getParam()? I've read some about dynamic_reconfigure. Is that what I need to use rather than setParam()/getParam()?

Any help getting me started in the right direction is appreciated!

2022-03-01 12:26:43 -0500 commented answer Understanding Parameters - Changing & Using New Value On The Fly

Thanks for the feedback. That is a helpful link to the question comparing server parameters and dynamic reconfigure as I

2022-03-01 09:23:45 -0500 asked a question Understanding Parameters - Changing & Using New Value On The Fly

Understanding Parameters - Changing & Using New Value On The Fly I am new to ROS. I am using Python 3 and ROS Noeti

2022-02-23 06:55:58 -0500 commented question Remove Grid Lines Programmatically

Thanks for the information. I will do some searching using your suggestion.

2022-02-22 15:06:00 -0500 edited question Remove Grid Lines Programmatically

Remove Grid Lines Programmatically I am using Ubuntu 20.04 and ROS Noetic. In RViz, I can add/remove the grid lines by

2022-02-22 15:05:23 -0500 edited question Remove Grid Lines Programmatically

Remove Grid Lines Programmatically I am using Ubuntu 20.04 and ROS Noetic. In RViz, I can add/remove the grid lines by

2022-02-22 15:04:44 -0500 edited question Remove Grid Lines Programmatically

Remove Grid Lines Programmatically I am using Ubuntu 20.04 and ROS Noetic. In RViz, I can add/remove the grid lines by

2022-02-22 15:02:01 -0500 edited question Remove Grid Lines Programmatically

Remove Grid Lines Programmatically I am using Ubuntu 20.04 and ROS Noetic. In RViz, I can add/remove the grid lines by

2022-02-22 14:58:38 -0500 edited question Remove Grid Lines Programmatically

Remove Grid Lines Programmatically In RViz, I can add/remove the grid lines by clicking the Grid checkbox in the Displa

2022-02-22 14:57:38 -0500 asked a question Remove Grid Lines Programmatically

Remove Grid Lines Programmatically In RViz, I can add/remove the grid lines by clicking the Grid checkbox in the Displa

2022-02-08 15:50:03 -0500 received badge  Enthusiast
2022-02-02 06:47:42 -0500 commented answer rqt Plugin Tutorial Not Working

Yep, it is working now. Thanks for all your help. Quick summary for future folks. There were 2 problems: 1) My project

2022-02-02 06:42:30 -0500 received badge  Supporter (source)
2022-02-02 06:42:16 -0500 marked best answer rqt Plugin Tutorial Not Working

Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin. I am using Ubuntu 20.04 and ROS Noetic. After completing the tutorial, when I run the plugin with 'rqt --standalone rqt_mypkg' I get the following errors:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-public'

qt_gui_main() found no plugin matching "rqt_mypkg" try passing the option "--force-discover"

As I followed the steps in the tutorial, I coped the contents of each file from the tutorial and pasted into files on my system.

Things I've tried:

  • deleted ~/.config/ros.org/rqt_gui.ini
  • tried the --force-discover option on the 'rqt --standalone rqt_mypkg' command
  • made sure to run source <workspace>/catkin/devel/setup.bash (actually it is in my .bashrc plus I manually ran the command)
  • 'rqt --list-plugins does not list my rqt_mypkg plugin
  • when I run 'rqt', the GUI pops up but I don't see rqt_mypkg anywhere in the menus
  • the command 'rosrun rqt_mypkg rqt_mypkg' gives an error: "[rospack] Error: package 'rqt_mypkg' not found"

UPDATE #1: Do the errors have to do with my directory structure?

There is an existing ROS package in /home/user/ros. I can run catkin_make in /home/user/ros to compile and build that package. When I started the plugin tutorial, I did Step 1, the catkin_create_pkg command, in /home/user/ros. So I now have /home/user/ros/rqt_mypkg. I followed the tutorial exactly and all my rqt files are in /home/user/ros/rqt_mypkg. If I try to run catkin_make in /home/user/ros/rqt_mypkg, I get the message seen below, so instead I run catkin_make in /home/user/ros:

Base path: /home/user/ros/rqt_mypkg The specified base path "/home/user/ros/rqt_mypkg" contains a package but "catkin_make" must be invoked in the root of workspace

Is it correct that I created the the new plugin rqt_pkg underneath the ros project?

UPDATE #2: This is my current directory structure. The original workspace "ros" which is a fully functioning project that I am just trying to add a plugin to. 'rqt_mypkg' is the directory structure I added as I was doing the plugin tutorial.

ros/
   build/ 
      lots of files in here
   devel/
      lots of files in here
   src/
      CMakeLists.txt  (toplevel CMakeLists.txt for a catkin workspace)
      project1/
         CMakeList.txt (for the project1)
         package.xml
         x.launch
         src/
              project1.cpp
          include/
               include.txt
   rqt_mypkg/
       CMakeLists.txt (for the rqt_mypkg plugin)
       package.xml
       plugin.xml
       setup.py
       resource/
            MyPlugin.ui
       scripts/
            rqt_mypkg
       src/
            rqt_mypkg/
                 __init__.py
                 my_module.py

UPDATE #3: Some progress - thank you! Per your suggestion, I moved rqt_mypkg under ros/src directory. Now when I run catkin_make, I see it is getting compiled as I see these type of statements:

 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 -- ~~  traversing 2 packages in topological order:
 -- ~~  - rqt_mypkg
 -- ~~  - project1
 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 -- +++ processing catkin package: 'rqt_mypkg'
 -- ==> add_subdirectory(rqt_mypkg)

But when I run 'rqt --standalone rqt_mypkg --force -discover', I still get the same error:

qt_gui_main() found no plugin matching "rqt_mypkg" try passing the option "--force-discover"

When I run 'rqt --list-plugins' my ... (more)

2022-02-02 06:42:16 -0500 received badge  Scholar (source)
2022-02-01 09:16:19 -0500 received badge  Notable Question (source)
2022-02-01 06:41:38 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-31 10:51:31 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-31 07:42:56 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-28 05:18:14 -0500 received badge  Popular Question (source)
2022-01-27 14:17:19 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-27 14:16:43 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-27 13:26:39 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-27 13:26:39 -0500 received badge  Editor (source)
2022-01-27 13:25:53 -0500 edited question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.

2022-01-27 11:00:05 -0500 received badge  Student (source)
2022-01-27 10:57:32 -0500 asked a question rqt Plugin Tutorial Not Working

rqt Plugin Tutorial Not Working Hello - I am new to ROS. I followed this tutorial to create a rqt_mypkg python plugin.