Giter Site home page Giter Site logo

VMRC Example Tutorial not working about vrx HOT 17 CLOSED

osrf avatar osrf commented on July 20, 2024
VMRC Example Tutorial not working

from vrx.

Comments (17)

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Brian Bingham (Bitbucket: brian_bingham).


  • set milestone to "0.2"

This tutorial is really a part of PR https://osrf-migration.github.io/vrx-gh-pages/#!/osrf/vmrc/pull-requests/44

Could you try the tutorial using that branch?

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


The first command now runs without error (when I switch to the new branch), but the localization example is still failing. The substance of the error message seems to be the same:
"Could not find parameter robot_description on the parameter server" and, later, "[rob_st_pub-2] process has died"

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Brian Bingham (Bitbucket: brian_bingham).


Could you post the entire output of the command roslaunch wamv_gazebo localization_example.launch
(This command should be the same on either branch.)

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


Yes. The entire output is posted above. Running again gives the same result, except pids, etc. vary as expected.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).


Just checking, do you have the ros-kinetic-robot-localization package installed?

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


I do.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Brian Bingham (Bitbucket: brian_bingham).


@M1chaelM Could you run this

roslaunch wamv_gazebo localization_example.launch

and the paste the output as a code block so that it is verbatim? The formatting above is making it difficult to parse.

When I run the example, I get...

bsb@aku:~/vmrc_ws$ roslaunch wamv_gazebo localization_example.launch
... logging to /home/bsb/.ros/log/78155dc6-aa46-11e8-b753-408d5c555554/roslaunch-aku-12792.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://aku:46461/

SUMMARY
========

PARAMETERS
 * /ekf_localization/base_link_frame: base_link
 * /ekf_localization/frequency: 60
 * /ekf_localization/imu0: imu/data
 * /ekf_localization/imu0_config: [False, False, Fa...
 * /ekf_localization/imu0_differential: False
 * /ekf_localization/imu0_remove_gravitational_acceleration: True
 * /ekf_localization/map_frame: map
 * /ekf_localization/odom0: odometry/gps
 * /ekf_localization/odom0_config: [True, True, True...
 * /ekf_localization/odom0_differential: False
 * /ekf_localization/odom_frame: odom
 * /ekf_localization/publish_tf: True
 * /ekf_localization/sensor_timeout: 2.0
 * /ekf_localization/smooth_lagged_data: True
 * /ekf_localization/two_d_mode: False
 * /ekf_localization/world_frame: odom
 * /navsat_transform_node/broadcast_utm_transform: True
 * /navsat_transform_node/datum: [21.30996, -157.8...
 * /navsat_transform_node/frequency: 60
 * /navsat_transform_node/magnetic_declination_radians: 0
 * /navsat_transform_node/publish_filtered_gps: True
 * /navsat_transform_node/use_odometry_yaw: True
 * /navsat_transform_node/wait_for_datum: True
 * /navsat_transform_node/yaw_offset: 0
 * /rosdistro: kinetic
 * /rosversion: 1.12.13

NODES
  /
    ekf_localization (robot_localization/ekf_localization_node)
    navsat_transform_node (robot_localization/navsat_transform_node)
    rob_st_pub (robot_state_publisher/robot_state_publisher)

ROS_MASTER_URI=http://localhost:11311

process[rob_st_pub-1]: started with pid [12815]
process[ekf_localization-2]: started with pid [12816]
process[navsat_transform_node-3]: started with pid [12827]
[ INFO] [1535411644.220203195]: Datum (latitude, longitude, altitude) is (21.309960, -157.890100, 0.000000)
[ INFO] [1535411644.220247975]: Datum UTM coordinate is (615116.100362, 2356857.621317)
[ INFO] [1535411644.220271722]: Initial odometry pose is Origin: (0 0 0)
Rotation (RPY): (0, -0, 0)

[ INFO] [1535411644.231072735]: Corrected for magnetic declination of 0.000000 and user-specified offset of 0.000000. Transform heading factor is now 0.000000
[ INFO] [1535411644.231100779]: Transform world frame pose is: Origin: (0 0 0)
Rotation (RPY): (0, -0, 0)

[ INFO] [1535411644.231122696]: World frame->utm transform is Origin: (-615116.10036203637719 -2356857.6213171021082 0)
Rotation (RPY): (0, 0, -1.6798231958602382502e-322)

[ WARN] [1535411644.388668282, 3597.761000000]: Detected jump back in time of 1.53541e+09s. Clearing TF buffer.
[ WARN] [1535411644.764174460, 3598.137000000]: Transform from base_link to odom was unavailable for the time requested. Using latest instead.

[ WARN] [1535411646.777446751, 3600.137000000]: Transform from base_link to odom was unavailable for the time requested. Using latest instead.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


  • Edited issue description
    Fixed formatting of error output.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


I added backticks to the output so it's easier to read. I can also repost the output if you prefer. Just let me know what's easiest.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).


Could you check the output of this command?

rosparam get /robot_description

Also, could you double check that you pull, update and recompile from the last version of default?

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


OK, I ran:

#!bash

hg up default
hg pull
catkin_make
roslaunch wamv_gazebo localization_example.launch

and got the same errors as above.
Then I ran:

#!bash

rosparam get /robot_description

and got:

ERROR: Parameter [/robot_description] is not set

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).


I'm sure you probably have the latest code but you should run hg pull first, and then, hg update.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


OK, I did that too. Still no robot_description parameter though.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Brian Bingham (Bitbucket: brian_bingham).


Hmmm - are you running on a laptop? Maybe you could bring it buy tomorrow and I could take a look?

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


Sure, no problem.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


The problem was that I didn't understand the relationship between the commands described in this tutorial. In particular, that Gazebo produces the simulated input needed by the robot_localization package, so the first command must continue to run for the second to work, and likewise both commands must be running for the third to work (since rviz is using the robot localization data). I've edited the instructions to suggest opening a new terminal so my fellow noobs are not tripped up by this.

from vrx.

osrf-migration avatar osrf-migration commented on July 20, 2024

Original comment by Michael McCarrin (Bitbucket: m1chaelm).


  • changed state from "new" to "resolved"

Tutorial is now running without errors.

from vrx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.