Page 2 of 2

Re: python system wide usage

Posted: Sun Jan 31, 2016 1:16 am
by com683
i keep trying and trying and running into issues is there a way i can just remove all my attempts and have a fresh start im really struggling thanks for all the input

issues installing anything with macports

Posted: Sun Jan 31, 2016 1:42 am
by com683
im trying to install the requirements for the crazy flie i had it running before but now its not i keep having to force the commands i searched for python and all macport clients deleted the folders and python folders i restarted the computer attempting a fresh install but i keep running into hickups any chance of being walked through this i had it running before but now im struggling allot thank you contact by email is faster so message me mrzahmed6@gmail.com thank you

Re: python system wide usage

Posted: Sun Jan 31, 2016 1:55 am
by chad
com683 wrote:i keep trying and trying and running into issues is there a way i can just remove all my attempts and have a fresh start im really struggling thanks for all the input
To get rid of MacPorts, remove the following folders and files:

Code: Select all

/opt
/Library/LaunchAgents/org.freedesktop.dbus-session.plist
/Applications/MacPorts
Then read my blog post about running the latest client on a Mac.

If there are errors during the MacPorts installs, it's likely from files left over from the install you removed (files we missed). In that case, just remove the file listed in the error and re-run the last command you ran.

Finally, download this zip of the Crazyflie client and unzip it. Change into that directory and run the client with:

Code: Select all

python ./bin/client
Then you should be good and the artificial horizon will work in the GUI.

trouble running cf client

Posted: Sun Jan 31, 2016 6:52 am
by mrzahmed6
i have installed everything to a T from following the instructions to install on macports but when i try to run this command i get the following
MacBook-Pro:~ mirzaahmed$ /opt/local/bin/python2.7 bin/cfclient
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'bin/cfclient': [Errno 2] No such file or directory

from this direction specifically
I'm running on a mac thanks

Re: issues installing anything with macports

Posted: Sun Jan 31, 2016 8:36 pm
by chad
com683 wrote:im trying to install the requirements for the crazy flie i had it running before but now its not i keep having to force the commands i searched for python and all macport clients deleted the folders and python folders i restarted the computer attempting a fresh install but i keep running into hickups any chance of being walked through this i had it running before but now im struggling allot thank you contact by email is faster so message me mrzahmed6@gmail.com thank you
Hi com683,

You already have a thread about your problems. Please don't open another. Furthermore, issues with MacPorts should be addressed on a MacPorts forum, not a the Bitcraze forum. MacPorts is simply a way to install some software needed by the Crazyfile python client. Other than that, it has nothing to do with Crazyflie or Bitcraze.

This thread has been merged with your original thread.

Re: trouble running cf client

Posted: Sun Jan 31, 2016 8:43 pm
by chad
mrzahmed6 wrote:i have installed everything to a T from following the instructions to install on macports but when i try to run this command i get the following
MacBook-Pro:~ mirzaahmed$ /opt/local/bin/python2.7 bin/cfclient
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'bin/cfclient': [Errno 2] No such file or directory

from this direction specifically
I'm running on a mac thanks
com683 (mrzahmed6),

Why did you create another account to post this? Please refrain from using multiple accounts and opening multiple threads about the same issue. I've merged this to your original thread.

You need to change into the crazyflie-clients-python directory to run the command you've shown. If you are not inside that directory when you execute that command, bin/cfclient will not be found.

Re: python system wide usage

Posted: Sun Jan 31, 2016 10:24 pm
by mrzahmed6
i have it up and running I'm flying the drone however now i don't see any feed back on the display also i am unable to control input commands make it hover and such the drone needs adjustments in pitch and yaw but I'm unable to correct any suggestions

Re: python system wide usage

Posted: Sun Jan 31, 2016 11:14 pm
by mrzahmed6
sorry i made another account i tried to recover my password but was unable to because the site was not sending a reset email

Re: python system wide usage

Posted: Mon Feb 01, 2016 2:02 am
by chad
mrzahmed6 wrote:i don't see any feed back on the display also i am unable to control input commands make it hover and such the drone needs adjustments in pitch and yaw but I'm unable to correct any suggestions
My friend,

It is especially aggravating when I'm spending time helping you and you disregard what I've already written. I explained exactly what you need to do to get the client working correctly in my previous post!

You are using the wrong python version and wrong client release. If you had read what I wrote, you would have seen that you need to install Python 3 and dependencies and use client version 2015.09. All of this is detailed in the blog post I linked you to.

If you don't want to read and try what I've already taken the time to write for you, I'm not inclined to help you any longer.

Re: python system wide usage

Posted: Mon Feb 01, 2016 3:45 am
by mrzahmed6
hi I've followed those steps to a T and i mean exactly how they were laid out i have the drone operating it flies and i control it fairly well however the gui on my computer is not showing horizon and i can't program any remote controls such as hover at altitude and whatnot i have pitch and yaw adjustment working but I can't get the hover button to work every time i push the button it kills the program i am using the version of python u recommended. i apologize for irritating you it was never my intention i only asked for help and you don't have to be so upset about it. though i am sorry i don't mean to make it aggrevating.