Giter Site home page Giter Site logo

Comments (7)

jadhm avatar jadhm commented on July 17, 2024

@geothan Hi, did you define the the id streaming of the rigidbody ? because what you see in the config yaml file of this package that there are 2 rgigbodies are defines the first one with the streaming id 1 and the other is 2 so please make sure that the rigigbody in motive has the streaming id of 1 or 2

image

from mocap_optitrack.

geothan avatar geothan commented on July 17, 2024

Hi @jadhm!

i think that i i've defined properly the streaming ID.

motive

I redownload and built the driver optitrack succesfully, making the below change:

Screenshot from 2021-03-24 12-38-50

I executed the following:

Screenshot from 2021-03-24 12-41-06

Could the specific driver not be compatibe with motive 2.2? Can i define server version? Generally, linux and windows computers see each other through ip ping. Windows PC is connected through Ethernet and Linux PC wirelessly in router.

from mocap_optitrack.

jadhm avatar jadhm commented on July 17, 2024

Hi @geothan
That's weird but it should work because I am also using motive 2.2.0 and the driver is compatible with it. could you please try to launch it using --screen so I can see the initialization logs
roslaunch mocap_optitrack mocap.launch --screen

and if you try rostopic list would you see the all the topics ?

from mocap_optitrack.

geothan avatar geothan commented on July 17, 2024

Hi @jadhm ,

Here is a screenshot of launch file execution:

Screenshot from 2021-03-24 17-03-15

The result of topics is the following:

Screenshot from 2021-03-24 17-10-05

The first time that i tried the above settings, topics of robot1 weren't visible only parameter_descriptions and parameter_updates topics. These topics are empty, is that normal?

Screenshot from 2021-03-24 17-21-28

Finally, when i run
roslaunch mocap_optitrack mocap.launch & rosrun rviz rviz

Shall i see my robot in rviz? Because i see an empty world.

Screenshot from 2021-03-24 17-25-35

from mocap_optitrack.

jadhm avatar jadhm commented on July 17, 2024

It seems it works just fine ! I see that you can read the topic /mocap_node/Robot_1/pose which is basically the position of the tracked object. So I don't think you have any problems and for visualizing the pose in RVIZ you should add the topic manually and also configure the Fixed frame.

from mocap_optitrack.

lixryjz avatar lixryjz commented on July 17, 2024

hi,yet I am very happy to see that, but i have down the fixed frame and add topic as you said in RVIZ,there is only a red line with an arrow.can you tell me how to do?i hope you can screenshot

from mocap_optitrack.

chennuo0125-HIT avatar chennuo0125-HIT commented on July 17, 2024

@geothan @lixryjz the problem has been solved ? i get same problem as follows:

[ WARN] [1679050884.023240442]: Could not get server version, using auto

and no more print

from mocap_optitrack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.