Giter Club home page Giter Club logo

maploader's People

Contributors

thyraz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

maploader's Issues

libatomic.so missing

After unpacking node-v16.14.2-linux-armv7l, and running node -v I got this:

[root@rockrobo bin]# ./node -v
./node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

This seems to be a common issue with nodejs. Anyway, libatomic should be provided by the OS. Since my rockrobo does not come with apt-get, I'm running out of ideas. Has someone experienced and solved this issue?

New Map won't be saved

Hey,

first of all big thanks for your great work. Helps a lot with that map rotating issue.
Right after creating/sniffing a new blank map I sent a save command. I saw the folder created but sadly didn't check the content. Later when a restore was needed I realized the created folder is empty. The reason was pretty simple. I had no user_map0 and PersistData_2.data file at that point. I needed to create a forbiddenzone which can be deleted later. That creates those two files. Without all 4 files maploader.js fails saving a map. Here's the output:
`
Received Save Request: Grundkarte_leer_test
Created directory: /mnt/data/maploader/maps/Grundkarte_leer_test/
fs.js:114
throw err;
^

Error: ENOENT: no such file or directory, copyfile '/mnt/data/rockrobo/user_map0' -> '/mnt/data/maploader/maps/Grundkarte_leer_test/user_map0'
at Object.copyFileSync (fs.js:1728:3)
at copyFiles (/mnt/data/maploader/maploader.js:41:6)
at MqttClient.client.on (/mnt/data/maploader/maploader.js:27:3)
at MqttClient.emit (events.js:198:13)
at MqttClient._handlePublish (/mnt/data/node/node-v10.16.3-linux-armv7l/lib/node_modules/mqtt/lib/client.js:1162:12)
at MqttClient._handlePacket (/mnt/data/node/node-v10.16.3-linux-armv7l/lib/node_modules/mqtt/lib/client.js:351:12)
at work (/mnt/data/node/node-v10.16.3-linux-armv7l/lib/node_modules/mqtt/lib/client.js:283:12)
at Writable.writable._write (/mnt/data/node/node-v10.16.3-linux-armv7l/lib/node_modules/mqtt/lib/client.js:294:5)
at doWrite (/mnt/data/node/node-v10.16.3-linux-armv7l/lib/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/mnt/data/node/node-v10.16.3-linux-armv7l/lib/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:417:5)
root@rockrobo:/mnt/data/maploader/maps# ll Grundkarte_leer_test/
total 8
drwxr-xr-x 2 root root 4096 Sep 22 13:29 ./
drwxr-xr-x 9 root root 4096 Sep 22 13:29 ../
root@rockrobo:/mnt/data/maploader/maps#
`

I suggest to mention that in README or possibly skipping files if they do not exist. Thanks and regards

Map rotation after loading map

Several times the map rotated after loading a map. Basically it's not the map rotating but the docking station.
I therefore forked your project and did some minor changes to the code, like adding some more needed files and added logging via mqtt. Check if file exists is also incuded.
@Thyraz Maybe you'll like to merge...
greetz adfx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.