Пример #1
0
        public void SubscriptionInit()
        {
            rcl_context_t context     = new rcl_context_t();
            rcl_node_t    node        = new rcl_node_t();
            IntPtr        nodeOptions = new IntPtr();

            RCLInitialize.InitRcl(ref context);
            NodeInitialize.InitNode(ref node, nodeOptions, ref context);

            rcl_subscription_t subscription        = new rcl_subscription_t();
            IntPtr             subscriptionOptions = new IntPtr();

            InitSubscription(ref subscription, subscriptionOptions, ref node);
            ShutdownSubscription(ref subscription, subscriptionOptions, ref node);

            NodeInitialize.ShutdownNode(ref node, nodeOptions);
            RCLInitialize.ShutdownRcl(ref context);
        }
Пример #2
0
 public void TearDown()
 {
     NodeInitialize.ShutdownNode(ref node, nodeOptions);
     RCLInitialize.ShutdownRcl(ref context);
 }
Пример #3
0
 public void SetUp()
 {
     RCLInitialize.InitRcl(ref context);
     NodeInitialize.InitNode(ref node, nodeOptions, ref context);
 }
Пример #4
0
 public void SetUp()
 {
     RCLInitialize.InitRcl(ref context);
     NodeInitialize.InitNode(ref node, nodeOptions, ref context);
     SubscriptionInitialize.InitSubscription(ref subscription, subscriptionOptions, ref node);
 }