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

AnandGeorge's profile - activity

2022-12-02 07:34:57 -0500 received badge  Famous Question (source)
2022-12-02 07:34:57 -0500 received badge  Notable Question (source)
2022-02-22 14:45:14 -0500 received badge  Famous Question (source)
2021-09-02 04:22:33 -0500 received badge  Notable Question (source)
2021-07-04 04:45:03 -0500 received badge  Popular Question (source)
2021-04-23 16:15:53 -0500 received badge  Popular Question (source)
2021-04-21 03:55:35 -0500 asked a question Apply software binning for camera images

Apply software binning for camera images Hey, I am trying to apply binning to the images I get from the camera. The cam

2021-03-31 14:48:27 -0500 commented question How to get image acquisition time from the camera

Thanks for clarifying!

2021-03-31 02:10:34 -0500 asked a question How to get image acquisition time from the camera

How to get image acquisition time from the camera Hey, I would like to know if it is possible to get the image acquisit

2020-05-04 03:41:10 -0500 received badge  Famous Question (source)
2020-02-03 10:45:24 -0500 received badge  Teacher (source)
2020-02-03 10:45:24 -0500 received badge  Self-Learner (source)
2020-01-31 15:27:40 -0500 received badge  Notable Question (source)
2020-01-31 10:08:42 -0500 marked best answer KDL parser: URDF parsing issue

Hey,

This question seems a bit obvious/easy but I am not able to get the KDL parser working with URDF file for making a KDL tree. I am following this tutorial, section 2.1 - KDL parser: From a file. I am not able to pass the correct filename in the function kdl_parser::treeFromFile("filename", tree). I tried with the model urdf name, the relative path to that file, the absolute path; all of them gives the same error while running - Error document empty. Can anyone specify how to pass the URDF file to the function?

ROS: Melodic

Edit:
As mentioned by @pmuthu2s in the comment, I added below line in the launch file.

<param name="robot_description" textfile="$(find exercise2)/model/robots/sim.urdf"/>

Also the code for parsing looks like this:

KDL::Tree lumi_tree;
std::string lumi_robot;
node.param("robot_description", lumi_robot, std::string());
if (!kdl_parser::treeFromFile(lumi_robot, lumi_tree)){
    ROS_ERROR("Failed to construct kdl tree");
    return false;
}

Still getting the same error. Probably I am doing something wrong here. Anyone know how to fix this?

Regards,
Anand

2020-01-31 08:37:00 -0500 edited answer KDL parser: URDF parsing issue

As mentioned in the question, I was trying to get the KDL tree of the robot by loading the URDF using treeFromFile() fun

2020-01-31 08:17:21 -0500 edited answer KDL parser: URDF parsing issue

As mentioned in the question, I was trying to get the KDL tree of the robot by loading the URDF using treeFromFile() fun

2020-01-31 08:17:03 -0500 edited answer KDL parser: URDF parsing issue

As mentioned in the question, I was trying to get the KDL tree of the robot by loading the URDF using treeFromFile() fun

2020-01-31 08:12:42 -0500 edited answer KDL parser: URDF parsing issue

As mentioned in the question, I was trying to get the KDL tree of the robot by loading the URDF using treeFromFile() fun

2020-01-31 08:11:28 -0500 answered a question KDL parser: URDF parsing issue

As mentioned in the question, I was trying to get the KDL tree of the robot by loading the URDF using treeFromFile() fun

2020-01-31 08:11:28 -0500 received badge  Rapid Responder (source)
2020-01-31 05:45:09 -0500 received badge  Popular Question (source)
2020-01-31 05:39:37 -0500 commented question KDL parser: URDF parsing issue

I changed the it to /robot_description as node.param("/robot_description", lumi_robot, std::string());. Now lumi_robot

2020-01-31 05:39:21 -0500 commented question KDL parser: URDF parsing issue

I changed the it to /robot_description as node.param("robot_description", lumi_robot, std::string());. Now lumi_robot a

2020-01-31 05:30:55 -0500 commented question KDL parser: URDF parsing issue

@gvdhoorn - I can see the urdf with that cat command. But the problem here is lumi_robot does not have any value. Thanks

2020-01-31 05:15:14 -0500 commented question KDL parser: URDF parsing issue

@gvdhoorn - I can see the urdf with that cat command. But the problem here is lumi_robot does not have any value. Thanks

2020-01-31 05:14:58 -0500 commented question KDL parser: URDF parsing issue

@gvdhoom - I can see the urdf with that cat command. But the problem here is lumi_robot does not have any value. Thanks

2020-01-31 04:04:55 -0500 edited question KDL parser: URDF parsing issue

KDL parser: URDF parsing issue Hey, This question seems a bit obvious/easy but I am not able to get the KDL parser work

2020-01-31 04:04:42 -0500 commented question KDL parser: URDF parsing issue

Added some more details in the question. Still the same error.

2020-01-31 04:03:33 -0500 edited question KDL parser: URDF parsing issue

KDL parser: URDF parsing issue Hey, This question seems a bit obvious/easy but I am not able to get the KDL parser work

2020-01-30 17:44:13 -0500 edited question KDL parser: URDF parsing issue

KDL parser usage Hey, This question seems a bit obvious/easy but I am not able to get the KDL parser working with URDF

2020-01-30 17:44:13 -0500 received badge  Editor (source)
2020-01-30 17:26:44 -0500 asked a question KDL parser: URDF parsing issue

KDL parser usage Hey, This question seems a bit obvious/easy but I am not able to get the KDL parser working with URDF

2019-09-10 03:45:35 -0500 received badge  Student (source)
2018-05-24 00:20:17 -0500 marked best answer ROSLAUNCH ON MATLAB

Hello all,

I want to start a node using roslaunch on MATLAB. The node is defined on the remote system and I've initialized global node on MATLAB with ROS master on the remote system. How to accomplish this?

Thanks in advance!