marcelinomalmeidan / publishairsimimgs Goto Github PK
View Code? Open in Web Editor NEWPublish Images from Airsim into ROS
License: MIT License
Publish Images from Airsim into ROS
License: MIT License
Hi,
I get the following error while building AirLib:
**CMake Error at MavLinkCom/CMakeLists.txt:56 (add_library):
Cannot find source file:
/home/subodh/AirSim/MavLinkCom/common_utils/Utils.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: Cannot determine link language for target "MavLinkCom".
CMake Error: CMake can not determine linker language for target: MavLinkCom**
Any inputs on how to fix this?
Is it possible to publish different cameras than the current ones? I have defined my own cameras within the airsim settings file with different names than the standard drone ones (also different FOV, resolutions etc.). But I don't seem to find the part in the code where the names of the cameras are defined and where they images are gahtered from AirSim.
Thank you for your help,
Chris
Hello, marcelinomalmeidan.
I got an error when I catkin_make the project.
~/catkin_ws/src/publishAirsimImgs/src/imgPublisher.cpp:19:48: fatal error: profile_manager/profiling_data_srv.h: No file or contens. compilation terminated. publishAirsimImgs/CMakeFiles/airsim_imgPublisher.dir/build.make:62: recipe for target 'publishAirsimImgs/CMakeFiles/airsim_imgPublisher.dir/src/imgPublisher.cpp.o' failed
I guess some package absent in my ubuntu environment. Can you help me to solve the problem? And what packages should I install before compile the "publishAirsimImgs"?
Waiting for you answer! Thanks a lot.
The Airsim library is written for clang with libc++. Trying to use the library with the ROS project as it is with the default compiler gives errors like
AirSim/AirLib/include/common/VectorMath.hpp:236:22: error: ‘asinf’ is not a member of ‘std’
AirSim/AirLib/include/common/VectorMath.hpp:241:20: error: ‘atan2f’ is not a member of ‘std’
Changing the compiler of the ROS project to clang/libc++ gives errors like
publishAirsimImgs/src/imgPublisher.cpp:(.text+0x369): undefined reference to `ros::param::get(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double&)'
These errors are probably because ROS hasn't been built using clang; and g++ and clang aren't compatible.
Did you get these errors by any chance?
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.