fix name error.

This commit is contained in:
Zachary 2021-07-12 17:42:33 +08:00
parent 2b5bea1b20
commit 223c8077ac
8 changed files with 12 additions and 15 deletions

View file

@ -10,7 +10,6 @@
<arg name="rvizconfig" value="$(arg rvizconfig)" />
<arg name="gui" value="$(arg gui)" />
</include>
<!-- <node name="real_listener" pkg="mycobot_ros" type="listen_real.py" /> -->
<node name="opencv_camera" pkg="mycobot_280" type="opencv_camera" args="$(arg num)"/>
<node name="detect_marker" pkg="mycobot_280" type="detect_marker.py" />
<node name="following_marker" pkg="mycobot_280" type="following_marker.py" />

View file

@ -1,6 +1,6 @@
<launch>
<arg name="model" default="$(find mycobot_ros)/urdf/mycobot/mycobot_with_vision.urdf"/>
<arg name="rvizconfig" default="$(find mycobot_ros)/config/mycobot.rviz" />
<arg name="model" default="$(find mycobot_description)/urdf/mycobot/mycobot_with_vision.urdf"/>
<arg name="rvizconfig" default="$(find mycobot_280)/config/mycobot.rviz" />
<arg name="gui" default="true" />
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />

View file

@ -7,7 +7,7 @@ from sensor_msgs.msg import Image
import tf
from tf.broadcaster import TransformBroadcaster
import tf_conversions
from mycobot_ros.srv import GetCoords, SetCoords, GetAngles, SetAngles, GripperStatus
from mycobot_description.srv import GetCoords, SetCoords, GetAngles, SetAngles, GripperStatus
class ImageConverter:

View file

@ -4,7 +4,7 @@ from visualization_msgs.msg import Marker
import time
import random
from mycobot_ros.msg import MycobotSetAngles, MycobotSetCoords, MycobotPumpStatus
from mycobot_description.msg import MycobotSetAngles, MycobotSetCoords, MycobotPumpStatus
rospy.init_node("gipper_subscriber", anonymous=True)

View file

@ -6,7 +6,7 @@ import math
import rospy
from sensor_msgs.msg import JointState
from std_msgs.msg import Header
from mycobot_ros.srv import GetAngles
from mycobot_description.srv import GetAngles
def talker():

View file

@ -6,7 +6,7 @@ import math
import rospy
from sensor_msgs.msg import JointState
from std_msgs.msg import Header
from mycobot_ros.msg import MycobotAngles
from mycobot_description.msg import MycobotAngles
class Listener(object):

View file

@ -10,8 +10,6 @@ import time
import roslib
# roslib.load_manifest("mycobot_ros")
msg = """\
Mycobot Teleop Keyboard Controller

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0.2)
cmake_minimum_required(VERSION 2.8.3)
project(mycobot_description)
## Compile as C++11, supported in ROS Kinetic and newer