Closed elgarbe closed 5 years ago
Hello
when you run the command with "parse:=true" (see command below), it is expected that initialization end with that red message. You should run this command when you changed your scenes configurations (xml, xacro files...) or in the first run...
roslaunch usv_sim diffboat_scenario1.launch parse:=true
After that, you can run:
roslaunch usv_sim diffboat_scenario1.launch parse:=false
With this command, gazebo and UWSim should show up... To start simulation, just press the play button on gazebo or run the following command in a terminal:
rosservice call /gazebo/unpause_physics "{}"
If UWSim data already been downloaded, you do not need to run "rosrun uwsim uwsim" again. Look for a hidden folder named ".uwsim" in your home folder.
If you need any additional assistance, please contact me.
Ok, it is working now. thank
I'm running ./diffboat_scenario1 for the tests.
I get this warning:
[ WARN] [1542832681.712273755, 9.104000000]: Failed to call service windCurrent buoy3::link
[ WARN] [1542832681.712399498, 9.104000000]: Failed to call service windCurrent buoy7::link
[ WARN] [1542832681.712459106, 9.104000000]: Failed to call service windCurrent buoy2::link
[ WARN] [1542832681.712582658, 9.104000000]: Failed to call service windCurrent buoy4::link
[ WARN] [1542832681.713019508, 9.104000000]: Failed to call service windCurrent buoy8::link
[ WARN] [1542832681.713269368, 9.104000000]: Failed to call service windCurrent diffboat::fwd_right
[ WARN] [1542832688.546456850, 10.103000000]: Failed to call service windCurrent buoy6::link
[ WARN] [1542832688.546562658, 10.103000000]: Failed to call service windCurrent buoy5::link
[ WARN] [1542832688.551813885, 10.104000000]: Failed to call service windCurrent buoy3::link
[ WARN] [1542832688.551861047, 10.104000000]: Failed to call service windCurrent buoy4::link
[ WARN] [1542832688.551888263, 10.104000000]: Failed to call service windCurrent buoy10::link
[ WARN] [1542832688.551927951, 10.104000000]: Failed to call service windCurrent buoy2::link
[ WARN] [1542832688.552042811, 10.104000000]: Failed to call service windCurrent buoy7::link
do I need to run another package?
No, just ignore that message...
In our branch develop, this warning has been removed...
I'm trying to run scenario1 with diff boat and get this error:
simulation and gazebo shows up, but the simulation does not start.
as a side note, when I run rosrun uwsim uwsim for the first time it install some package a throw an error: