Parameter setting from cfclient not working
Posted: Tue Jun 08, 2021 9:13 am
Hi everybody
Last October I started a project with the CF, I built my application on top of the most recent firmware back then. Now I wan't to verify the accuracy of my system (new version of the EKF). For that I have built a custom deck driver which runs a task that can fly predefined trajectories. The trajectory flight is started from the cfclient by the setting of a parameter. I noticed however that the setting of a parameter from the cfclient does not work with my firmware. Everytime I set a parameter the respective field turns red and the new parameter value is not applied instead the value that was there before just stays.
This happens for all parameters, not only the ones of my new deck driver.
I tried with the current firmware from March 2021 and in there the parameter setting works correctly, also my deck driver works properly and the flught of the trajectory is correctly executed.
On the screenshot below you can see the red fields for the parameters destX, destY and fly_command that I wanted to set, they all have still they default values from the initalization in the code.
Could there be some discrepancies between my old firmware and the cfclient? Or is there some location in the firmware were I can look at to see why the parameter setting is not working?
I only made modifications the the estiamtion_kalman and kalman_core files and also in the deck_spi file.
All the best
Marc
Last October I started a project with the CF, I built my application on top of the most recent firmware back then. Now I wan't to verify the accuracy of my system (new version of the EKF). For that I have built a custom deck driver which runs a task that can fly predefined trajectories. The trajectory flight is started from the cfclient by the setting of a parameter. I noticed however that the setting of a parameter from the cfclient does not work with my firmware. Everytime I set a parameter the respective field turns red and the new parameter value is not applied instead the value that was there before just stays.
This happens for all parameters, not only the ones of my new deck driver.
I tried with the current firmware from March 2021 and in there the parameter setting works correctly, also my deck driver works properly and the flught of the trajectory is correctly executed.
On the screenshot below you can see the red fields for the parameters destX, destY and fly_command that I wanted to set, they all have still they default values from the initalization in the code.
Could there be some discrepancies between my old firmware and the cfclient? Or is there some location in the firmware were I can look at to see why the parameter setting is not working?
I only made modifications the the estiamtion_kalman and kalman_core files and also in the deck_spi file.
All the best
Marc