Search found 4 matches

by mzhao
Fri Sep 08, 2017 5:35 am
Forum: Developer Discussions
Topic: lag while logging
Replies: 11
Views: 9828

Re: lag while logging

When I run the basiclog.py using the original firmware, there is no lag in the log, but with my firmware, the log lags a few seconds behind. The primary differences made in the firmware were to accept external localization and setpoints, along with several additional variables added to the log. Woul...
by mzhao
Tue Sep 05, 2017 9:29 pm
Forum: Developer Discussions
Topic: param.set_value() works...sometimes
Replies: 2
Views: 2589

Re: param.set_value() works...sometimes

I had been using the param.set_value() command in a separate python code that I had written, but without the callbacks.

I think I'll just use the basicparam.py script to change the PID values before running my own code while tuning.

Thanks!
by mzhao
Thu Aug 31, 2017 9:12 am
Forum: Developer Discussions
Topic: lag while logging
Replies: 11
Views: 9828

lag while logging

I'm getting some noticeable lag (on the order of one to a few seconds) while reading log values from the CF. For example, the motors will turn on on the physical quadcoptor, but the log values will only arrive seconds later. Obviously, some lag is to be expected, but is there any way to get more rea...
by mzhao
Thu Aug 31, 2017 9:02 am
Forum: Developer Discussions
Topic: param.set_value() works...sometimes
Replies: 2
Views: 2589

param.set_value() works...sometimes

I'm encountering this issue where I am using cf.param.set_value(_,_) to help tune PID gains. However, when I try to change a few of them at once, and I check the log to see if they've changed, it's somewhat inconsistent whether or not the parameter changes. In particular, what's happening is like th...