View Single Post
  #4   Spotlight this post!  
Unread 06-01-2017, 07:47
DaveFrederick's Avatar
DaveFrederick DaveFrederick is offline
Registered User
FRC #1895
 
Join Date: Jan 2009
Location: Manassas,VA
Posts: 37
DaveFrederick is a jewel in the roughDaveFrederick is a jewel in the roughDaveFrederick is a jewel in the rough
Re: FRCSim, Gazebo v7, and GearsBot example

Neil,
The errors are not familiar.
Recommend you review file permissions in the plugin folder.
Below I have provided 3 sets of data.
1) I have listed the files and permissions in the plugin folder.
2) The permissions of the physics engine file
3 )The start up log of my Gazebo.

I am running a model that I created. (The lego car with 6 wheels)
Which model are you running?

Dave Frederick
=====================================

robot@robotCPU:~/wpilib/simulation/plugins$ pwd
/home/robot/wpilib/simulation/plugins

robot@robotCPU:~/wpilib/simulation/plugins$ ls -ltr
-rwxr-xr-x 1 robot robot 1663065 Feb 11 2016 libservo.so
-rwxr-xr-x 1 robot robot 1475620 Feb 11 2016 libclock.so
-rwxr-xr-x 1 robot robot 1659314 Feb 11 2016 libdc_motor.so
-rwxr-xr-x 1 robot robot 1781580 Feb 11 2016 libencoder.so
-rwxr-xr-x 1 robot robot 1781248 Feb 11 2016 libgyro.so
-rwxr-xr-x 1 robot robot 2093881 Feb 11 2016 liblimit_switch.so
-rwxr-xr-x 1 robot robot 1665607 Feb 11 2016 libpneumatic_piston.so
-rwxr-xr-x 1 robot robot 1486513 Feb 11 2016 libpotentiometer.so
-rwxr-xr-x 1 robot robot 1494808 Feb 11 2016 librangefinder.so
-rwxr-xr-x 1 robot robot 1659314 Apr 16 2016 libgz_dc_motor.so
-rwxr-xr-x 1 robot robot 1475620 Apr 16 2016 libgz_clock.so
-rwxr-xr-x 1 robot robot 1781248 Nov 19 17:43 libgz_gyro.so
-rwxr-xr-x 1 robot robot 1781580 Nov 23 19:20 libgz_encoder.so
-rwxr-xr-x 1 robot robot 1494808 Dec 26 11:38 libgz_rangefinder.so
robot@robotCPU:~/wpilib/simulation/plugins$

======================================
robot@robotCPU:~/wpilib/simulation/plugins$ ls -ltr /usr/lib/x86_64-linux-gnu/libgazebo_physics.so

lrwxrwxrwx 1 root root 22 Apr 7 2016 /usr/lib/x86_64-linux-gnu/libgazebo_physics.so -> libgazebo_physics.so.6

==============

Gazebo multi-robot simulator, version 6.6.0
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Gazebo multi-robot simulator, version 6.6.0
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.65.130
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.65.130
[Msg] Initializing clock: /gazebo/frc/time
[Msg] Initializing gyro: /gazebo/frc/simulator/analog/0 link=CarBody axis=2 radians=0
[Msg] Initializing rangefinder: /gazebo/frc/simulator/analog/1 sensor=CarBodyUltrasonic
[Msg] Initializing motor: /gazebo/frc/simulator/pwm/1 joint=CarBody-FrontLeftWheel multiplier=25
[Msg] Initializing motor: /gazebo/frc/simulator/pwm/2 joint=CarBody-FrontRightWheel multiplier=25
[Msg] Initializing motor: /gazebo/frc/simulator/pwm/3 joint=CarBody-RearLeftWheel multiplier=25
[Msg] Initializing motor: /gazebo/frc/simulator/pwm/4 joint=CarBody-RearRightWheel multiplier=25
[Msg] Initializing motor: /gazebo/frc/simulator/pwm/5 joint=CarBody-CenterLeftWheel multiplier=25
[Msg] Initializing encoder: /gazebo/frc/simulator/dio/0/1 joint=CarBody-CenterLeftWheel radians=0
[Msg] Initializing motor: /gazebo/frc/simulator/pwm/6 joint=CarBody-CenterRightWheel multiplier=25
[Msg] Initializing encoder: /gazebo/frc/simulator/dio/2/3 joint=CarBody-CenterRightWheel radians=0
Reply With Quote