Code Monkey home page Code Monkey logo

crowd_simulation's People

Contributors

floodshao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

crowd_simulation's Issues

Increase radius of Crowd object for robots to detect

Hello @FloodShao ,
I am using crowd simulation with a nav2 robot to see how a robot behave when it detects the moving crowd.
Having added the object markers, i realized that, the crowd is considered as if an object of very small radius.
Even increasing 'r' in agent profile is not helping.
https://github.com/MengeCrowdSim/Menge/blob/master/doc/mengeDetails/sceneSpec.md#:~:text=r%3A%20in%20%25Menge%2C%20agents%20are%20largely%20modeled%20as%20circular%20disks.%20This%20is%20the%20radius%20of%20that%20disk.
Regards,

optimize the update strategy for each update iteration

The realtime factor is related to the menge simulation rate (the agent movement update rate, this step will also update the agent animation), which is able to set in the plugin parameter.
Under the same agent number (25 total)
So when the menge simulation rate is 0.1s, ign: around 100%, gazebo: 0.80.
when the menge simulation rate is 0.01s, ign: around 78%, gazebo: 0.69.
Under the simulation rate of 0.01s:
only 2 agents: ign: around 82%, gazebo: 92%.
So I was wandering why is that…. and found that.
the gazebo plugin is using Kong Peng’s original structure, where he uses a template class of a functions, so in this logic, the code only iterate the database once, and the ptr is stored in that template class, no need to search again.
in ign plugin I was written on the simplest logic, to search the database for each update iteration. I think this can be optimized.

Isolate the pose interface in the common interface using eigen

Currently in rmf project, the gazebo-9 is used which uses the data structure of ignition::math::v4, will the ignition-gazebo is expected to use the latest ignition::math::v6. Currently the two versions are sharing the same common interface.

Task:
isolate the ignition::math interface from crowd_simulation_common, and made modifications of related APIs.

Different update rate between gazebo plugin and ignition plugin

History problem.
The gazebo plugin is referencing the previous crowd simulation, as well as the update part.
The ignition plugin is a bit different from gazebo version. From the current simulation result, the ignition version should be more stable. Modify the gazebo version.

The refreshing models in ignition plugin

When applying the ignition plugin, every update iteration, the models are refreshed, looks like the world is twinkling...

Although no idea what's happening there.

Add actor initial position tag

In ignition, some actors set (0, 0, 0) at the waist, while some actors set (0, 0, 0) at the foot.
Add the actor initial position tag to set the original pose for actors

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.