Ask Your Question

balint.tahi's profile - activity

2019-12-20 01:26:56 -0600 received badge  Student (source)
2019-12-19 11:29:45 -0600 received badge  Famous Question (source)
2019-09-23 09:16:46 -0600 received badge  Famous Question (source)
2019-09-23 09:16:46 -0600 received badge  Notable Question (source)
2019-09-23 09:16:46 -0600 received badge  Popular Question (source)
2019-09-13 02:36:19 -0600 received badge  Notable Question (source)
2019-08-13 08:08:33 -0600 received badge  Famous Question (source)
2019-08-13 08:08:33 -0600 received badge  Notable Question (source)
2019-07-30 03:26:52 -0600 received badge  Famous Question (source)
2019-02-20 02:29:35 -0600 marked best answer ROS3D.js how to setup the namespace

Hi,

I am running my node with a launch file, in a namespace. Lets call it: my_namespace. I am getting the following error when I am trying to use the example urdf.html in ros3djs package:

Uncaught TypeError: Cannot read
property 'documentElement' of
undefined
    at new UrdfModel (roslib.js:4140)
    at ros3d.js:54785
    at roslib.js:2108
    at Ros.<anonymous> (roslib.js:2828)
    at Ros.listener (roslib.js:698)
    at Ros.EventEmitter.emit (roslib.js:762)
    at handleMessage (roslib.js:2971)
    at handlePng (roslib.js:2987)
    at WebSocket.onMessage (roslib.js:3054)

So far, I figured out, that the problem is the following: the lib tries to get the robot_description (and I think everything else) as rosparam get robot_description (ofc through rosbridge, so calling rosapi/get_param service, with the robot_description param). The response is ofc. empty, because it is not existing. The param I have is /my_namespace/robot_description. If I debug in chrome, stop the code, where it gets the params and change this.name to "/my_namespace/robot_description" from the normal "robot_description", it gets its value correctly. Ofc. this is not solving my issue, because I guess everywhere else I should include the namespace as well.

I was not able to find the right parameter, where I should set the namespace. Where should I set a "global" namespace parameter?

Thanks in advance!

Balint

2019-02-19 10:48:18 -0600 commented question ROS3D.js how to setup the namespace

Ok, I found, that the right parameter is the UrdfClient({ .... param: '/my_namespace/robot_description', ...}). Now I do

2019-02-19 10:38:18 -0600 asked a question ROS3D.js how to setup the namespace

ROS3D.js how to setup the namespace Hi, I am running my node with a launch file, in a namespace. Lets call it: my_names

2019-01-29 07:35:09 -0600 received badge  Famous Question (source)
2019-01-22 16:25:34 -0600 received badge  Popular Question (source)
2019-01-22 16:25:17 -0600 received badge  Notable Question (source)
2019-01-22 16:25:03 -0600 commented answer VSCode debug cpp ROS node

Thanks, I was blind ... I have no problems debugging a python code, it is working just fine... but c++ with it tons of i

2019-01-22 16:22:31 -0600 marked best answer VSCode debug cpp ROS node

Hi,

I am trying to debug my cpp ROS node, based on the microepsilon_scancontrol (I am porting it to the latest driver). I can build with catkin, I can start it, but ofc not perfect (why would it..).

Therefor, I would like to debug it. I am using:

When I start debug I select ROS debugger and run my code with roslaunch (or rosrun, doesn't matter... same result). My node starts in the built-in console, but basically that's it, nothing more. Even if I add some brakepoints, doesn't matter, won't stop, keep running.

What am I missing? Also this automatic include generator doesn't seem to work. glibconfig.h is missing for some reason (I can build my code with catkin_make, so it has to be somewhere). And to be honest it is not really generating all of the includes, vscode offers me to add this and that, but when it comes to glibconfig.h it stops and ask me to add it manually.

Do you guys have some advice how to debug nodes in the given environment?

Thanks!

2019-01-22 16:22:31 -0600 received badge  Scholar (source)
2019-01-22 16:03:54 -0600 received badge  Notable Question (source)
2019-01-22 11:15:55 -0600 commented question VSCode debug cpp ROS node

ofc not. debug screen -> play button (or pressing F5), then I select ROS -> roslaunch (or rosrun) -> my package

2019-01-22 09:54:15 -0600 received badge  Popular Question (source)
2019-01-22 08:00:31 -0600 asked a question VSCode debug cpp ROS node

VSCode debug cpp ROS node Hi, I am trying to debug my cpp ROS node, based on the microepsilon_scancontrol (I am porting

2019-01-17 14:55:15 -0600 received badge  Enthusiast
2019-01-16 08:53:37 -0600 commented question MoveGroupCommander unable to connect

UPDATE: if the demo.launch and my node is started on the same namespace, it is working. Why isn't it working with differ

2019-01-16 04:14:21 -0600 asked a question MoveGroupCommander unable to connect

MoveGroupCommander unable to connect Hallo, So, my setup is based on: http://docs.ros.org/indigo/api/moveit_tutorial

2019-01-04 08:11:43 -0600 received badge  Popular Question (source)
2019-01-03 02:14:42 -0600 received badge  Popular Question (source)
2019-01-02 06:57:10 -0600 commented question get MoveIt! planning status

Fraction seems to be okay for my case, because I need only the fact of an error and notify the user if there is an error

2019-01-02 06:52:23 -0600 commented answer Change URDF link position

Thanks for the quick answer. Then I will try the "alternative way", updating a yaml and using xacro first. I am using on

2019-01-02 06:06:23 -0600 asked a question get MoveIt! planning status

get MoveIt! planning status Hi, is it possible to get some feedback from MoveIt! using Python? I am using the planning

2019-01-02 06:06:23 -0600 asked a question Change URDF link position

Change URDF link position Hi, I have a lab setup in urdf, which I am using in RViz / MoveIt!. Based on the real world c

2019-01-02 05:33:01 -0600 received badge  Autobiographer