mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
fix script error.
This commit is contained in:
parent
9fc5d9cf29
commit
b15aa9e332
4 changed files with 22 additions and 7 deletions
16
.gitignore
vendored
16
.gitignore
vendored
|
|
@ -1,5 +1,15 @@
|
|||
|
||||
.DS_Store
|
||||
|
||||
.vscode/
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
#.vscode
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
urdf.zip
|
||||
.DS_Store
|
||||
.vscode/settings.json
|
||||
.vscode/c_cpp_properties.json
|
||||
|
|
|
|||
|
|
@ -7,7 +7,13 @@ from sensor_msgs.msg import Image
|
|||
import tf
|
||||
from tf.broadcaster import TransformBroadcaster
|
||||
import tf_conversions
|
||||
from mycobot_description.srv import GetCoords, SetCoords, GetAngles, SetAngles, GripperStatus
|
||||
from mycobot_communication.srv import (
|
||||
GetCoords,
|
||||
SetCoords,
|
||||
GetAngles,
|
||||
SetAngles,
|
||||
GripperStatus,
|
||||
)
|
||||
|
||||
|
||||
class ImageConverter:
|
||||
|
|
|
|||
|
|
@ -2,9 +2,8 @@
|
|||
import rospy
|
||||
from visualization_msgs.msg import Marker
|
||||
import time
|
||||
import random
|
||||
|
||||
from mycobot_description.msg import MycobotSetAngles, MycobotSetCoords, MycobotPumpStatus
|
||||
from mycobot_communication.msg import MycobotSetAngles, MycobotSetCoords, MycobotPumpStatus
|
||||
|
||||
|
||||
rospy.init_node("gipper_subscriber", anonymous=True)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import math
|
|||
import rospy
|
||||
from sensor_msgs.msg import JointState
|
||||
from std_msgs.msg import Header
|
||||
from mycobot_description.msg import MycobotAngles
|
||||
from mycobot_communication.msg import MycobotAngles
|
||||
|
||||
|
||||
class Listener(object):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue