Sprint 2 - RichardSwierk/Champlain-Capstone GitHub Wiki
Deliverable Statement
First thing I will do during this sprint is finish and test the code for receiving the data that I want from the PCV. After that is finished I will then write programs to parse the data recorded for the following values: rpm, throttle position, speed, and current gear.
Objectives
- Finish writing code to get data from PCV
- Test code on the motorcycle
- Write code that will parse the data recorded
Final progress
- Edited found java code for creating the packet to send to the PCV, named it Packet.java
- Wrote Main.py which takes the packet that is created by Packet.java and sends it to the PCV
- Then receives packet that is sent from the PCV
- Checks the first 4 bytes of the packet that was sent to the PCV and the packet that was sent from the PCV to see if they are the same. If they are the same then the PCV responded to the packet that I sent
- If the packet is a response packet then it get the RPM and the throttle from the payload of the packet
Goals that were unmet
- The code that I wrote did not work
- The code sends the packet and receives packets from the PCV, but it never received a response packet from the PCV
Adjustments
- I will have to finish the code during the next sprint and test it during the next sprint
- I might have to remove the website feature that would be used to see the data and replace it with something simpler