Giter Club home page Giter Club logo

Comments (12)

NaglaShubham avatar NaglaShubham commented on August 11, 2024 1

Thank-you for replying @Yadunund ,

We actually are using the files, in a similar manner that you have mentioned above.

I also am having the same doubt. That it should be working, with use_sim_time set to false.

Yes, i can share the contents of office_demos.launch.xml. But, i don't think we made any changes to the file itself
office.ODT
You can find the contents of the office.launch.xml in the above attached file.

from rmf_demos.

Muhammad-asem avatar Muhammad-asem commented on August 11, 2024

try to change the <arg name="use_sim_time" default="false"/> from false to true <arg name="use_sim_time" default="true"/> in the /opt/ros/foxy/share/rmf_demos/office.launch.xml file.

from rmf_demos.

ganatsh avatar ganatsh commented on August 11, 2024

Thank You, Asem it worked for me.

from rmf_demos.

Yadunund avatar Yadunund commented on August 11, 2024

Hi @ganatsh ,

The launch files in rmf_demos_gz are supersets of those in rmf_demos. The latter ones can be thought of as launch files for testing with real robots while the ones in rmf_demos_gz launch up a gazebo environment for testing in simulation. So you Steps to Reproduce is not a valid workflow. You would either launch from rmf_demos or rmf_demos_gz depending on whether you're testing in the real world or simulation, but not both.

Having said that, it is strange that you were not able to visualize the map and traffic lanes in RViz after running ros2 launch rmf_demos office_demo.launch.xml. Even with use_sim_time set to false, you should be able to see these in RViz. Are you able to share the contents on your office_demos.launch.xml file?

from rmf_demos.

Yadunund avatar Yadunund commented on August 11, 2024

Thanks for sharing. There file looks okay. There was a similar discussion here. Looks like the issue was DDS related for another user. Perhaps you could try switching DDS implementations as suggested to see if that solves the problem.

from rmf_demos.

HappySamuel avatar HappySamuel commented on August 11, 2024

Hi

If i am using the system on real robot, i shall set use_sim_time to false, right? But i couldn't see anything on RVIZ, except /fleet_markers. Any idea how to have others (/floorplan, /map_markers, /schedule_markers, /building_systems_markers) to be seen?

Best,
Samuel

from rmf_demos.

Yadunund avatar Yadunund commented on August 11, 2024

@HappySamuel ,

Did you make sure to set use_sim_time to false for all the nodes that you launched?

from rmf_demos.

HappySamuel avatar HappySamuel commented on August 11, 2024

Hi @Yadunund

Yes all my nodes are having use_sim_time with false. What else shall i check?

Best,
Samuel

from rmf_demos.

Yadunund avatar Yadunund commented on August 11, 2024

Does the Map Name in your SchedulePanel in RViz match the level name in the navgraph exported from rmf_traffic_editor? For example, if you defined a level named "Level1" in traffic editor with navigation lanes for your robot and you're feeding in this navigation graph to your fleet adapter, then the Map Name textbox should be set to this value.

from rmf_demos.

HappySamuel avatar HappySamuel commented on August 11, 2024

Hi @Yadunund

Yes, map name in SchedulePanel on RVIZ match the level name in navgraph exported from rmf_traffic_editor.

Best,
Samuel

from rmf_demos.

Yadunund avatar Yadunund commented on August 11, 2024

@HappySamuel

Could you share your system/workspace configuration? Refer to the "Required Information" in the original description. Describe how you built the workspace and launched RMF.

Also attach the entire terminal output in a gist or txt file

from rmf_demos.

maurya3 avatar maurya3 commented on August 11, 2024

Hi Guys,
I resolved this error by downgrading int numpy version below 1.16. There is some error in numpy.
"AttributeError: module 'numpy' has no attribute 'asscalar'"
because of
Deprecated since version 1.16: Deprecated, use numpy.ndarray.item() instead.

from rmf_demos.

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.