Comments (5)
I'm having troubles reproducing this. Does the string's font change if you change it through the UI?
from mapviz.
Okay, if I copy in your config I see the same behavior, so I think it's something was saved in a bad state, and the program is silently falling back to its defaults. I'll try to figure out what's wrong with the format, and also improve the behavior when the system fails to load the setting correctly.
Do you have any ideas on how it might have gotten into a bad state? Did the program crash before this?
from mapviz.
Thank you for your kind reply^^.
There was no program crash, and I am using mapviz on several versions of Ubuntu (docker). The default font works fine, changing its size and position also works well. I've checked that the configuration is well saved in ~/.mapviz_config.
However, when I run the program again, the string is displayed in the default font and position (0,0) instead of the changed settings. This means that the saved configuration of /.mapviz_config for string is not reflected. This problem only occurs with humble-ubuntu22 (package with "git clone -b ros2-devel here"). This problem does not occur in melodic-ubuntu18. Apart from this problem, foxy-ubuntu20 has not been tested because the UI update is unstable.
Of course, other settings except for string (e.g. navsat, pose, etc.) are reflected well.
from mapviz.
I think it might be related to the '5' in the font description string. I believe it's the font style hint as described here: https://doc.qt.io/qt-5/qfont.html#StyleHint-enum. When I try to set Sans Serif on my test computer, it sets that value to 0. I'm not sure why that would cause a problem.
Could you try changing the 5 in that string to 0 in your configuration and see if that fixes your problem? It would make me more confident that I'm fixing the right problem.
from mapviz.
I have pushed a change to the ros2-devel
branch that will at least show us an error when it can't load the correct font. Would you mind giving it a try and telling me if it helps with your problem?
from mapviz.
Related Issues (20)
- Fixed Frame and Target Frame HOT 1
- Release binaries for ROS 2? HOT 16
- I can't get the mapviz HOT 2
- Display ROS2 build status HOT 1
- Error while adding navsat
- Stamen (terrain) not showing anything and no errors HOT 1
- Plot Google Maps in RVIZ HOT 3
- Unable to see fix messages HOT 2
- Tile map didn't show tile maps?
- remote rosmaster via Husarnet: Tile map only shows map when mapviz is initialised before the first NavSatFix message HOT 1
- Add duplicate and rename buttons to plugin panel
- Add plugin control keyboard shortcuts
- Update Min/Max values when Auto is triggered For Pointcloud plugin
- Missing GLUT HOT 1
- Not able to launch mapviz
- mapviz ros-foxy not display any map HOT 1
- mapviz on ros2 iron not show the map [SOLVED] HOT 1
- Which plugin/companion project for scalable offline multi resolution maps in MapViz?
- multires_image wont display more than one level
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapviz.