Comments (13)
@joshhting how's this coming along?
from rrt.
Slowly and steadily, it's mostly me being confused by how C++ works. I'm trying to make the project with flann, the k-d tree submodule that I'm using, and I'm currently sorting through errors in the linking stage because apparently some of the files in the flann submodule are C++ headers with C implementation files.
from rrt.
Ok, well let me know if you want help with anything. If you want to push your code to GitHub, I can take a look at the linker errors.
from rrt.
Ok I pushed some code to the flann branch on my fork. When I run make, I get an undefined reference error which I'm not sure how to solve.
from rrt.
Ok, I think I've got this working. See commit 5e53662 on the justin/flann-compile-fix branch.
The main issue was that the flann library wasn't getting compiled by CMake. CMake only builds the c++ files that you tell it to in the CMakeLists.txt file. You had an include_directories()
call in there, which makes flann's header files accessible to be #include'd, but the C++ files weren't being compiled. I added some cmake in there that compiles flann, then links it to our rrt library, so I think it's good to go.
from rrt.
I'm still having trouble compiling it, but now it's because it gets stuck at 14% trying to compile flann.cpp.o. Do you know what could cause make to freeze up here?
from rrt.
Do you get a compile error or does it just hang forever?
from rrt.
I just tried compiling again on my computer and it worked, although it took forever for it to compile flann.cpp.
from rrt.
Hmm, it just hangs forever for me when it's compiling flann.cpp. I guess I'll just leave it on for longer for now.
from rrt.
Just a heads up, theres something off about the flann submodule, It dosent seem to be in the history of the submodule on github. I think its a dangling commit?
error: no such remote ref 26fdfcff2e7f66ab7f78c0a6e806ee69f3d2460f
Fetched in submodule path 'flann', but it did not contain 26fdfcff2e7f66ab7f78c0a6e806ee69f3d2460f. Direct fetching of that commit failed.
from rrt.
Yeah I noticed that too, not sure what happened there... I just cd
'd into flann and pulled the latest master
branch before compiling
from rrt.
I just pushed an updated version of that submodule checkout to my branch. If you pull from justin/flann-compile-fix
, it should work.
from rrt.
Now I get the following error when I run make (I pulled from justin/flann-compile-fix
):
mkdir -p build
cd build && cmake .. -DCMAKE_INSTALL_PREFIX:PATH="" -GNinja && ninja
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/joshting/rrt/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/sbin/ninja" "cmTryCompileExec4211792669"
log: reading configuration file: cmTryCompileExec4211792669
die: error: unable to read configuration file
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/home/joshting/rrt/build/CMakeFiles/CMakeOutput.log".
See also "/home/joshting/rrt/build/CMakeFiles/CMakeError.log".
make: *** [all] Error 1
from rrt.
Related Issues (20)
- RRT Documentation + Doc Generation HOT 1
- Memory leak in Tree destructor HOT 5
- Change type of _nodes from std::vector<Node<T>*> to std::vector<Node<T>>
- Make a dark theme for the rrt visualizer
- Path can go through obstacle corners HOT 2
- Goal Bias should be implemented by modifying random pool instead of going directly towards goal
- RRT Optimization -- Straight Path Planning HOT 6
- Main.qml not found on ubuntu 16.04 HOT 3
- Benchmark rrt with google/benchmark HOT 4
- Preset obstacle configurations for the viewer
- Convert floats to doubles
- CMU Link in Readme returns 404 HOT 2
- BiRRT does not check for valid transitions when trying to connect the two trees
- rrt-viewer crashes if the tree start points are moved before a step is taken HOT 1
- Repeatable experiments HOT 5
- Running RRT without the GUI HOT 6
- Creating obstacles programatically HOT 9
- RRT time and distance HOT 9
- Modifying your open code HOT 5
- Are there any papers about this Bi-RRT? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rrt.