python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
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 S...
Matouš Hucl
Votes: 0
Answers: 0
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 2...
munish
Votes: 0
Answers: 1
IndexError: list index out of range, problems with selecting the elements of a list
I am working on a project for my thesis and in one of my script i am subscribing a ROS message that was created by me. One of the parameters in this message is a list with target information.
targets ...
João Alves
Votes: 0
Answers: 2
Reactive Swift Signal Producer conversion code to Combine.Publisher doesn't work with combine latest
Here's my code to convert ReactiveSwift Signal Producers to Combine.Publishers
import ReactiveSwift
import Combine
/// convert SignalProducer<X, Never> -> Publisher<X, Never>
public ...
Yogurt
Votes: 0
Answers: 1