tuw-robotics / tuw_marker_filter

Marker base slam
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

Unable to find uri #5

Open fengfanrop opened 6 years ago

fengfanrop commented 6 years ago

Hi Markus : When I ran the command 'roslaunch tuw_marker_slam slam_demo_gazebo.launch',I saw this problem in my teminal.Can you help me to solve it ? Thank you very much. Problems are as follows: Error [parser.cc:581] Unable to find uri[model://BchThin_0001]

0 0 -9.8 6e-06 2.3e-05 -4.2e-05 0.001 1 1000 0.4 0.4 0.4 1 0.7 0.7 0.7 1 1

[artag5-11] process has finished cleanly log file: /home/agc/.ros/log/a55af28c-245e-11e8-b05b-8056f2dc77c9/artag5-11*.log

maxbader commented 6 years ago

Are you using the tuw_gazebo pkg? https://github.com/tuw-robotics/tuw_gazebo

fengfanrop commented 6 years ago

And Matkus I am sorry to boder you again,after conpiling tuw_gazebo I find a new problem : /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘void gazebo::GazeboRosHumanReceiver::createHumansFnc()’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_humanreceiver.cpp:141:41: error: ‘class gazebo::physics::World’ has no member named ‘ModelByName’ physics::ModelPtr p = this->world->ModelByName(name); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘void gazebo::GazeboRosHumanReceiver::updateHumansFnc()’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp:219:52: error: ‘class gazebo::physics::Model’ has no member named ‘WorldPose’ const ignition::math::Pose3d &current = p->WorldPose(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘gazebo::physics::ModelPtr gazebo::GazeboRosHumanReceiver::getHuman(int)’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_humanreceiver.cpp:252:18: error: ‘class gazebo::physics::World’ has no member named ‘ModelByName’ return world->ModelByName(name); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘virtual void gazebo::GazeboRosJointStatePublisher::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:82:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’ last_updatetime = this->world_->SimTime(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:95:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’ last_updatetime = this->world_->SimTime(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘void gazebo::GazeboRosJointStatePublisher::OnUpdate(const gazebo::common::UpdateInfo&)’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:105:47: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’ common::Time currenttime = this->world->SimTime(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘void gazebo::GazeboRosJointStatePublisher::publishJointStates()’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:128:43: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’ jointstate.position[i] = joint->Position( 0 ); ^ [ 93%] Linking CXX shared library /home/agc/dev/tuw-slam/devel/lib/libtuw_gazebo_ros_utils.so tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/build.make:62: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/src/gazebo_ros_human_receiver.cpp.o' failed make[2]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/src/gazebo_ros_human_receiver.cpp.o] Error 1 CMakeFiles/Makefile2:11372: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/all' failed make[1]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/all] Error 2 make[1]: 正在等待未完成的任务.... [ 93%] Built target tuw_gazebo_ros_utils tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/build.make:62: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/src/gazebo_ros_joint_state_publisher.cpp.o' failed make[2]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/src/gazebo_ros_joint_state_publisher.cpp.o] Error 1 CMakeFiles/Makefile2:10918: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/all' failed make[1]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4" failed

maxbader commented 6 years ago

sorry at the moment I have not the recources to help you out.

2018-03-12 13:37 GMT+01:00 fengfanrop notifications@github.com:

Hi Markus I am a student in college an know few about ros and linux ,and my teacher has given me some pressure.And I can't even run the program.Can you set me the code that can run the program like the vedio in ' http://wiki.ros.org/tuw_marker_slam'?Thank you very much for your help.And my email is '547602832@qq.com'.If you don't want ,it's ok.Also thank you for answering my question.Wish you a happy day!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tuw-robotics/tuw_marker_filter/issues/5#issuecomment-372295382, or mute the thread https://github.com/notifications/unsubscribe-auth/AAre-CwtMjqQKH2k1gTZ8PSH887HR5ytks5tdmwlgaJpZM4SlQ5j .

-- Dipl.-Ing. Dr.tech. Markus Bader

TECHNISCHE UNIVERSITÄT WIEN Computer Engineering, Automation Systems Treitlstrasse 1 | 4. Floor | E191-03 | 1040 Wien DVR-Nummer: 0005886 Tel. +43 (0)1 58801 - 18305 Skype: markus.bader.at.work Fax. +43 (0)1 58801 - 18391 markus.bader@tuwien.ac.at | www.auto.tuwien.ac.at | http://info.tuwien.ac.at/mbader/

fengfanrop commented 6 years ago

Hi Markus can you help me to solve this problem in detail? When I compile tuw_gazebo_plugins,I met this: slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_humanreceiver.cpp:141:41: error: ‘class gazebo::physics::World’ has no member named ‘ModelByName’ physics::ModelPtr p = this->world->ModelByName(name); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘void gazebo::GazeboRosHumanReceiver::updateHumansFnc()’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp:219:52: error: ‘class gazebo::physics::Model’ has no member named ‘WorldPose’ const ignition::math::Pose3d &current = p->WorldPose(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘gazebo::physics::ModelPtr gazebo::GazeboRosHumanReceiver::getHuman(int)’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_humanreceiver.cpp:252:18: error: ‘class gazebo::physics::World’ has no member named ‘ModelByName’ return world->ModelByName(name); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘virtual void gazebo::GazeboRosJointStatePublisher::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:82:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’ last_updatetime = this->world_->SimTime(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:95:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’ last_updatetime = this->world_->SimTime(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘void gazebo::GazeboRosJointStatePublisher::OnUpdate(const gazebo::common::UpdateInfo&)’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:105:47: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’ common::Time currenttime = this->world->SimTime(); ^ /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘void gazebo::GazeboRosJointStatePublisher::publishJointStates()’: /home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:128:43: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’ jointstate.position[i] = joint->Position( 0 ); ^ [ 93%] Linking CXX shared library /home/agc/dev/tuw-slam/devel/lib/libtuw_gazebo_ros_utils.so tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/build.make:62: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/src/gazebo_ros_human_receiver.cpp.o' failed make[2]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/src/gazebo_ros_human_receiver.cpp.o] Error 1 CMakeFiles/Makefile2:11372: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/all' failed make[1]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/all] Error 2 make[1]: 正在等待未完成的任务.... [ 93%] Built target tuw_gazebo_ros_utils tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/build.make:62: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/src/gazebo_ros_joint_state_publisher.cpp.o' failed make[2]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/src/gazebo_ros_joint_state_publisher.cpp.o] Error 1 CMakeFiles/Makefile2:10918: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/all' failed make[1]: [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4" failed

skohlbr commented 5 years ago

Original issue (unable to find model URI) is fixed by https://github.com/tuw-robotics/tuw_gazebo/pull/2.