Problem in logging z ranger data

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
thasu
Beginner
Posts: 21
Joined: Wed Oct 18, 2017 7:16 am

Problem in logging z ranger data

Post by thasu » Wed Sep 05, 2018 7:46 pm

I'm trying to read the z range values from python client by adding range.zrange to the log group. But values appear as 0 everytime. Other variables which are in the log group print corresponding values in the terminal. However there is no error showing in the CF console and set_hoverpoint command is working well for a given height. What could be the problem here?

arnaud
Bitcraze
Posts: 1706
Joined: Tue Feb 06, 2007 12:36 pm

Re: Problem in logging z ranger data

Post by arnaud » Mon Sep 10, 2018 9:15 am

There has been a log-related bug recently that could cause this to happen, are you using the very latest version of the Crazyflie firmware from git?

thasu
Beginner
Posts: 21
Joined: Wed Oct 18, 2017 7:16 am

Re: Problem in logging z ranger data

Post by thasu » Thu Sep 13, 2018 2:46 pm

Yes. What can I do to solve this problem?

Post Reply