I have a raspberry pi 4(let's call it server) that's operating servos and motors on a boat. I've managed to control the boat using another raspberry pi 4( let's call it client) and connect via SSH. First remote control was via touchscreen and gui that ended up pretty useless. I wanna try control by joystick which I've placed on client side. My problem is how do I implement the signal from joystick that I get from script on client as input signal on server side? Is there a way to do that via SSH or something else? In longterm there will be a camera, radar and sensors placed on the boat. Is the websocket best solution for that type of remote control?
using joystick on one raspberry pi to control input on second raspberry pi
93 Views Asked by WEmil At
1
There are 1 best solutions below
Related Questions in WEBSOCKET
- Resolving ElephantIO ServerConnectionFailureException: Error establishing connection to server
- Django socketio process
- How to decode audio stream using tornado websocket?
- Java and React WebSocket - Error Connection
- Socket.io nodejs server .NET connection
- Troubleshooting WebSocket 502 Error in Python Code
- Getting an error in Socket.io wordle project
- Best practices with realtime data / websockets. Send vs. revalidate data
- My socket.io web socket application is not sending data to some users
- Android 13 & 14 seem to close WebSocket connection, if i put app in background, after ~20s
- Audio bytes chunks getting corrupted during streaming using Django and Websockets
- Odoo live chat not working when using apache reverse proxy
- websocket Fatal error message stating "Failed to listen on tcp://0.0.0.0:8080: Address already in use
- Stomp connection using JWT token in Python
- Symphony Fintech (XTS) market-data socket data integration in PyQt6 using python3
Related Questions in RASPBERRY-PI
- Raspberry Pi Sense Hat with Pyinstaller
- Waiting for several hours before resuming execution
- Using compositor in Gstreamer to merge imagesequence with video/audio stream
- How to make this sensor keep taking readings once its when_in_range function has been activated?
- Emulating an HID device with a raspberry pi 5
- How to stream PCM audio to a speakers both on mac and linux in Node.js?
- I want to use NRF24L01 transceiver with raspberry pi but some GPIO pins are already occupied by 3.5 inch display how do i connect transceiver
- voron 2.4 mainsail kiauh error install crowsnest (solved problem)
- Pi4J minimal example's LED doesn't blink
- How can I connect and send data from react-native to raspberry pi
- Xpt 2046 Display with Pn532 RFID reader
- Google SDK for Raspberry pi
- How to use a RaspberryPi camera with the cv2.videoCapture() function?
- How do I capture audio from the system bus in a node app (or from sox) on a raspberry pi?
- Can't open /dev/mem: Operation not permitted Raspberry Pi
Related Questions in RASPBERRY-PI4
- How to setup nist nbis in raspbian raspberry pi 4
- PortNotOpenError while connecting to Modbus
- Raspberry Pi sending/receiving data over usb
- Touch calibration error when using Avalonia UI with Raspberry PI 4 (lite) DRM Mode
- cannot connect to raspberry pi 4 from javascript
- Accessing GPIO via MMIO in Android App on Raspberry Pi 4
- Old python program no longer works after updating Pi3 to Pi4
- How do I fix this error code on Thonny For Object Detection
- How to install fabric-sdk-py in my Easpberry Pi4
- Constructing a script using a 3rd party library
- create_ap wlan0: Could not connect to kernel driver
- How do I run the following script in Raspberry pi 4 terminal as soon as it starts up?
- Wifi direct (Wifi P2P) connection between raspberry pi 4b and android device only possible after reboot
- Raspberry pi 4, ina219 Bi-Directional DC Current Power Supply Sensor
- Selenium Chromedriver unable to move window position
Related Questions in JOYSTICK
- How to use a joystick from SDL on a Mac?
- Using Joystick in Windows Forms application
- C# reading joystick input without blocking UI
- Windows 10 pygame joystick can not read only one of the axis (z-rotation)
- Using SDL_INIT_JOYSTICK without SDL_INIT_VIDEO
- Polling USB Game controller device C#
- Emulate joystick with Python
- capture joystick extra buttons
- Object controll with mouse position relative to circle
- C# - variable speed when using turning joystick
- Confusing Input From Joystick Unity
- Joystick Simulink s-function using mmsystem.h
- How to code for game controller joysticks?
- Joystick acquisition with SharpDX
- Pass MotionEvent from callback function to a class method causing "Exception dispatching input event"
Related Questions in REMOTE-CONTROL
- how to programmatically drive VScode with Python, i.e., fully remote control of VSCode?
- How to Send Keyboard Command to Android Tv using TLSManager in swift
- Implementing Keyboard Input via TLSClientManager in Swift for Android TV Remote App
- IR LED not sending any signal
- Key detect raspberry pi4
- Android TV Remote Control v2 invoke Voice Assistant
- Is there a way to control the Home key and the keys in the Phone Window Manager in AndroidTv?
- Token not returning from samsung smart tv remote control API
- Read button from bluetooth low energy remote control with an Arduino Nano 33
- Issues with Infrared Receiver on Raspberry Pi 4B: Unexpected Signals and Empty Raw Code Configuration
- How can I establish a TLS connection to a device with an untrusted certificate in my local network in an iOS app?
- Removing the batteries from the remote kills the app
- Arduino HID keyboard keycodes not working properly
- using joystick on one raspberry pi to control input on second raspberry pi
- Does anyone know the IR Pattern integer for Daikin air conditioner (I want to simulate on/off signal)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Personally, I think I'd set up MQTT for this which is ideal for transferring short messages and doesn't require absolute "lock-step" communication back and forth. That means you can start in any order and the second half doesn't need to necessarily be present.
I'd install
mosquittoon either RasPi, and then:Enter
[mqtt]in the StackOverflow search box for examples.Alternatively, you could use Redis "pub/sub" just the same.
Enter
[redis]in the StackOverflow search box for examples.