Пример #1
0
 protected override void StartRos()
 {
     cmdVelPublisher = node.CreatePublisher <geometry_msgs.msg.Twist>(CommandVelocityTopic);
     cmdVelMsg       = new geometry_msgs.msg.Twist();
     StartCoroutine("PublishCommandVelocity");
 }
Пример #2
0
 void Start()
 {
     twistMsg  = new geometry_msgs.msg.Twist();
     publisher = node.CreatePublisher <geometry_msgs.msg.Twist>(TwistTopic);
 }