Questions tagged [subscriber]

272 questions
1
vote
1 answer

Setting (and getting) a Symfony (Shopware 6) Subscriber class array from a function

Can someone help to set and get a Symfony (Shopware 6) Subscriber class array from a function? Here is my current Subscriber:
Stacker1427
  • 163
  • 8
1
vote
1 answer

TF2 transform can't find an actuall existing frame

In a global planner node that I wrote, I have the following init code #!/usr/bin/env python import rospy import copy import tf2_ros import time import numpy as np import math import tf from math import sqrt, pow from geometry_msgs.msg import…
Hongyan Wu
  • 11
  • 1
1
vote
1 answer

double free or corruption (out) error at the end of ROS2 C++ subscriber callback function when used with PCL

System used: ROS2 foxy on Ubuntu 20.04 with PCL 1.10 installed on amd64 architecture. I have created a C++ subscriber for ROS2 topic velodyne_points of the message type sensor_msgs::msg::PointCloud2. Since, this is ROS2 message and PCL can't handle…
1
vote
0 answers

MQTT client infinite loop with script

I have a problem. I am trying to make remote control from my PC of my RPi using MQTT. The goal is to control Pi (turn the LED on and off) from Sript1 by publish and to recieve MQTT message back from Script 2 aswell by publish, that I can store in…
Matouš Hucl
  • 9
  • 1
  • 4
1
vote
1 answer

ZeroMQ - subscriber is able to receive data from 1st publisher but does not receive from 2nd publisher which is up after a few loops

In following code. Publisher thread publish 5 messages then again new publisher socket is supposed to send data to subscriber but subscriber is in while(1) loop for recv() and never get message from 2nd publisher. How subscriber can connect to…
munish
  • 11
  • 1
1
vote
1 answer

ROS how to use values from one callback function to another

Sorry, English isn't my mother tongue. I hope you'll understand my question correctly. I’m using Ubuntu 18.04 with ROS Melodic. I’m trying to take data from mapCallback and odometryCallback functions and use these values in SampleTree function. When…
1
vote
1 answer

MQTT subscription not receiving messages C++

I'm trying to implement a MQTT subscription and publisher to my C++ application. The publishing is working just fine, but it looks like the subscriber isn't receiving any massages at all. #include "MbedJSONValue.h" #include "OLEDDisplay.h" #include…
1
vote
1 answer

BehaviorSubject subscription not listening for value changes

I am creating an angular app where I have an API service. This service calls API using axios and updates the value of BehaviorSubject as requires here is the code for that. import { Injectable } from "@angular/core"; import axios, { AxiosInstance }…
1
vote
2 answers

Why can I not access class variables from onComplete in Flow API Subscriber

Using the Java Flow API. I have a chain of Processors and a terminal Subscriber. I have coded up Subscribers that have kept a count of items received that work fine with a SubmissionPublisher. However, when I pass values on from a Processor (which…
JNeff
  • 11
  • 3
1
vote
1 answer

Opentok what are the events to mute/unmute and on/off subscriber video in video conferencing

Opentok what are the events to mute/unmute and on/off subscriber video in video conferencing Everywhere I can only found - publisher.publishAudio(false); publisher.publishAudio(true); And for…
Vivek Kumar
  • 120
  • 7
1
vote
1 answer

How to access the subscriptions from the given publisher? (combine kit)

Is there any way to get the subscriptions by accessing the publisher? In the below example, I created a publisher, and had it subscribed by two subscribers and had the publisher send a value. Here in this simple scenario, all works are thrown…
pearl7721
  • 320
  • 1
  • 12
1
vote
1 answer

How to extend Shopware 6 search so it would search by custom fields, manufacturer name, product id, etc?

The current Shopware 6 search does not search through all product attributes. How to change it so it would search by custom fields, properties, ean, etc? I was trying to create a subscriber to the ProductSuggestResultEvent but got no result.
David
  • 553
  • 6
  • 21
1
vote
2 answers

Trigger function when an order is made in Shopware6

I am having a little misunderstanding while trying to trigger a function after the creation of a new order in shopware6 but nothing happens. My syntax is maybe so Shopware5 because I am really new to SW6. Here is my code (only for testing)…
Umar Zahid
  • 323
  • 1
  • 13
1
vote
1 answer

C# - Get a list of subscribers listening to a RoutedEvent?

I'm trying to get a list of objects that are subscribing to the PasswordBox PasswordChanged event. The PasswordBox has a static readonly RoutedEvent PasswordChangedEvent and an instance PasswordChanged event. Thanks!
michael
  • 14,844
  • 28
  • 89
  • 177
1
vote
1 answer

ActiveMQ message lost when receiver is not available

I am using activeMQ for message passing. And when both sender and receiver available I successfully received the message. But when I down the receiver and start again queued messages are not received to receiver again. Is there any configuration I…
abo
  • 378
  • 4
  • 19