Giter Site home page Giter Site logo

theta_star's People

Contributors

palmieri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

theta_star's Issues

Missing instructions on few functions and variables

I was trying to implement Theta* planner for ROS2 using this code. While I was creating my own node class from the template I noticed there was few functions and variables that were used in the code but they didn't have any comments about what they were used for and they were completely missing from the template class.

The missing functions and variables were:
m_UserState.setOrientation()
As in:

245. if( !(n->m_UserState.lineofsight(&(n->parent->m_UserState),&((m_Goal)->m_UserState))) )
246. {
247.
248
249.     (m_Goal)->m_UserState.setOrientation(&(n->parent->m_UserState));
250. }	

m_UserState.steer
As in:

252. std::cout<<"Setting Goal orientation done"<<std::endl;
253. m_Goal->m_UserState.steer=n->m_UserState.steer;

m_UserState.costs
m_UserState.getLineCost();
As in:

256. m_Goal->m_UserState.costs=m_Goal->m_UserState.getLineCost();

m_UserState.GetCostTrajFromParent
As in:

425. tcost=n->parent->g+n->parent->m_UserState.GetCostTrajFromParent((n->parent->m_UserState),(successor)->m_UserState );

and m_UserState.GetCostTraj()
As in:

494. newg = n->g + n->m_UserState.GetCostTraj( (successor)->m_UserState );

How should I implement these functions and what does the steer and costs variables do?

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.