when i do bellow tutorial to create hector_slam map with trajectory ,bellow error caused but i can see online map on rviz without any problem and with trajectory, but when i try to save map with hector_geotiff ,map saved without trajectory,
what's problem?
[ERROR] [1392637719.233332009]: Trajectory Server: Transform from /map to scanmatcher_frame failed: Frame id /map does not exist! Frames (1):
[ERROR] [1392637719.467775930]: Trajectory Server: Transform from /map to scanmatcher_frame failed: Frame id /map does not exist! Frames (3): Frame /laser exists with parent /base_link.
Frame /base_link exists with parent NO_PARENT.
slam.launch
ros
hector_mapping.launch
geotiff_mapper.launch
in this file was modified only thing is the path where you save the geotiff generated in this case / home / viki / Desktop / maps
and is run as follows
$ roscore
$ sudo chmod a+rw /dev/ttyACM0
$ rosrun hokuyo_node hokuyo_node
$ uprobotics slam.launch
this is output of `rosservice call trajectory`:
header:
seq: 0
stamp:
secs: 1392735924
nsecs: 220875750
frame_id: /map
pose:
position:
x: 0.0281494148076
y: -0.153469845653
z: 0.0
orientation:
x: 0.0
y: 0.0
z: -0.124254979005
w: 0.992250321337
and this is out put of `rostopic echo trajectory`:
header:
seq: 0
stamp:
secs: 1392735923
nsecs: 969870750
frame_id: /map
pose:
position:
x: 0.0127319339663
y: -0.167738348246
z: 0.0
orientation:
x: 0.0
y: 0.0
z: -0.123253038025
w: 0.992375276102
↧