Giter Site home page Giter Site logo

pathplanningastar's People

Contributors

sanchithaseshadri 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

Watchers

 avatar  avatar

pathplanningastar's Issues

IndexError: list assignment index out of range

/usr/bin/python2.7 /home/redhwan/1/PathPlanningAstar-master/astar.py
building map....
Traceback (most recent call last):
File "/home/redhwan/1/PathPlanningAstar-master/astar.py", line 133, in
planner.plan()
File "/home/redhwan/1/PathPlanningAstar-master/astar.py", line 32, in plan
final = a_star(self.start, self.goal, self.map)
File "/home/redhwan/1/PathPlanningAstar-master/astar.py", line 86, in a_star
if not end.is_valid(grid_map):
File "/home/redhwan/1/PathPlanningAstar-master/node.py", line 65, in is_valid
goal_pixel = world_to_pixel((self.x, self.y), (608, 1280))
File "/home/redhwan/1/PathPlanningAstar-master/transformations.py", line 12, in world_to_pixel
pixel_points[0] = int(max((world_x / MAP_WIDTH) * img_w, 0))
IndexError: list assignment index out of range
map built. planner initialized

Process finished with exit code 1

hello,I need you some help ,thanks.

It doesn't continue ,when run this program to this progress. Why??? Can you give me some help? Thanks .

Constructing path..
path:
('x:', -12.2, ' y:', 12.0)
('x:', -12.399999999999999, ' y:', 12.0)
('x:', -12.599999999999998, ' y:', 12.0)
('x:', -12.799999999999997, ' y:', 12.0)
('x:', -12.999999999999996, ' y:', 12.0)
('x:', -13.199999999999996, ' y:', 12.0)
('x:', -13.399999999999995, ' y:', 12.0)
('x:', -13.599999999999994, ' y:', 12.0)
('x:', -13.799999999999994, ' y:', 12.0)
('x:', -13.999999999999993, ' y:', 12.0)
('x:', -14.199999999999992, ' y:', 12.0)
('x:', -14.399999999999991, ' y:', 12.0)
('x:', -14.59999999999999, ' y:', 12.0)
('x:', -14.79999999999999, ' y:', 12.0)
('x:', -14.99999999999999, ' y:', 12.0)
('x:', -15.0, ' y:', 12.0)
[INFO] [1563850192.129107]: Position [-0.0, -0.0] has been achieved.
[INFO] [1563850192.129591]: Position [0.1999999999999993, -0.0] has been achieved.

where is the "transformations"?

Thanks a lot for the code you uploaded! Recently, I am learning the implement of A* algorithm on ROS. But the code occured an error. where is the "transformations" file or library? I need the help from you! Thank you!

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.