Totally New To Programming! Dealing with python & crazyflie

Firmware/software/electronics/mechanics
Post Reply
AbandonedVirgo
Beginner
Posts: 6
Joined: Mon Dec 08, 2014 5:52 am

Totally New To Programming! Dealing with python & crazyflie

Post by AbandonedVirgo »

Hello..

Basically I'm doing my final year project which involve a crazyflie. The aim or objective of this project is to send the date such as( Roll, Yaw, Pitch & Thrust) crazyflie pc client --> python --> arduino board --> LED display. But im sort of totally new to programming even thou I learn basic programming in C++ and visual studio but I don't think those simple or fundamental skill can help me in python as everything its kinda different. But I read up basic things about python and I downloaded python 2.7 & 3.4 and try out simple function like --> https://www.youtube.com/watch?v=96Wr1OO ... 8&index=12 ( all the basic thing) So now im having trouble how do I xfer the data from crazyflie to python? Please help me !
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Totally New To Programming! Dealing with python & crazyf

Post by whoenig »

What do you need to "transfer" exactly? If you just need the target values for roll, pitch, yaw, and thrust then you have it already in python (those values are known to the pc client).
AbandonedVirgo
Beginner
Posts: 6
Joined: Mon Dec 08, 2014 5:52 am

Re: Totally New To Programming! Dealing with python & crazyf

Post by AbandonedVirgo »

whoenig wrote:What do you need to "transfer" exactly? If you just need the target values for roll, pitch, yaw, and thrust then you have it already in python (those values are known to the pc client).
Sorry to be more specific, my teacher want me to use python to run the crazyflie but at the same time using python to show the ( roll, pitch, yaw & thrust). so I need lib for crazyflie to run in python :(
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Totally New To Programming! Dealing with python & crazyf

Post by whoenig »

Sorry, I am still not completely clear what the goal is. Do you want to control the crazyflie with the Bitcraze client using a joystick and in addition change this existing client to output the roll/pitch/yaw/thrust? Or are you planning to write your own client to control the crazyflie?
AbandonedVirgo
Beginner
Posts: 6
Joined: Mon Dec 08, 2014 5:52 am

Re: Totally New To Programming! Dealing with python & crazyf

Post by AbandonedVirgo »

whoenig wrote:Sorry, I am still not completely clear what the goal is. Do you want to control the crazyflie with the Bitcraze client using a joystick and in addition change this existing client to output the roll/pitch/yaw/thrust? Or are you planning to write your own client to control the crazyflie?
Using python to run crazyflie, and not using the crazyflie pc client

Thanks and Best Regards
AbandonedVirgo
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Totally New To Programming! Dealing with python & crazyf

Post by whoenig »

Well, the PC client is written in python, so you could reuse that. How do you plan to control the crazyflie - using a joystick?
Post Reply