rviz problems
Hello
I installed some package and run them , after that should open up the visualisation tool, in which I should be able to see the wheelchair moving in the map created using the some data. But when opened the rviz the wheelchair is not moving, I got some warning like 3D acceleration is not enable. Im running ubuntu 10.4 on a Virtual Box machine from Oracle.
This is my launch file and the data bag file.
Perform AMCL localisation: runs several nodes to generate odometry from laser scans (ICP) & IMU, loads a map of the POW assessment area, runs AMCL, plays back a dataset for localisation, and runs the visualiser with the correct visualisation parameters configured. -->
<launch>
<node name="rosplay" pkg="rosbag" type="play" args="/home/bojan/Desktop/PowRos/Data/user2/pow_pat1_1_2011-04-01-13-48-20.bag --clock"/>
<node pkg="tf" type="static_transform_publisher" name="baselink_laser" args="0 0 0 0 0 0 /base_link /laser 10"/>
<node pkg="tf" type="static_transform_publisher" name="laser_imu" args="0 0 0 0 0 0 /laser /base_imu 10"/>
<node pkg="tf" type="static_transform_publisher" name="baselink_camera" args="0 0 0 0 0 0 /base_link /camera 10"/>
<!-- Start the map server node and specify the map file (*.pgm) and the map resolution in metres/pixel -->
<node name="map_server" pkg="map_server" type="map_server" args="$(find amcl_listener)/maps/pow_real_time.yaml" output="screen"/>
<!--Start the Laser_scan_matcher package, to provide odometry from laser data (ICP)-->
<node pkg="laser_scan_matcher" type="laser_scan_matcher_node"
name="laser_scan_matcher_node" output="screen">
<param name="use_alpha_beta" value="true"/>
<param name="max_iterations" value="10"/>
</node>
<!-- Start the gmapping node -->
<!--node pkg="gmapping" type="slam_gmapping" name="slam_gmapping" output="screen"/-->
<node pkg="amcl" type="amcl" name="amcl" respawn="true" output="screen">
<param name="base_frame_id" value="base_link"/>
<param name="odom_frame_id" value="world"/>
<param name="global_frame_id" value="map"/>
<param name="update_min_d" value="0.09"/>
<param name="update_min_a" value="0.09"/>
<param name="initial_pose_x" value="-1"/>
<param name="initial_pose_y" value="0"/>
<param name="initial_pose_a" value="-0.1"/>
<param name="min_particles" value="6000"/>
<param name="max_particles" value="8000"/>
<param name="odom_model_type" value="diff"/>
<param name="kld_err" value="0.1"/>
<param name="resample_interval" value="1"/>
<param name="odom_alpha1" value="0.2"/>
<param name="odom_alpha2" value="0.2"/>
<param name="odom_alpha3" value="0.5"/>
<param name="odom_alpha4" value="0.5"/>
<param name="laser_max_beams" value="30"/>
</node>
<!--Start the "analyzer_packages"-->
<!-- acml_listener broadcasts markers for the position of the wheelchair, to visualize in Rviz-->
<node pkg="amcl_listener" type="amcl_pose_listener" name="amcl_listener" output="screen"/>
<!-- Object node records minimal ranges from laser, speed_node will record travel speed of wheelchair -->
<node pkg="pow_analyzer" type="object_node" name="object_node" output="screen"/>
<node pkg="pow_analyzer" type="speed_node" name="speed_node" output="screen"/>
<!-- Start an rviz node with a custom configuration for the viewpoint, map_server, trajectory, laser scans, etc -->
<node pkg="rviz" type="rviz" output="screen" name="rviz" args="-d $(find pow_analyzer)/launch/pow_rviz.vcg"/>
</launch>
Also in the rviz the ROS elapsed time is zero, which should not be the case Any help¿ Ok will explain in details.
Yes Rviz is working ( eg with a grid), is initializing and so on. I ...
Is this enough or need more exactly states?
Any help please?
How to setup to match the data in the logfile? And how to check if odom frame from amcl is "world" or not?
I should run the command rosrun tf tf_echo /map /base_link on the terminal before running the launch?
the rosrun tf tf_echo /map /base_link does not produce nothing. So what should I do?