Esempio n. 1
0
def publishTrajGoal(name, channel=''):

    msg = lcmdrc.behavior_command_t()
    msg.utime = getUtime()
    msg.command = name
    lcmWrapper.publish('EE_TRAJ_GOAL', msg)

    publishSystemStatus('sending EE traj goal: ' + name)
Esempio n. 2
0
def publishTrajGoal(name, channel=''):

    msg = lcmdrc.behavior_command_t()
    msg.utime = getUtime()
    msg.command = name
    lcmWrapper.publish('EE_TRAJ_GOAL', msg)

    publishSystemStatus('sending EE traj goal: ' + name)
Esempio n. 3
0
def publishTrajGoal(name, channel=""):

    import drc as lcmdrc

    msg = lcmdrc.behavior_command_t()
    msg.utime = getUtime()
    msg.command = name
    lcmWrapper.publish("EE_TRAJ_GOAL", msg)

    publishSystemStatus("sending EE traj goal: " + name)
Esempio n. 4
0
    def sendBehaviorCommand(self, behaviorName):

        msg = lcmdrc.behavior_command_t()
        msg.utime = getUtime()
        msg.command = behaviorName
        lcmUtils.publish('ATLAS_BEHAVIOR_COMMAND', msg)
Esempio n. 5
0
 def sendCommand(self, channel, **kwargs):
     msg = lcmdrc.behavior_command_t()
     msg.command = json.dumps(kwargs)
     lcmUtils.publish(channel, msg)
Esempio n. 6
0
    def sendBehaviorCommand(self, behaviorName):

        msg = lcmdrc.behavior_command_t()
        msg.utime = getUtime()
        msg.command = behaviorName
        lcmUtils.publish('ATLAS_BEHAVIOR_COMMAND', msg)
Esempio n. 7
0
 def sendCommand(self, channel, **kwargs):
     msg = lcmdrc.behavior_command_t()
     msg.command = json.dumps(kwargs)
     lcmUtils.publish(channel, msg)