Difference between revisions of "F17: Optimus"
Proj user5 (talk | contribs) (→References) |
Proj user5 (talk | contribs) (→Schedule) |
||
Line 77: | Line 77: | ||
* <font color="orange"> Major Feature: Implement Free run mode <br></font> | * <font color="orange"> Major Feature: Implement Free run mode <br></font> | ||
** <font color="blue"> Implement heartbeat messages and initial system bootup sync between modules<br></font> | ** <font color="blue"> Implement heartbeat messages and initial system bootup sync between modules<br></font> | ||
− | ** <font color="clouds"> | + | ** <font color="clouds"> Interface the RPLidar to SJOne board via UART <br></font> |
− | ** <font color="clouds"> | + | ** <font color="clouds"> Achieve basic communication such as obtaining the device and health info. <br></font> |
** <font color="green"> Study of Android Toolkit for Bluetooth Adapter connections and APIs <br></font> | ** <font color="green"> Study of Android Toolkit for Bluetooth Adapter connections and APIs <br></font> | ||
** <font color="green"> Study of HC-05 Bluetooth Module <br></font> | ** <font color="green"> Study of HC-05 Bluetooth Module <br></font> | ||
Line 92: | Line 92: | ||
** <font color="blue"> Added hearbeat messages from all controllers to master in can_db and implemented the handling functions in master controller<br></font> | ** <font color="blue"> Added hearbeat messages from all controllers to master in can_db and implemented the handling functions in master controller<br></font> | ||
** <font color="blue"> Implemented speed steer command CAN msg transmission and handling in Master controller. Master-Drive integration phase-I<br></font> | ** <font color="blue"> Implemented speed steer command CAN msg transmission and handling in Master controller. Master-Drive integration phase-I<br></font> | ||
+ | ** <font color="clouds"> Interfaced RPLidar to SJOne board and achieved basic communication via UART. Started obtaining data as well.<br></font> | ||
** <font color="CARROT"> Motor: ESC Traxxas XL-5 (Electronic Speed Control) interfaced to SJOne board <br></font> | ** <font color="CARROT"> Motor: ESC Traxxas XL-5 (Electronic Speed Control) interfaced to SJOne board <br></font> | ||
** <font color="CARROT"> Tested and identified duty cycles for different speeds required; Callibration and testing of ESC is over exteral switch at P0.1 <br></font> | ** <font color="CARROT"> Tested and identified duty cycles for different speeds required; Callibration and testing of ESC is over exteral switch at P0.1 <br></font> | ||
Line 104: | Line 105: | ||
** <font color="blue"> Test steer and speed CAN commands between Master and Motor <br></font> | ** <font color="blue"> Test steer and speed CAN commands between Master and Motor <br></font> | ||
** <font color="blue"> Implement Obstacle avoidance algorithm <br></font> | ** <font color="blue"> Implement Obstacle avoidance algorithm <br></font> | ||
− | ** <font color="clouds"> | + | ** <font color="clouds">Obtain data from the lidar and process the data i.e. decide on the format in which the data has to be sent to the master <br></font> |
− | + | ** <font color="clouds">Write unit test cases for the lidar.<br></font> | |
− | ** <font color="clouds"> | ||
** <font color="purple"> Interface compass module to SJOne board and calibrate the errors <br></font> | ** <font color="purple"> Interface compass module to SJOne board and calibrate the errors <br></font> | ||
** <font color="purple"> find the heading and bearing angle based on mocked checkpoint <br></font> | ** <font color="purple"> find the heading and bearing angle based on mocked checkpoint <br></font> | ||
Line 123: | Line 123: | ||
** <font color="blue"> GPS integrated to SJONE board <br></font> | ** <font color="blue"> GPS integrated to SJONE board <br></font> | ||
** <font color="blue"> Added all modules basic CAN messages in can_db <br></font> | ** <font color="blue"> Added all modules basic CAN messages in can_db <br></font> | ||
+ | ** <font color="clouds">Wrote unit test cases for the LIDAR.<br></font> | ||
+ | ** <font color="clouds">Wrote logic for dividing the information obtained from the lidar into sectors and tracks.<br></font> | ||
** <font color="CARROT"> MASTER_SPEED_STEER_CMD was defined to use 8-bits for speed control (neutral, forward, and reverse); 9-bits for steer control (straight, left, and right) <br> | ** <font color="CARROT"> MASTER_SPEED_STEER_CMD was defined to use 8-bits for speed control (neutral, forward, and reverse); 9-bits for steer control (straight, left, and right) <br> | ||
** <font color="CARROT"> Designed glue code: DriveManager and hardware interface code: DriveController using TDD (test code in _MOTOR/_cgreen_test/) <br> | ** <font color="CARROT"> Designed glue code: DriveManager and hardware interface code: DriveController using TDD (test code in _MOTOR/_cgreen_test/) <br> | ||
Line 135: | Line 137: | ||
** <font color="blue"> Implement maneuvering algorithm to drive steering angle of the servo<br></font> | ** <font color="blue"> Implement maneuvering algorithm to drive steering angle of the servo<br></font> | ||
** <font color="blue"> Implement maneuvering algorithm to control ESC speed <br></font> | ** <font color="blue"> Implement maneuvering algorithm to control ESC speed <br></font> | ||
+ | ** <font color="clouds">Test and validate the information obtained from the sensor.<br></font> | ||
+ | ** <font color="clouds">Send the Lidar data and heartbeat over CAN.<br></font> | ||
+ | ** <font color="clouds">LIDAR should be fully working.<br></font> | ||
** <font color="CARROT"> Identify the basic speed(s) at which the car shall move; the min, max and normal forward speeds, and the min and normal reverse speeds <br></font> | ** <font color="CARROT"> Identify the basic speed(s) at which the car shall move; the min, max and normal forward speeds, and the min and normal reverse speeds <br></font> | ||
** <font color="CARROT"> Interface the RPM sensor over ADC and validate the readings <br></font> | ** <font color="CARROT"> Interface the RPM sensor over ADC and validate the readings <br></font> | ||
Line 148: | Line 153: | ||
** <font color="blue"> Implement maneuvering algorithm in android app is moved to next week schedule<br></font> | ** <font color="blue"> Implement maneuvering algorithm in android app is moved to next week schedule<br></font> | ||
** <font color="blue"> Implemented maneuvering algorithm in Master to drive steering angle of the servo<br></font> | ** <font color="blue"> Implemented maneuvering algorithm in Master to drive steering angle of the servo<br></font> | ||
− | ** <font color="blue"> Implement maneuvering algorithm in | + | ** <font color="blue"> Implement maneuvering algorithm in Master to control ESC speed <br></font> |
+ | ** <font color="clouds">Tested and validated the sensor data by plotting graphs in an EXCEL sheet.<br></font> | ||
+ | ** <font color="clouds">Sending the obstacle information and heartbeat over CAN.<br></font> | ||
+ | ** <font color="clouds">LIDAR fully working and sending obstacle information.<br></font> | ||
** Completed PCB Design | ** Completed PCB Design | ||
| Complete | | Complete |
Revision as of 21:48, 31 October 2017
Contents
Project Title
Optimus - Self Navigating R/C Car powered by SJOne(LPC1758) micro controller
Abstract
This section should be a couple lines to describe what your project does.
Objectives & Introduction
Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.
Team Members & Responsibilities
- Master controller, QA
- Revathy
- Kripanand Jha
- GPS Controller
- Sneha
- Sarvesh
- Android App, Bluetooth/App Interface
- Parimal
- Motor Controller
- Rajul
- Unnikrishnan
- PCB Design
- Rajul
Schedule
Legend:
Major Feature milestone , CAN Master Controller , Sensor & IO Controller , Android Controller, Motor Controller , Geo , Team Goal
Week# | Date | Planned Task | Actual | Status |
---|---|---|---|---|
1 | 9/23/2017 |
|
|
Complete. |
2 | 9/30/2016 |
|
|
Complete |
3 | 10/14/2016 |
|
|
Complete |
4 | 10/21/2016 |
|
|
complete |
5 | 10/28/2016 |
|
|
Complete |
6 | 11/04/2016 |
|
|
Ontrack |
7 | 11/11/2016 |
|
|
Planned. |
8 | 11/18/2016 |
|
|
Planned. |
9 | 11/25/2016 |
|
|
Planned. |
10 | 12/1/2016 |
|
|
Planned |
11 | 12/8/2016 |
|
|
Planned |
12 | 12/15/2016 |
|
|
Planned |
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
CAN Communication
DBC File
https://gitlab.com/optimus_prime/optimus/blob/master/_can_dbc/243.dbc
Design & Implementation
The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.
Hardware Design
Discuss your hardware design here. Show detailed schematics, and the interface here.
Hardware Interface
In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.
Software Design
Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.
Implementation
This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.
Testing & Technical Challenges
Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.
Include sub-sections that list out a problem and solution, such as:
Unit Test Cases
Discuss the major unit test cases.
Technical Challenges
Discuss the issue and resolution.
Conclusion
Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?
Project Video
Upload a video of your project and post the link here.
Project Source Code
References
Acknowledgement
Any acknowledgement that you may wish to provide can be included here.
References Used
List any references used in project.
Appendix
You can list the references you used.