I have a stream of json data coming from a sensor which is connected to my raspberry pi. I essentially need to post this data to another sensor that is connected via http.
First, I am having a hard time even reading the data. I am trying to use this script
- Code: Select all
ser = serial.Serial('/dev/ttyACM0', 115200)
Here is my goal, import the Json data from sensor 1 which includes gps information and orientation data from an Imu, parse the data to the expected format of sensor 2, then post this feed via http to sensor 2.
Any guidance would be greatly appreciated, thanks.