Comments (13)
One option might be to use the following option to ExternalProject
:
If UPDATE_DISCONNECTED is set, the update step is not executed automatically when building the
main target. The update step can still be added as a step target and called manually. This is
useful if you want to allow to build the project when you are disconnected from the network (you
might still need the network for the download step). This is disabled by default. The directory
property EP_UPDATE_DISCONNECTED can be used to change the default value for all the external
projects in the current directory and its subdirectories.
https://cmake.org/cmake/help/v3.2/module/ExternalProject.html
from apriltags.
This is only a valid option with Cmake 3.2 or later. People using indigo for example cannot use this option. I would argue therefore that this is still an issue. There is no real reason Apriltags users should need internet to build.
from apriltags.
This is indeed a problem for me since sometimes I do tests in the field without internet access. Any idea how to fix this easily?
from apriltags.
I ended up doing a quick and dirty hack to catkinize https://github.com/swatbotics/apriltags-cpp and put it as a dependency of this repo. I doubt this is the direction you guys seem to be aiming for though.
from apriltags.
Actually, in discussions with @mkoval, we concluded that catkin-izing the apriltags upstream library is probably The Right Thing for this case.
@andre-nguyen can you make a PR for the catkinization over at https://github.com/swatbotics/apriltags-cpp ?
@ClintLiddick, if you and @mkoval can help check it over and give it the OK, I'll merge it up there. Then we can change this package to simply use CMake to FindApriltags()
, and change the directions to have people check out both packages together.
This may be useful as a step towards #19 anyway.
from apriltags.
This sounds like a great plan to me.
from apriltags.
I agree with @psigen that The Right Thing is to build the upstream library as a separate package. All we need to do is modify the upstream repository to follow REP-136 by:
- adding a
package.xml
file with<build_type>cmake</build_type>
- adding an
install(FILES)
rule for thepackage.xml
file - using
configure_package_config_file()
to generate aApriltagsConfig.cmake
file
You can see an example of this in Aikido's package.xml
and CMakeLists.txt
files.
Once this is done, this package can depend on Apriltags using find_package(Apriltags)
. The two packages may be built in the same workspace using catkin_make_isolated
or catkin build
.
from apriltags.
I see.
This isn't quite how I did it here swatbotics/apriltags-cpp#8 but your method seems cleaner. I'll leave it up for anyone who just want's to have the quick fix.
from apriltags.
Any updates on this?
from apriltags.
Not at the moment, I think everyone's just been pretty busy recently.
from apriltags.
Excuse me .I'm a newbie.
I don't know how to use this package ,even I could build it ,run the launch file successful...
When I run the apriltags.launch ,it seem like doing nothing?
Is that I should run some node to make my camera active and publish the image imformation to topic?
If is that , which package I could use?
Thanks a lot
from apriltags.
@Asukamax: It's normally useful to create a new issue for different topics, so I've created one here for you #23. Feel free to post followup questions there.
from apriltags.
Fixed in #25
from apriltags.
Related Issues (20)
- does not support 36h10 HOT 1
- Remove manifest.xml file
- Unused 'tf_frame' parameter HOT 2
- Break out messages into their own package
- April Tags Runs Constantly, Using Much CPU HOT 4
- Detects spurious "phantom" tags HOT 1
- Evaluate Apriltags library implementations HOT 4
- Compilation on 14.04 has problems HOT 3
- Lack of Nodelet Support HOT 1
- CMakeLists.txt file modification HOT 1
- Explanation of how to use `apriltags` for beginners. HOT 5
- Problems with ROS Kinetic and OpenCV3 HOT 11
- Is there a way to test a video rather than a live stream off a camera? HOT 1
- image_pipeline: issue with the decimation
- Exclude the github download HOT 4
- Unable to load msg HOT 2
- Use optical center from camera_info HOT 2
- AprilTags crashes everytime it detects a tag HOT 1
- CMake warning on compilation on Ubuntu 14.04
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 apriltags.