Python GUI for Biped

Servo control application for project biped :

  
Task : To develop servo controlling GUI application. With the help of which biped robot can be programmed. The application supports 6 servos simultaneously with AVR atmega16 MCU

Objective :
       while programming biped robot we require to analyse the servo motors for different angles. The main aim of this application is that people who dont't know about programming about robot can also give angles to servo and analyse it for mechanical stability. Rather than going inside the main C code and modifying the variables in code . We can access the AVR- C code variables through the GUI application . This makes task of analysis of biped robot and servo control very easy or even non-technical person can even handle this easily.

Platform :
  •     GNU/Linux Ubutu 14.04 LTS 
  •     Python 2.7.6
  •     AVR-gcc compiler 
  •     AVR-dude programmer.                                         
Summery of working :
           This application takes values of servo angles in text entry provided on GUI . Converts it into integer . and updates the MCU code . After this it burins this modified code in AVR MCU with the help of AVR-dude programmer and AVR-gcc compiler.
         In order to modify the variables . I have used code breaking mechanism .
The main C code of biped is broken down in two different code such that my servo variables can be inserted later by application.
      In this user first enters the angles for each servo . This input text is converted in to "text string " and using the os library 1st part of code is copied into one all new .c file . After that entered servo variables are concateneted in this file using 'cat ' command . Here all servo variables become 'environment variables ' in side the linux system. after that seconf part of biped code is concatenated with our new main code.
      Finally newly modified C code is compiled by AVR-gcc compiler and it is burned in MCU using AVR-dude.        

No comments:

Post a Comment