#!/usr/bin/env python

import rospy
import time
from std_msgs.msg import Bool
from std_msgs.msg import Int32
import rosservice

def service(msg):
    rosservice.call_service('/global_localization',True)
    rosservice.call_service('/joint1_controller/torque_enable',True)

if __name__ == '__main__':
    rospy.init_node('subscriber_node')
    rospy.Subscriber("/X",Int32,callback_receive)

 rospy.spin()
