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

start vrpn client and listen to vrpn server with ros

asked 2014-04-02 04:55:07 -0500

Dante gravatar image

updated 2016-10-24 08:37:12 -0500

ngrennan gravatar image

hi there,

I find the ros_vrpn_client on the wiki page. I want to start the ros vrpn client, but i get the errror

 /home/dante/workspace/ros/groovy/src/ngadh/src/rosclient.cpp:10:37: serious defect: LinearMath/btQuaternion.h: file or directory  dont found
compile completed.

I download the vrpn 07.31. I follow the instructions. Someone an idea?

edit retag flag offensive close merge delete

Comments

Please edit your question to contain relevant parts of the code you are trying to compile. Also include the commands your are using to compile and the full output including the error message you are getting.

demmeln gravatar image demmeln  ( 2014-04-02 04:59:03 -0500 )edit

(without adaptation)

demmeln gravatar image demmeln  ( 2014-04-03 04:53:43 -0500 )edit

If you want help, you will need to provide the **full** output including the commands you executed. Also, include the exact source of where you got your code from. Notice that the wiki page on `ros_vrpn_client` refers to fuerte, while you are using the newer groovy. So maybe it does not work at all.

demmeln gravatar image demmeln  ( 2014-04-03 04:53:43 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-04-03 15:50:04 -0500

bullet is not longer used since groovy+, use this script to convert your file.

edit flag offensive delete link more
0

answered 2014-04-03 22:55:26 -0500

Dante gravatar image

updated 2014-04-04 02:51:46 -0500

thanks for the answers. Now, i can start the ros vrpn client. How i can give out the Information about only one RIgid Body? With that print i give out the Information about every rigid body?

printf("sensor %d:\n pos (%5.2f, %5.2f, %5.2f); quat (%5.2f, %5.2f, %5.2f, %5.2f)\n",

        t.sensor,

        t.pos[0], t.pos[1], t.pos[2],

        t.quat[0], t.quat[1], t.quat[2], t.quat[3]);

i think it should be something like that

if (t.sensor == 8 ){

r1x = t.pos[0];
r2x = t.pos[1];
r3x = t.pos [2]; 
    printf("       pos (r1x, r2x, r3x)",

        r1x ,  r2x,  r3x,
        );

}
edit flag offensive delete link more

Comments

This is not a chat, please don't post answers that don't answer your question.

demmeln gravatar image demmeln  ( 2014-04-04 03:56:32 -0500 )edit

Question Tools

Stats

Asked: 2014-04-02 04:55:07 -0500

Seen: 591 times

Last updated: Apr 04 '14