CII-BIRDS / ardupilot_gazebo

GNU General Public License v3.0
0 stars 0 forks source link

EXCEPTION: Couldn't Find Child Link[kinect_ros::base_link] #2

Open cnpcshangbo opened 3 years ago

cnpcshangbo commented 3 years ago

Donny, Thank you for providing this error message.

[Err] [Joint.cc:297] EXCEPTION: Couldn't Find Child Link[kinect_ros::base_link]
[Err] [Model.cc:272] LoadJoint Failed

Did this message appear in drone project or ground robot project? Could you please provide more information on how to reproduce this issue? https://github.com/stevemao/github-issue-templates/blob/master/simple/ISSUE_TEMPLATE.md

donnybadamo commented 3 years ago

Hi Bo,

In hopes of being able to attach the kinect to the quadcopter, I changed the joint in the iris_with_ardupilot model.sdf file (line 13) to the following:

iris::base_link kinect_ros::base_link 0 0 0 0 1 true

I also use a shell executable to launch all processes, this did not cause the error, but has been beneficial to run everything and ensure that there are no issues with previous processes.

z#!/bin/bash sudo killall rosmaster sudo killall gzserver sudo killall gzclient roscore & gazebo -s --verbose ~/ardupilot_gazebo/worlds/bridge.world & rosrun rviz rviz

cnpcshangbo commented 3 years ago

@donnybadamo I think you have tried some simple robot with two wheels in gazebo before. what was the result? was that successful? Did you find some configuration files that we can learn from in the simple wheel robot? Thanks.

donnybadamo commented 3 years ago

@cnpcshangbo I have but I believe the pdf that Dr. Li shared will be able to work, I simply need more time to work with it. [Gazebo simulation] How to add binocular cameras to drones in gazebo.pdf