Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RadarWidget not working #151

Open
protovich opened this issue Jan 9, 2024 · 3 comments
Open

RadarWidget not working #151

protovich opened this issue Jan 9, 2024 · 3 comments

Comments

@protovich
Copy link

Hello everybody,

I am using the msdk 4.17 along uxsdk 4.16 to create an android app for a Matrice 350 RTK. All works fine but the radar (dji.ux.widget.RadarWidget) does not appear on the screen when I try to use it (the rest of widgets work properly).

Here is the piece of code regarding the manifest, inside my relative layout:

<dji.ux.widget.RadarWidget
        android:id="@+id/A"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="300dp"
        android:layout_marginStart="350dp"/>
@dji-lyt
Copy link

dji-lyt commented Jan 10, 2024

The M350 cannot use the RadarWidget. However, you can use the open-source version of the HorizontalSituationIndicatorWidget instead. Here is the link to the open-source project: [project link.](https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android).

@protovich
Copy link
Author

I have seen that msdk's latest version working with uxsdk is 4.16, and M350 is only compatible with 4.17. Can that be another source of errors?

In any case, I see that the project you provided, UX SDK 5.0 Beta 5.1, supports up to 4.14. Is it not compatible either?

@dji-dev
Copy link
Contributor

dji-dev commented Jan 11, 2024

Agent comment from yating.liao in Zendesk ticket #98777:

UXSDK is a series of components generated using MSDK. Currently, the closure version of UXSDK no longer updates with the MSDK version. The open-source version of UXSDK has the same functionality as the closure version. To adapt to M350, you can modify the dependency on the MSDK version to 4.17 and develop based on the provided widgets.

RadarWidget has been unable to be used on M300 for a long time. Since M350 is similar to M300, I suggest you use the open-source version.

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants