map_server | map_server for Cartographer | YAML Processing library
kandi X-RAY | map_server Summary
kandi X-RAY | map_server Summary
map_server for Cartographer
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of map_server
map_server Key Features
map_server Examples and Code Snippets
Community Discussions
Trending Discussions on map_server
QUESTION
I'm dealing with ros-navigation and its integrated layered costmaps. I have a static map in which obstacles from an occupancy grid need to be inserted. Since Obstacle Layer only can handle specific data (pointclouds from laser scanners etc.) and is apparently not able to handle a occupancy grid as input, I decided to write a custom layer which takes an occupancy grid and using the marking and clearing function from the occupancy grid to add obstacles and/or free space to the master grid. While running, there are no exceptions thrown. I figured out that the subscriber successfully receives the occupancy grid and enters the callback which at least runs through to the end. However, the updateCost-function (which apparently is responsible to add the modifications to the master grid) is never called (the ROS_INFO never throws its message). Therefore, no local map is generated, which causes RVIZ to throw a "No map received"-warning.
Any ideas of what is wrong with my layer?
The source-code of the custom layer:
...ANSWER
Answered 2020-Jul-07 at 06:20The Problem was in the local_costmap_params.yaml where I renamed my static layer in the plugin-description as static_layer (see on top of the yaml) but declared the map_topic in a therefore non-existing static_layer_path_detection namespace. Therefore, the static layer coundn't find a map_topic.
If you run into a similar issue, make sure all of your plugins in the costmap.yaml are configured properly! All plugins have to receive their input-data for the layered_costmap-file to call the update_costs-function!
A similar issue can be found here.
QUESTION
I have a relatively simple issue with the initialization of the robot pose in navigation stack. After doing a SLAM in the environment and saving the static map from map_server with desired resolution and size, and after finally making it available from static map server, I can not properly initialize my robot pose. Although, the initialization is possible with RVIZ (2D pose estimation option), it is inaccurate obviously since I am doing it by hand. This has a second draw back namely, when I am using a position (/move_base_trajectory topic) tracking instead of velocity tracking (/cmd_vel topic), there is an offset of the current position which I should manually compensate in my low-level controller. Is there any other proper (automatic) pose initialization approach?
PS: I am using Lidar /scan topic to feed costmap functionalities.
I have also tested the initilization of the robot with hector_slam stack which pretty accurate however, with that I am getting a second map which interferes with the first one and pose association does not work.
There should be a more proper approach I guess.
I am loading my static map within the launch file:
ANSWER
Answered 2020-Apr-24 at 02:25Use AMCL for localization in a pre-built map.
You will have to specify an estimate of the initial robot position, which can be done through Rviz or by specifying it as a parameter. The initial position need not be exact, even if it is not very accurate AMCL will refine the position over time.
QUESTION
I am using navigation stack, map_server, and amcl stack to perform move_base. Before the trajectory planning, I am doing an open-loop SLAM with hector_slam stack and save the map from map_server with my desired resolution and size. However, I am getting a nasty warning after I call the map service to load this map, namely
...ANSWER
Answered 2020-Apr-24 at 02:19You are using the old map_server
interface which was map_server
.
The new interafce is map_server
, you can view the map.yaml
format at the map_server wiki.
QUESTION
I'm able to run a server with the Pixelmon mod in the way they instruct, ie. using the forge launcher. I'd like to write a side mod for Pixelmon and am attempting to run the forge server in Eclipse. The server and client run fine with my own mod or no additional mods aside from the ones packaged for modding with forge, but it crashes when I put the pixelmon jar in the mods folder (see trace below).
What I've checked so far:
- forge version 2705 is correct for Pixelmon 6.3.1
- using Java 8
- no .zip extension on the jar file
- didn't extract the jar file
- no OOM issues
- Minecraft 1.12.2 is correct for Pixelmon 6.3.1
Any thoughts on what I may be doing wrong and can try next?
(from the crash log)
A detailed walkthrough of the error, its code path and all known details is as follows: ...ANSWER
Answered 2018-Jul-04 at 23:15An aside about obfuscated names
Minecraft has 3 levels of naming:
- Notch Names - these are the names of methods and fields that Minecraft uses when distributed. Often things like
a.aa
andb.cf2
. This is the fully obfuscated state- SRG Names - these are the names given to methods and fields by the runtime deobfuscation process that Forge performs when you run the game. Compiled mods use these names, as they are consistent across minor versions
- MCP Names - these are the human readable names you see inside Eclipse. These names are supplied by hand when someone figures out what a field or method does via the MCP Bot on IRC. Installing the Forge development environment with the MDK grabs the "current" mappings when you run
gradlew setup
In order to run a mod in the development environment you need to deobfuscate it first, changing SRG names into MCP names, so that it can run in the development environment.
There are a couple ways of doing this:
- Acquire a "sources" jar from the mod's author (subject to the whims of the author; may or may not be public or open source, have an API, etc. etc.)
- Use Code Chicken Core to perform a runtime deobf in Eclipse (may or may not work; note: you want the sources jar)
- Using a tool like BON2 (never used it, should work)
- use Gradle to deobfuscate the mod (should always work)
The problem with option 4 here, is that while I know it's possible I can't (and haven't been able to for some time) find the necessary instructions. The things I can find now, posted by people who would know how to do 4 are suggesting doing 3.
QUESTION
This maybe something very basic but I haven't been able to get an answer anywhere else thus far. I want to use roslaunch to run map_server and rviz consecutively in order to visualize a map. Here is how my launch file looks like -
...ANSWER
Answered 2017-May-16 at 10:28From your launch file I assume mapwork
is a package. If that is the case, you can use the find
package command as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install map_server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page