Implemented receiving video in RI from robot #4
Reference in New Issue
Block a user
Delete Branch "feat/ri-receive-video"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented the functions start_video_rcv and video_rcv_loop in main.py. The functions are called from main_loop. The first function sets up the connection to the robot and then starts a new thread to run video_rcv_loop on. In the second function the image from the robot's camera is called repeatedly and sent over a VideoSender socket.
Review the merge request by filling in the correct robot_ip and port in main.py, main_loop(). Then run the RI. Run the code below separately. You should receive image data in the second window every 2 seconds. The data should look like repeatedly '\x00\x9a\x00' as the simulator camera sees all green.
close: N25B-171
Avoid hardcoded IP and port
Move video functions from main to the VideoSender class
added 1 commit
0c5b47ae- refactor: removed hardcoded IP and port and moved video functions from main to...Compare with previous version
These parameters no longer exist.
The suggestion has types that an IDE can understand. The description of the parameter is good enough for the semantics.
resolved all threads
resolved all threads
changed this line in version 3 of the diff
changed this line in version 3 of the diff
changed this line in version 3 of the diff
added 1 commit
0b55d5c2- style: fixed docstringsCompare with previous version
mentioned in commit
785756683e