palmieri / theta_star Goto Github PK
View Code? Open in Web Editor NEWTheta Star implementation in C++
License: Other
Theta Star implementation in C++
License: Other
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.