Giter VIP home page Giter VIP logo

robotarm_simulator's People

Contributors

takayan660 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

humz157643701

robotarm_simulator's Issues

choreonoid 1.6 make error

以下のサイトを参考にトルク指令を実装したところ、以下のエラーが出てきた
以下のエラーは#include <cnoid/MultiValueSeq>のみを追加した場合

参考:
RTコンポーネントにおけるトルク指令の入力

[taka]:RobotArmAngleControlRTC master $ make
-- OpenRTMConfig.cmake found.
-- Configrued by configuration mode.
-- OpenRTM-aist configuration done
-- OpenRTM configuration Found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC
[  0%] Built target ALL_IDL_TGT
[ 33%] Building CXX object src/CMakeFiles/RobotArmAngleControlRTC.dir/RobotArmAngleControlRTC.cpp.o
In file included from /usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiSeq.h:9:0,
                 from /usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:9,
                 from /usr/local/include/choreonoid-1.6/cnoid/MultiValueSeq:1,
                 from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/include/RobotArmAngleControlRTC/RobotArmAngleControlRTC.h:16,
                 from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/src/RobotArmAngleControlRTC.cpp:10:
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:20:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
 typedef std::shared_ptr<AbstractSeq> AbstractSeqPtr;
         ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:32:13: error: ‘AbstractSeqPtr’ does not name a type
     virtual AbstractSeqPtr cloneSeq() const = 0;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:129:13: error: ‘AbstractSeqPtr’ does not name a type
     virtual AbstractSeqPtr cloneSeq() const = 0;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:145:13: error: ‘function’ in namespace ‘std’ does not name a type
     typedef std::function<void(const std::string& label, int index)> SetPartLabelFunction;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:146:52: error: ‘SetPartLabelFunction’ has not been declared
     bool readSeqPartLabels(const Mapping& archive, SetPartLabelFunction setPartLabel);
                                                    ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:150:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
 typedef std::shared_ptr<AbstractMultiSeq> AbstractMultiSeqPtr;
         ^
In file included from /usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:9:0,
                 from /usr/local/include/choreonoid-1.6/cnoid/MultiValueSeq:1,
                 from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/include/RobotArmAngleControlRTC/RobotArmAngleControlRTC.h:16,
                 from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/src/RobotArmAngleControlRTC.cpp:10:
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiSeq.h:27:13: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
     typedef std::shared_ptr< MultiSeqType > Ptr;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiSeq.h:72:13: error: ‘AbstractSeqPtr’ does not name a type
     virtual AbstractSeqPtr cloneSeq() const {
             ^
In file included from /usr/local/include/choreonoid-1.6/cnoid/MultiValueSeq:1:0,
                 from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/include/RobotArmAngleControlRTC/RobotArmAngleControlRTC.h:16,
                 from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/src/RobotArmAngleControlRTC.cpp:10:
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:19:13: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
     typedef std::shared_ptr<MultiValueSeq> Ptr;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:20:13: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
     typedef std::shared_ptr<const MultiValueSeq> ConstPtr;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:27:13: error: ‘AbstractSeqPtr’ does not name a type
     virtual AbstractSeqPtr cloneSeq() const;
             ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:37:9: error: ‘Ptr’ in ‘class cnoid::MultiValueSeq’ does not name a type
 typedef MultiValueSeq::Ptr MultiValueSeqPtr;        
         ^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:38:9: error: ‘ConstPtr’ in ‘class cnoid::MultiValueSeq’ does not name a type
 typedef MultiValueSeq::ConstPtr ConstMultiValueSeqPtr;
         ^
make[2]: *** [src/CMakeFiles/RobotArmAngleControlRTC.dir/RobotArmAngleControlRTC.cpp.o] エラー 1
make[1]: *** [src/CMakeFiles/RobotArmAngleControlRTC.dir/all] エラー 2
make: *** [all] エラー 2

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.