Commit 4b679509 authored by Projekt Robbie's avatar Projekt Robbie
Browse files

Merge branch 'master' of gitlab.uni-koblenz.de:robbie/homer_mapping into...

Merge branch 'master' of gitlab.uni-koblenz.de:robbie/homer_mapping into refactoring/cpp_optimization
parents f3ed54a6 a7f74307
......@@ -2,6 +2,29 @@
Changelog for package homer_mapping
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.1.58 (2019-07-31)
-------------------
* Moved functions from robot.py to interfaces.py
* gitignore update
* Everything prepared for filling interfaces.py
* Added more const and calls by const reference where applicable; Added TODO file because of Qt dependency
* Added some const statements where applicable
* Added c++14 support and use of unique_ptr instead of raw pointer for HyperParticleFilter attribute in slam node
* clangformat file added and applied
* minor config formatting
* 0.1.57
* tiago parameter up
* 0.1.56
* tiago param up
* 0.1.55
* added explore_lite functionality
* 0.1.54
* scratchy
* Contributors: Daniel Müller, Lisa, Niklas Yann Wettengel
0.1.53 (2018-07-31)
-------------------
0.1.41 (2018-04-11)
-------------------
......
......@@ -29,6 +29,8 @@ endif()
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
find_package(Qt5 REQUIRED COMPONENTS Core Widgets)
# Install python imports of this package using catkin
catkin_python_setup()
set(CMAKE_BUILD_TYPE Release)
......
<package>
<name>homer_mapping</name>
<version>0.1.57</version>
<version>0.1.58</version>
<description>
homer_mapping
......
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['homer_mapping'],
package_dir={'': 'src'}
)
setup(**setup_args)
#!/usr/bin/python
import rospy
from std_msgs.msg import Bool
from geometry_msgs.msg import Pose
class MappingInterface:
@staticmethod
def do_mapping(active):
"""
This method instructs the mapping to change the map
:boolean: if True the mapping will change the map
"""
rospy.loginfo("[Robot] do mapping %s" % active)
msg = Bool(active)
do_mapping_pub = rospy.Publisher('/homer_mapping/do_mapping',
Bool, queue_size=10)
do_mapping_pub.publish(msg)
@staticmethod
def set_map_pose(pose):
"""
This changes the pose of Lisa to the given Pose
:pose: the geometry_msgs::Pose the mapping should set the Robot to
"""
set_map_pose_pub = rospy.Publisher("homer_mapping/userdef_pose",
Pose, queue_size=1)
set_map_pose_pub.publish(pose)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment