Search found 7 matches

by vivekrk44
Thu Feb 11, 2016 9:14 am
Forum: Developer Discussions
Topic: Controlling a servo/Outputting a PWM signal on the CF2
Replies: 4
Views: 3253

Re: Controlling a servo/Outputting a PWM signal on the CF2

I would recommend using this tutorial for your code

http://stm32f4-discovery.com/2014/05/st ... -tutorial/

It shows you how to use the timers and set up the PWM signal at a specific frequency and send out a signal of required pulse width

Regards
Vivek
by vivekrk44
Thu Feb 11, 2016 9:11 am
Forum: Developer Discussions
Topic: sensor values in stabilizer.c
Replies: 6
Views: 3819

Re: sensor values in stabilizer.c

What i would suggest is to define a global variable that holds the value that you want transmitted. So in your sensor driver code add float dat; dat will contain the relevant data. Next add a function that returns the required data float getData() { return dat; } define this function in the header f...
by vivekrk44
Mon Nov 30, 2015 2:35 pm
Forum: Autonomous flight
Topic: SWARM Formations
Replies: 18
Views: 16439

Re: SWARM Formations

To get multiple crazyradios working on the same desktop, I was using the crazyflie ros stack. If you are not using ros, then the other alternate was to use the radio multilink branch of the crazyflie python client. Then you can change the URI for the crazyflie to reflect which radio you want to use ...
by vivekrk44
Wed Oct 07, 2015 1:41 pm
Forum: Autonomous flight
Topic: SWARM Formations
Replies: 18
Views: 16439

Re: SWARM Formations

Hello Wolfgang Thank you soo much for taking the time out to help me. a. The logging was disabled. I did not know about the parameter, but i had commented out the section of the code that did the logging. When i enabled it i saw that the IMU data is received at around 95Hz. When i ran 2 crazyflies w...
by vivekrk44
Mon Oct 05, 2015 12:12 pm
Forum: Developer Discussions
Topic: adding own c files [SOLVED]
Replies: 3
Views: 2162

Re: adding own c files

In the folders there is the MakeFile which needs to be updated. If you tell me your file names ill show you what to update and where
by vivekrk44
Mon Oct 05, 2015 10:46 am
Forum: Autonomous flight
Topic: SWARM Formations
Replies: 18
Views: 16439

Re: SWARM Formations

Hello All I am working on a quadcopter based swarm project for my college thesis. I am running the crazyflie as a controller for a bigger quad. I need to run 6 in swarm. So far I have tuned the quadcopter pid's and am getting very good position hold with one quad. As soon as i add multiple quads the...
by vivekrk44
Tue Apr 28, 2015 6:52 pm
Forum: Developer Discussions
Topic: make the source code error,need help
Replies: 5
Views: 6380

Re: make the source code error,need help

To solve it all you need to do is install tortoise hg and initialize the project.

So to do this

1. sudo apt-get install tortoisehg
2. cd to the root of the project (Lets call it /home/blah/crazyflie-firmware)
3. hg init
4. make

That solved the problem for me