1 / 25

EE4214 Presentation

Abhinav Shukla Dhawal Jitendrakumar Shah Kaushik Narayanan Muhammad Kassim PrabandanaListyanto ShubhangiFaujdar. EE4214 Presentation. Features. Line Following Video Streaming Manual Over-rides IPC communication. Block Diagram. Line Following. Line Following. Hard-real time task

Download Presentation

EE4214 Presentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Abhinav Shukla Dhawal Jitendrakumar Shah Kaushik Narayanan Muhammad Kassim PrabandanaListyanto ShubhangiFaujdar EE4214 Presentation

  2. Features • Line Following • Video Streaming • Manual Over-rides • IPC communication

  3. Block Diagram

  4. Line Following

  5. Line Following • Hard-real time task • To achieve our stated requirements, we have split the robot into various sections. They are as following: • Sensing unit • Motor driver • Chassis, wheels and gearbox • Power unit

  6. Sensors Comparator circuit to obtain TTL compatible logic levels uCSimm (Interfacing through Port D) Motor Driver (L293D) Left Right Motor Motor Block Diagram

  7. Vcc From sensor To uCSimm - + 10k Pot Ground Vcc 10 k resistance From IR transmitter To comparator Photodiode ground Sensing Unit • Initial plan • Chosen sensors

  8. Navigation

  9. Motor Driver EN • Circuit Diagram MOTOR MOTOR DRIVER

  10. Chassis, Wheels & Gearbox • Platform chassis • Tamiya gearbox • Freely-rotating backwheel

  11. Power Unit • Circuit Diagram

  12. Interfacing Hardware & uCSimm • Checks for the manual over-rides from the User Interface and works accordingly • Checks if the robot is following line

  13. FlowChart Get Input from the H/W Is it following line? Is there a manual Over-ride YES NO YES NO Follow the over-ride Change direction

  14. Video Streaming

  15. Start Receive Video chunks via RS232 cable Play the video file No Time >= 4 secs Combine packets into video file. Yes Block Diagram • >>Bash script used to implement the process flow.

  16. Combining Video Packets • Tool used ->Mencoder. • Command line video decoding and encoding tool released under GNU GPL.

  17. Video Playback • Tool Used : Gstreamer . • Pipeline-based Multimedia Framework • Generic pipeline would look like: source -> decoder -> filter -> sink • Rough implementation of our pipeline: Video File ->Decodebin ->XvImageSink ->Osssink

  18. Software and Real Time Design

  19. Main Software Diagram uCsimm RS232_task (rs232 scheduler) Video_task (video scheduler) FIFO reader Write_to_port (Motor control) Line-task (line check) Kernel space FIFO 0 FIFO 1 IPC Final_app RS232 Server app Socket Server app User space RS232 Ethernet Host PC Command message RS232 agent app Socket Client app Signal / info message GUI Robot controller Video player Data communication

  20. Real Time Task & Priority • RS232_Task (Priority 1) • Read_Fifo (Priority 1) • Line_Task (Priority 0) • WriteToPort (Priority 0) • Send_Video (Priority 1)

  21. User Space & IPC • The need to build some task in user space • Two tasks to be accomplished in the user space: 1. Reading the RS232 data containing movement override from user 2. Sending video files to host PC via Ethernet

  22. Host PC Application • Socket client apps  file transfer • GUI  user command override

  23. Task Scheduling • Periodic, Fixed priority • Ensure high priority task not to fail

  24. File Transfer Protocol Server Client Connection setup (setup port, bind, etc) Listen for incoming request SEND_FILE_1 OK [file name] OK [file size] Setup file based on file name and name size OK [file chunk 1] OK ……. [file chunk N] OK FINISH Close file

  25. Q&A

More Related