GithubHelp home page GithubHelp logo

darp's People

Contributors

0x000ehx avatar alice-st avatar athakapo avatar soc12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

darp's Issues

Python DARP algorithm needs fixing

Hey there, thanks a lot for your python version of the DARP (java) project. It's very helpful for me and my master thesis.
The DARP algorithm had a problem which wouldn't let it find a optimal result, so I had a good look into your code and found the culpit. I want to share my work with you, so see my PullRequest [deleted] for the fix.

Start location

Hello, from my understanding, when configuring the graph, you take 2m x 2m as the dimensions where m = {1,2,3...}, which makes sense. However, with that in mind, how do you define the starting point? For example, if 0,0 is the starting point, you technically have 4 grids to decide? Is there anywhere in the code that I can change/update such feature?

Possible mistake in documentation

The obstacle position argument seems to be 0 indexed i.e. (row=0, column=0 --> cell = 0). However in the "Usgae" section of the Readme file the documentation mentions it as (row=0, column=0 --> cell = 1).

Dependencies don't match

When installing venv using instructions, I get the error message:

ERROR: No matching distribution found for numba==0.54.1
I'removed version specification for numba. Then:

The conflict is caused by:
    The user requested numpy==1.20
    opencv-python 4.5.4.60 depends on numpy>=1.21.2

I removed version specification for numpy. Now it works.

So, installation is successful when you change Dependencies.sh into:

if [ "$#" -ne 1 ]; then
  echo "Give only one argument, the name of the virtual environment to create"
  exit
fi

python3 -m venv $1

source $1/bin/activate

pip install \
	numpy\
	opencv-python==4.5.4.60 \
	pygame==2.1.0 \
	scipy==1.7.3 \
	jupyter==1.0.0 \
  numba\
  nose==1.3.7\
  parameterized==0.8.1\
  sklearn \
  Pillow

I'm on Ubuntu 22.04 LTS

Iteration reset necessary

Olivier here,

You will want to add an "iteration =0" at this spot, in order for the subsequent loops (when self.MaxIter gets divided by 2) to actually take place, and not simply to be skipped.

DARP/darp.py

Line 224 in c2d90a5

self.BWlist matrix generation inside assign methode is probably useless?

Hey there, while browsing through the code and inserting my own runtime improvements I realized the self.BWlist matrix inside the assign methode (with numba njit now a function) will always get generated but never used in the main update loop.
At the end of the update loops the self.getBinaryRobotRegions() methode generates the self.BinaryRobotRegions matrix, which will be used for the pathfinding later... so you get the robot segments (in a binary way) in a n-dimensional array there.
The BWList generation is useless in my point of view, cause the algorithm never uses the in-between-steps for anything.
You could remove self.BWlist or do you have reasons to keep it?

Have a nice day :)

Missing license

This work looks very interesting! Can you specify the license under which this repository is shared?

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.