Comments (3)
Did you run the Standalone example successfully? If not, then you should do that first, and if there are issues, maybe I can help you resolve them.
If you have run Standalone successfully, then the issue is with your code, and out of my scope. It's your responsibility to find your way forward. Happy coding!
from 42.
Hello @ericstoneking
Let me put the question in other form due to other observations from multiple tests.
I found that no matter what I send, I will get the warning "Imsg limit exceeded" if the length of the transmitted message is more than 5 characters
For example:
By sending the following, I get no warning
socket.send(b'TIME')
But sending the following will show the "Imsg limit exceeded" warning
socket.send(b'TIME 2020-001-00:00:10.000000000')
Also I am not sure if I want to update the time, as an example, what format should I use from the following:
1- socket.send(b'TIME 2020-001-00:00:10.000000000')
2- socket.send(b'TIME 2020-001-00:00:10.000000000 \n')
3- socket.send(b'TIME 2020-001-00:00:10.000000000 [EOF] \n')
4- socket.send(b'TIME 2020-001-00:00:10.000000000 \n [EOF]')
or to separate every 4 characters by delimiter like
5- socket.send(b'TIME \n2020\n-001\n-00:\n00:1\n0.00\n0000\n000\n')
6- socket.send(b'TIME [EOF]2020[EOF]-001[EOF]-00:[EOF]00:1[EOF]0.00[EOF]0000[EOF]000[EOF]')
7- socket.send(b'TIME [EOF]2020[EOF]-001[EOF]-00:[EOF]00:1[EOF]0.00[EOF]0000[EOF]000[EOF]\n')
Could you help me with this issue, please?
I have been struggling with it since long
from 42.
For anyone having the same issue, this solved it:
read_bytes = client_socket.recv(416)
client_socket.send(b'Ack \n')
client_socket.send(b'SC[0].AC.Whl[0].Tcmd = 1 \n[EOF]')
client_socket.recv(4) # receive ack on sent command
read_bytes = client_socket.recv(416)
client_socket.send(b'Ack \n')
client_socket.send(b'SC[0].AC.Whl[1].Tcmd = 2 \n[EOF]')
client_socket.recv(4) # receive ack on sent command
from 42.
Related Issues (20)
- Initial command to send data over TCP/IP HOT 2
- Rx from python HOT 7
- Satellite Mathematical Model HOT 1
- Euler angles and angular rates wrt orbit reference frame HOT 6
- Tx issue HOT 4
- guidelines for installing on Linux HOT 4
- Orbit propagation consistency HOT 8
- Error in SunVtx Shader compile - For both Demo and Standalone projects HOT 2
- How to give different initial angular velocities of each body? and... HOT 3
- Proximity operations simulation HOT 5
- Isolating the graphics engine HOT 3
- Handling terrain data in OpenGL
- About Star Tracker Valid position HOT 1
- JDtoGPSTime is not correct? HOT 3
- `AC.bvb` field not written on socket HOT 6
- Question about paths and the length of the char arrays for paths HOT 2
- Not seeing regions rendered HOT 1
- Propellant slosh simulation in 42 HOT 2
- How do I share a 12U Cubesat Model?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 42.