Variables
udp_client Namespace Reference

Variables

 args = parser.parse_args()
 
dictionary data
 
 default
 
 help
 
 int
 
 parser = argparse.ArgumentParser(description="Send UDP test data.")
 
 sock
 
string test_str
 
float time = 0.0
 
 type
 

Variable Documentation

◆ args

udp_client.args = parser.parse_args()

Definition at line 12 of file udp_client.py.

◆ data

dictionary udp_client.data
Initial value:
1 = {
2  "timestamp": time,
3  "test_data": {
4  "cos": math.cos(time),
5  "sin": math.sin(time)
6  }
7  }

Definition at line 22 of file udp_client.py.

◆ default

udp_client.default

Definition at line 10 of file udp_client.py.

◆ help

udp_client.help

Definition at line 10 of file udp_client.py.

◆ int

udp_client.int

Definition at line 11 of file udp_client.py.

◆ parser

udp_client.parser = argparse.ArgumentParser(description="Send UDP test data.")

Definition at line 9 of file udp_client.py.

◆ sock

udp_client.sock
Initial value:
1 = socket.socket(socket.AF_INET, # Internet
2  socket.SOCK_DGRAM)

Definition at line 14 of file udp_client.py.

◆ test_str

string udp_client.test_str
Initial value:
1 = "{ \
2  \"1252\": { \
3  \"timestamp\": { \
4  \"microsecond\": 0 \
5  }, \
6  \"value\": { \
7  \"current\": { \
8  \"ampere\": null \
9  }, \
10  \"voltage\": { \
11  \"volt\": 24.852617263793945 \
12  }\
13  }\
14  } }"

Definition at line 31 of file udp_client.py.

◆ time

float udp_client.time = 0.0

Definition at line 16 of file udp_client.py.

◆ type

udp_client.type

Definition at line 11 of file udp_client.py.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Feb 17 2024 03:24:08