Closed Janphr closed 3 hours ago
Hi @Janphr, You are correct. It is usually either the frequency which is too high for a certain topic (try 1 Hz if you haven't done it already), or that the topic info simply is not available for a certain device. The error code simply maps to DJI_ERROR_SYSTEM_MODULE_CODE_SYSTEM_ERROR which does not give much of a hint of what is going on. You can always disable certain topic publications by simply assigning a 0 Hz freq in the config file. Sorry that I cannot provide you with more information on this.
Hey, thanks for replying!
You can always disable certain topic publications by simply assigning a 0 Hz freq in the config file.
Unfortunately, the 3 I commented are part of flight_status_frequency
.
Maybe they could be moved to their own category.
Another unrelated question:
Do you think there is any way to enable/disable discreet mode
via psdk?
Yes, there is a certain grouping of topics which could be improved indeed.
Regarding the discreet mode, as far as I know there is no way to control this setting via the PSDK. You can check it in DJI's repo https://github.com/dji-sdk/Payload-SDK to see if there is any mention of that but I am afraid is not something that is exposed via the psdk.
Yeah that's what I thought 😕 Thank you!
Hey,
I get these errors when using default data_frequencies:
topics like height_above_ground, flight_status, ... aren't published. using psdk samples, everything works. i saw in psdk that DJI_FC_SUBSCRIPTION_TOPIC_STATUS_FLIGHT is subscribed with 10 hz, so i changed flight_status to 10. after that only 3 subscritions fail:
strangely, height_above_ground is being published now, but not flight_status. i'm using m350 and most recent psdk_ros2
any idea what's going on?
best regards!