Code Monkey home page Code Monkey logo

cyber-rt's People

Contributors

dingjiangang avatar zhxt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cyber-rt's Issues

cyberRT build

why should install crberRT into /usr/local ? Is it necessary?

Failed to run example

I have completed the first two steps,

  1. prepare dependencies
  2. build dependencies

but there is a problem when I try the 3rd step.

# 3. build Cyber RT Lite
cmake ..  # where to use it ?
scripts/genprotosrc.sh  # execute it in root dir?
make # run in build? there is no change...

I can't find execute file in example folder so I can't test step four. I'm not sure if I've compiled Cyber-RT.
Can I have some tips or is there a more detailed explanation?
Thank you very much.

build dependencies error

Error:
CyberRT/cyber-rt-master/build/external/src/fastrtps/include/fastrtps/rtps/writer/RTPSWriter.h:66:54: error: ‘function’ in namespace ‘std’ does not name a template type
RTPS_DllAPI CacheChange_t* new_change(const std::function<uint32_t()>& dataCdrSerializedSize,
^~~~~~~~
2021-07-21_15-42

Solution:
1.I just go to the build folder and open <build/external/src/fastrtps/include/fastrtps/rtps/writer/RTPSWriter.h>.
2.Add #include in the head file.
3.make

I don't know how to fully fixed it. If I delete the build folder, I need to add this manually.

after compile depend lib, compile project failed

cyber-rt/build$ cmake ..
-- CMake Prefix Path: /home/nvidia/Desktop/cyber-rt/build/local_depends
-- CMake Module Path: /home/nvidia/Desktop/cyber-rt/cmake;
-- Glog inc: /home/nvidia/Desktop/cyber-rt/build/local_depends/include lib: /home/nvidia/Desktop/cyber-rt/build/local_depends/lib/libglog.so
CMake Error at cmake/FindGlog.cmake:18 (target_link_libraries):
  Cannot specify link libraries for target "Glog::glog" which is not built by
  this project.
Call Stack (most recent call first):
  cmake/external/glog-0.3.5.cmake:4 (find_package)
  CMakeLists.txt:28 (include)


-- Configuring incomplete, errors occurred!
See also "/home/nvidia/Desktop/cyber-rt/build/CMakeFiles/CMakeOutput.log".
See also "/home/nvidia/Desktop/cyber-rt/build/CMakeFiles/CMakeError.log".

error in

if(Glog_FOUND)
    if (NOT TARGET Glog::glog)
        add_library(Glog::glog INTERFACE IMPORTED)
        target_link_libraries(Glog::glog INTERFACE ${Glog_LIBRARY})
        target_include_directories(Glog::glog INTERFACE ${Glog_INCLUDE_DIR})
    endif()
endif()

有没有遇到例子跑不通

我自己也基于cmake编译了cyber框架,目前发现自带的common_component_example跑不通,发布的消息,订阅者收不到,查下来,是因为cyber使用fast-rtps进行发布订阅时,基于protobuf对changemsg先进行了序列化操作,序列化后的数据包含了'\0',而fast-rtps不支持数据域中含0数据的传输,导致0以后的数据都被抛弃了,你这边工程有这个问题吗。

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.