Search found 12 matches

by Abanoub.G
Wed Feb 28, 2018 1:26 am
Forum: Bitcraze
Topic: Urgent: Integrating code with displaying logging values
Replies: 3
Views: 2850

Urgent: Integrating code with displaying logging values

Hi, I have been trying to integrate my code which does a certain maneuver with the bit of code from basiclog.py example on the VM. However all of my trials ended up giving me the error of 'Could not add Stabilizer log config, bad configuration'. Shown below is my code and the code example that I'd l...
by Abanoub.G
Tue Feb 27, 2018 10:35 pm
Forum: Bitcraze
Topic: Urgent: Plotting thrust values being sent to crazyflie while in operation
Replies: 5
Views: 3071

Re: Urgent: Plotting thrust values being sent to crazyflie while in operation

Ok I have managed to change the motors bit.

Thanks
by Abanoub.G
Tue Feb 27, 2018 9:33 pm
Forum: Bitcraze
Topic: Sending commands through client
Replies: 6
Views: 3237

Re: Sending commands through client

Right I have managed to install zmq by following the steps on this website https://tuananh.org/2015/06/16/how-to-i ... on-ubuntu/

However, I am still getting this error of 'module' object has no attribute 'Context'
i.e. there is nothing called context inside of the zmq folder
by Abanoub.G
Tue Feb 27, 2018 8:24 pm
Forum: Bitcraze
Topic: Sending commands through client
Replies: 6
Views: 3237

Re: Sending commands through client

Also in one of the examples in your VM where the CF is ramed using the zmq, it needs to import at zmq file that is not included. I have looked up a lot on the internet but it's really confusing to get it working. The zmq files that I have managed to get from the web are missing a subfolder called co...
by Abanoub.G
Tue Feb 27, 2018 7:19 pm
Forum: Bitcraze
Topic: Sending commands through client
Replies: 6
Views: 3237

Re: Sending commands through client

How would I enable the zmq from the client??
by Abanoub.G
Tue Feb 27, 2018 6:53 pm
Forum: Bitcraze
Topic: Urgent: Plotting thrust values being sent to crazyflie while in operation
Replies: 5
Views: 3071

Re: Urgent: Plotting thrust values being sent to crazyflie while in operation

Also in addition to my previous question I tried looking for the name of the motor variables on the logging code in crazyflie-firmware/src/modules/src/stabilizer. There are ones for acceleration, temperature, yaw, roll etc; but there aren't any for the motor data.
by Abanoub.G
Tue Feb 27, 2018 2:57 pm
Forum: Bitcraze
Topic: Urgent: Plotting thrust values being sent to crazyflie while in operation
Replies: 5
Views: 3071

Re: Urgent: Plotting thrust values being sent to crazyflie while in operation

Hi, Thanks a lot for the quick reply. However, I'm afraid I am finding it a bit hard to change the logv variable I want i.e. from the stabiliser to the motor ones. I have tried a couple of things but they're not working. Is it alright if you can direct me in which part of the code I can change this....
by Abanoub.G
Mon Feb 26, 2018 3:02 am
Forum: Bitcraze
Topic: Sending commands through client
Replies: 6
Views: 3237

Sending commands through client

Hi,
Is it possible to send commands for thrust, yaw, roll and pitch for certain intervals of time through the client??

Regards
AG
by Abanoub.G
Sun Feb 25, 2018 10:31 pm
Forum: Bitcraze
Topic: Urgent: Plotting thrust values being sent to crazyflie while in operation
Replies: 5
Views: 3071

Urgent: Plotting thrust values being sent to crazyflie while in operation

Hi, I have written a piece of python code to achieve a certain manoeuvre. The manoeuvre works absolutely fine. I am achieving the manoeuvre by sending thrust, yaw, roll, pitch values to the crazyflie for certain periods of time. However, I need to get the thrust value being sent to each motor at an ...
by Abanoub.G
Tue Jan 30, 2018 4:08 pm
Forum: Bitcraze
Topic: Voltage reading from firmware on crazyflie
Replies: 2
Views: 1914

Voltage reading from firmware on crazyflie

Hi, I am trying to get the voltage being applied to the motors from the firmware, when different thrust values are applied. Unfortunelty, have got no clue how to do that. Anyone knows any libraries that are used to do this or anything that could help get the voltage being supplied to the motors from...