We also have another question : how did you program the Zranger to use it only when the drone need it? I mean, if we use a loop (through while(1)) to constantly read the height, there is a problem with the CPU. So how can we solve this problem?
Thank you for your help!
Search found 20 matches
- Mon Jun 04, 2018 6:24 pm
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
- Tue May 22, 2018 6:54 pm
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
Re: How to change height in height mode
If you are using the python lib you will have to set up a subscription to the log variable you are interested in with a callback and update your graph from the callback. The other option would be to store the altitude data in an array and plot it when you have disconnected. You can find an example ...
- Sun May 13, 2018 3:06 pm
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
Re: How to change height in height mode
Hi, We have succeed in sending setpoint to the drone as you told us and that worked perfectly. Thank you so much for your help! :) Now, we would like to plot the altitude during the landing. However, we don't know how to send setpoints and use the plotter at the same time. So can you help us to achi...
- Wed Mar 28, 2018 8:54 pm
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
Re: How to change height in height mode
We understood how to write the setpoints but not how run that (we wrote the command in python but we don't know how to send it to the drone). We want to activate the autonomous landing after having pressed a button on the gamepad. We watched your video on YT about creating a checkbox on the client t...
- Mon Mar 26, 2018 8:00 pm
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
Re: How to change height in height mode
Thank you so much for your detailled answer Arnaud! That help us a lot to understand how to control the drone.
We want to do all the things you advise us to do, however we don't really understand how to send the setpoints after having created them...
Can you guide us?
We want to do all the things you advise us to do, however we don't really understand how to send the setpoints after having created them...
Can you guide us?
- Sat Mar 24, 2018 9:35 am
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
Re: How to change height in height mode
Hi, Actually, we want to understand how the motors are controlled to maintain 40cm thanks to the altitude send by the Zranger : in the height hold mode, where the setpoints are created and how they are created for the thrust? How it knows how many thrust the drone's need to maintain this altitude (t...
- Tue Mar 20, 2018 7:45 pm
- Forum: Developer Discussions
- Topic: How to use the breakout board
- Replies: 11
- Views: 4803
Re: How to use the breakout board
Thank you so much! We'll try that
- Sat Mar 17, 2018 9:00 pm
- Forum: Developer Discussions
- Topic: How to change height in height mode
- Replies: 11
- Views: 5462
How to change height in height mode
Hi,
We would like to change the height held by the drone when using the z-ranger (it is set to 40cm) but we still haven't found where to do that in the code. Can you help us please ?
thank you!
We would like to change the height held by the drone when using the z-ranger (it is set to 40cm) but we still haven't found where to do that in the code. Can you help us please ?
thank you!
- Thu Mar 15, 2018 9:58 am
- Forum: Developer Discussions
- Topic: How to use the breakout board
- Replies: 11
- Views: 4803
Re: How to use the breakout board
Hi, for now, we are only trying to define the pulse that will be sent to the ultrasonic sensor. The ultrasonReadRange function is called by sensors_cf2.c in the sensorsAcquire function. Actually we have other questions: 1. Once we will have managed to make this work we would like to change the heigh...
- Sun Mar 11, 2018 6:29 pm
- Forum: Developer Discussions
- Topic: How to use the breakout board
- Replies: 11
- Views: 4803
Re: How to use the breakout board
Hi, It finally works. Thank you! :) We try to set a step by affecting a value to a variable during a period of time so it goes back to 0 as soon as it reaches the reload value. To achieve that, we used the microprocessor as a clock and we set the counter to have 1Hz. We used the variable range_last ...