Repository for MA RWTH. Compared with the original Repository, the main differences are:
- Add hdl_map_update package.
- Modifiy the globalmap_server_nodelet.cpp in the hdl_localization/apps to match the new algorithm.
cd ~
git clone https://github.com/YunongPan/ma_ws.git
cd ~/ma_ws
catkin_make
- Put .pcd file of big point cloud map into
/ma_ws/src/hdl_map_update/pcd_files
- Modify
original_file_pcd
in/ma_ws/src/hdl_map_update/pcd_files/pcd_splitter.py
to match the name of large point cloud map. - Modify
chunk_size
. cd ~/ma_ws/src/hdl_map_update/pcd_files
python pcd_splitter.py
- Start testing with installing urbant_ws. Please see https://git.rwth-aachen.de/mobile-robotics/urbant/urbant_ws
- Copy the
ma_515.world
file in/ma_ws/src/hdl_map_update/world
into/urbant_ws/src/urbant_simulation/worlds
- Modify the value of "world_name" in
urbant_ws/src/urbant_simulation/launch/world/city.launch
to "$(find urbant_simulation)/worlds/ma_515.world" - Open a terminal,
cd ~/urbant_ws
roslaunch urbant_simulation start.launch gpu:=false gazebo_gui:=true gps_switch:=true lidar_switch:=true world:=city
- Modify parameters in
/ma_ws/src/hdl_localization/apps/globalmap_server_nodelet.cpp
and/ma_ws/src/hdl_map_update/src/map_update.cpp
- Open a terminal,
cd ~/ma_ws
catkin_make
- Open a terminal,
cd ~/ma_ws
roslaunch hdl_localization hdl_localization_urbant.launch
- Open a terminal,
cd ~/ma_ws
roscd hdl_localization/rviz
rviz -d hdl_localization.rviz
- Open a terminal,
cd ~/ma_ws
roslaunch geonav_transform geonav_transform.launch
- Open a terminal,
cd ~/ma_ws
rosrun hdl_map_update map_update
- Open a terminal,
rosservice call /set_gps_pos
- Open a terminal,
rosrun teleop_twist_keyboard teleop_twist_keyboard.py
to control robot.