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

Adding more tags to the system #343

Open
anthony211212 opened this issue Apr 28, 2024 · 9 comments
Open

Adding more tags to the system #343

anthony211212 opened this issue Apr 28, 2024 · 9 comments

Comments

@anthony211212
Copy link

Hello. Has anyone fully solved the issue of adding multiple tags? I've looked into discussions among the question titles here, but I couldn't find a precise and clear solution. Has anyone been able to use this library for multiple anchors and multiple tags for example 4 anchors and 4 tags or more? Or perhaps, does anyone know of a different library suitable for this situation? Your recommendations are highly valuable.

@az-z
Copy link
Contributor

az-z commented Apr 28, 2024 via email

@anthony211212
Copy link
Author

Hello. I know some modules ESP32 UWB(Ultra Wideband) and ESP32 UWB DW3000(Ultra Wideband). Do you know any library for them to use multiple tags and anchors ?

@scal68
Copy link

scal68 commented May 30, 2024

Bonjour,
Je travail actuellement sur la même problématique. Avez-vous trouvez une solution?
Ou même une façon de limiter le nombres de balises qui ce connectes de façon "propre"?

@anthony211212
Copy link
Author

Hello. Not yet. Do you have any idea?

@pizzo00
Copy link

pizzo00 commented Sep 11, 2024

Update for anyone who encounter this problem
You can find an updated version that fixes this and other problems here: https://github.com/jremington/UWB-Indoor-Localization_Arduino/tree/main/DW1000_library_pizzo00

@anthony211212
Copy link
Author

@pizzo00 Which algorithm did you use to find the tag's position, and what was your error value?

@pizzo00
Copy link

pizzo00 commented Sep 11, 2024

The trilateration algorithm is beyond the scope of the library but I personally use the @jremington implementation of this paper with a RMSE of 2m on a distance of 30m from the anchors

@scal68
Copy link

scal68 commented Sep 15, 2024

@pizzo00 Merci beaucoup pour votre travail. Cependant, je ne parviens pas a utiliser votre bibliothèque, La compilation est OK avec le Biblio d'origine, mais j'ai de nombreuse erreur avec la votre. Devons-nous modifier des éléments dans notre script?

@pizzo00
Copy link

pizzo00 commented Sep 16, 2024

@scal68 Now it is sufficient to call the function DW1000Ranging.init, with the type, the short address, a mac address, a flag for high_power, the transmission mode, and the usual parameters.

My code looks like this:

static constexpr byte MY_MODE[] = {DW1000.TRX_RATE_6800KBPS, DW1000.TX_PULSE_FREQ_16MHZ, DW1000.TX_PREAMBLE_LEN_64};

void setup()
{
    Serial.begin(115200);
    delay(1000);

    uint16_t shortMacAddress = 118;  //"76:00";
    char *wifiMacAddress = "00:00:00:AA:AA:AA"; //I get it from the esp board through WiFi.macAddress();

    // init the configuration
    SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI);
#if C_TAG
    DW1000Ranging.init(BoardType::TAG, shortMacAddress, wifiMacAddress, true, MY_MODE, PIN_RST, PIN_SS, PIN_IRQ);
#elif C_ANCHOR
    DW1000Ranging.init(BoardType::ANCHOR, shortMacAddress, wifiMacAddress, true, MY_MODE, PIN_RST, PIN_SS, PIN_IRQ);
#endif
}

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

4 participants