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

abata's profile - activity

2021-11-28 18:44:55 -0500 received badge  Good Question (source)
2021-05-18 17:49:39 -0500 received badge  Famous Question (source)
2021-05-11 09:27:52 -0500 marked best answer rqt_gui error in perspective manager in ROS noetic

I run my code flawlessly in ROS Melodic but in ROS Noetic, I am having the following error (maybe because of python3):

Traceback (most recent call last):
  File "/opt/ros/noetic/lib/rqt_gui/rqt_gui", line 13, in <module>
    sys.exit(main.main())
  File "/opt/ros/noetic/lib/python3/dist-packages/rqt_gui/main.py", line 61, in main
    return super(
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/main.py", line 614, in main
    perspective_manager.import_perspective_from_file(
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 360, in import_perspective_from_file
    self._convert_values(data, self._import_value)
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 422, in _convert_values
    self._convert_values(groups[group], convert_function)
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 422, in _convert_values
    self._convert_values(groups[group], convert_function)
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 422, in _convert_values
    self._convert_values(groups[group], convert_function)
  [Previous line repeated 1 more time]
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 419, in _convert_values
    keys[key] = convert_function(keys[key])
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 429, in _import_value
    return QByteArray.fromHex(eval(value['repr(QByteArray.hex)']))
  File "<string>", line 1, in <module>
TypeError: arguments did not match any overloaded call:
  QByteArray(): too many arguments
  QByteArray(int, str): argument 1 has unexpected type 'str'
  QByteArray(Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'str'

Any idea on this? Or have you encountered this before?

Thanks

2021-04-26 16:58:46 -0500 received badge  Famous Question (source)
2021-02-07 09:58:01 -0500 received badge  Famous Question (source)
2021-01-06 14:55:23 -0500 received badge  Nice Question (source)
2021-01-06 14:54:14 -0500 received badge  Notable Question (source)
2021-01-02 19:00:15 -0500 marked best answer Integrating custom controller to ros_control package

Hi everyone,

I am new to ROS and ros_control and I don't know how to integrate my custom controller into to the ros_control package. I have implemented this tutorial and everything works OK. I can run default/existing controllers but I need to know how I can merge my new controller to the controller_manager. In my workspace within src folder, I have three folders: rrbot_control, rrbot_description, and rrbot_gazebo and each has its own CMakeLists.txt and package.xml files.

Right now I have a .cpp file of my new controller:

1) Where should I put it (in which folder)?

2) Shall I change CMakeLists.txt and package.xml files? and how?

I'm using ROS melodic and ubuntu 18.04. Thanks a lot for your help.

2021-01-02 19:00:15 -0500 received badge  Scholar (source)
2021-01-02 18:58:45 -0500 received badge  Popular Question (source)
2020-11-11 11:48:15 -0500 commented question rqt_gui error in perspective manager in ROS noetic

My launch file was using a .perspective file. Also, when I tried to load it manually in rqt. The same errors happened.

2020-11-11 10:35:33 -0500 received badge  Student (source)
2020-11-10 06:43:02 -0500 asked a question rqt_gui error in perspective manager in ROS noetic

rqt_gui error in perspective manager in ROS noetic I run my code flawlessly in ROS Melodic but in ROS Noetic, I am havi

2020-10-28 11:13:12 -0500 received badge  Notable Question (source)
2020-10-28 11:13:12 -0500 received badge  Popular Question (source)
2020-08-03 04:46:47 -0500 edited question Change frame_id in InteractiveMarker topic/messages

Change frame_id in InteractiveMarker topic/messages Hi, I am using UR5 in rviz with a marker at the end-effector, when I

2020-08-03 04:45:55 -0500 asked a question Change frame_id in InteractiveMarker topic/messages

Change frame_id in InteractiveMarker topic/messages Hi, I am using UR5 in rviz with a marker at the end-effector, when I

2020-08-03 04:35:29 -0500 received badge  Notable Question (source)
2020-07-29 11:48:29 -0500 received badge  Supporter (source)
2020-07-23 07:01:06 -0500 received badge  Enthusiast
2020-07-21 11:29:47 -0500 received badge  Popular Question (source)
2020-07-21 06:44:31 -0500 answered a question Integrating custom controller to ros_control package

I found this video and it is the answer to my question :) Thanks.

2020-07-20 21:06:30 -0500 asked a question Integrating custom controller to ros_control package

Integrating custom controller to ros_control package Hi everyone, I am new to ROS and ros_control and I don't know how