bandasaikrishna / Autonomous_Mobile_Robot

Autonomous mobile robot navigation using ROS Navigation Stack.
160 stars 75 forks source link

Issues in case of controller_check.launch #4

Closed vijaybande closed 3 years ago

vijaybande commented 3 years ago

while running controller_check.launch I am getting " Device File not available. Aborting read"

ghost commented 3 years ago

I am also suffering from the same error.

... logging to /home/user/.ros/log/24fe7864-888a-11eb-bda4-bb6933ebd3a4/roslaunch-user-3515.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://user:39347/

SUMMARY
========

PARAMETERS
 * /joint_limits/left_wheel_joint/has_acceleration_limits: False
 * /joint_limits/left_wheel_joint/has_effort_limits: False
 * /joint_limits/left_wheel_joint/has_jerk_limits: False
 * /joint_limits/left_wheel_joint/has_position_limits: False
 * /joint_limits/left_wheel_joint/has_velocity_limits: True
 * /joint_limits/left_wheel_joint/max_acceleration: 0.0
 * /joint_limits/left_wheel_joint/max_effort: 0
 * /joint_limits/left_wheel_joint/max_jerk: 0
 * /joint_limits/left_wheel_joint/max_position: 0
 * /joint_limits/left_wheel_joint/max_velocity: 2.62
 * /joint_limits/left_wheel_joint/min_effort: 0
 * /joint_limits/left_wheel_joint/min_position: 0
 * /joint_limits/left_wheel_joint/min_velocity: -2.62
 * /joint_limits/right_wheel_joint/has_acceleration_limits: False
 * /joint_limits/right_wheel_joint/has_effort_limits: False
 * /joint_limits/right_wheel_joint/has_jerk_limits: False
 * /joint_limits/right_wheel_joint/has_position_limits: False
 * /joint_limits/right_wheel_joint/has_velocity_limits: True
 * /joint_limits/right_wheel_joint/max_acceleration: 0.0
 * /joint_limits/right_wheel_joint/max_effort: 0
 * /joint_limits/right_wheel_joint/max_jerk: 0
 * /joint_limits/right_wheel_joint/max_position: 0
 * /joint_limits/right_wheel_joint/max_velocity: 2.62
 * /joint_limits/right_wheel_joint/min_effort: 0
 * /joint_limits/right_wheel_joint/min_position: 0
 * /joint_limits/right_wheel_joint/min_velocity: -2.62
 * /mobile_robot/joints_update/publish_rate: 50
 * /mobile_robot/joints_update/type: joint_state_contr...
 * /mobile_robot/mobile_base_controller/angular/z/has_acceleration_limits: True
 * /mobile_robot/mobile_base_controller/angular/z/has_jerk_limits: True
 * /mobile_robot/mobile_base_controller/angular/z/has_velocity_limits: True
 * /mobile_robot/mobile_base_controller/angular/z/max_acceleration: 0.5
 * /mobile_robot/mobile_base_controller/angular/z/max_jerk: 1
 * /mobile_robot/mobile_base_controller/angular/z/max_velocity: 1.0472
 * /mobile_robot/mobile_base_controller/base_frame_id: base_link
 * /mobile_robot/mobile_base_controller/cmd_vel_timeout: 0.25
 * /mobile_robot/mobile_base_controller/left_wheel: left_wheel_joint
 * /mobile_robot/mobile_base_controller/linear/x/has_acceleration_limits: True
 * /mobile_robot/mobile_base_controller/linear/x/has_jerk_limits: False
 * /mobile_robot/mobile_base_controller/linear/x/has_velocity_limits: True
 * /mobile_robot/mobile_base_controller/linear/x/max_acceleration: 0.025
 * /mobile_robot/mobile_base_controller/linear/x/max_jerk: 2.0
 * /mobile_robot/mobile_base_controller/linear/x/max_velocity: 0.1
 * /mobile_robot/mobile_base_controller/linear/x/min_acceleration: -0.025
 * /mobile_robot/mobile_base_controller/linear/x/min_velocity: -0.1
 * /mobile_robot/mobile_base_controller/pose_covariance_diagonal: [0.001, 0.001, 10...
 * /mobile_robot/mobile_base_controller/publish_rate: 50.0
 * /mobile_robot/mobile_base_controller/right_wheel: right_wheel_joint
 * /mobile_robot/mobile_base_controller/twist_covariance_diagonal: [0.001, 0.001, 10...
 * /mobile_robot/mobile_base_controller/type: diff_drive_contro...
 * /mobile_robot/mobile_base_controller/wheel_radius: 0.04
 * /mobile_robot/mobile_base_controller/wheel_radius_multiplier: 1.0
 * /mobile_robot/mobile_base_controller/wheel_separation: 0.18
 * /mobile_robot/mobile_base_controller/wheel_separation_multiplier: 1.0
 * /robot_description: <?xml version="1....
 * /rosdistro: noetic
 * /rosversion: 1.15.9

NODES
  /
    controller_spawner (controller_manager/spawner)
    robot_hardware_interface (mobile_robot_autonomous_navigation/mobile_robot_hardware_interface)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)

auto-starting new master
process[master]: started with pid [3525]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 24fe7864-888a-11eb-bda4-bb6933ebd3a4
process[rosout-1]: started with pid [3535]
started core service [/rosout]
process[robot_hardware_interface-2]: started with pid [3542]
process[robot_state_publisher-3]: started with pid [3543]
process[rviz-4]: started with pid [3544]
[ERROR] [1616141251.262584453]: Couldn't open I2C Bus 0 [openfd():open 2]
[ERROR] [1616141251.269328046]: I2C slave 8 failed [openfd():ioctl 9]
[ERROR] [1616141251.269863482]: Couldn't open I2C Bus 1 [openfd():open 13]
[ERROR] [1616141251.269956203]: I2C slave 9 failed [openfd():ioctl 9]
process[controller_spawner-5]: started with pid [3550]
[ERROR] [1616141251.627434753]: Device File not available. Aborting read
[ERROR] [1616141251.627596250]: Device File not available. Aborting read
[ERROR] [1616141251.727291223]: Device File not available. Aborting read
[ERROR] [1616141251.727414425]: Device File not available. Aborting read
[ERROR] [1616141251.827256932]: Device File not available. Aborting read
[ERROR] [1616141251.827378319]: Device File not available. Aborting read
[ERROR] [1616141251.927267288]: Device File not available. Aborting read
[ERROR] [1616141251.927386768]: Device File not available. Aborting read
[ERROR] [1616141252.027304718]: Device File not available. Aborting read
[ERROR] [1616141252.027452679]: Device File not available. Aborting read
[ERROR] [1616141252.127297723]: Device File not available. Aborting read
[ERROR] [1616141252.127428758]: Device File not available. Aborting read
[INFO] [1616141252.200992]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1616141252.213016]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1616141252.221809]: Controller Spawner: Waiting for service controller_manager/unload_controller
[ERROR] [1616141252.227358005]: Device File not available. Aborting read
[ERROR] [1616141252.227487373]: Device File not available. Aborting read
[INFO] [1616141252.231349]: Loading controller: /mobile_robot/joints_update
[ERROR] [1616141252.327259567]: Device File not available. Aborting read
[ERROR] [1616141252.327395102]: Device File not available. Aborting read
[INFO] [1616141252.328758]: Loading controller: /mobile_robot/mobile_base_controller
[ INFO] [1616141252.355144534]: Controller state will be published at 50Hz.
[ INFO] [1616141252.359806625]: Wheel separation will be multiplied by 1.
[ INFO] [1616141252.362829204]: Left wheel radius will be multiplied by 1.
[ INFO] [1616141252.362979591]: Right wheel radius will be multiplied by 1.
[ INFO] [1616141252.364939781]: Velocity rolling window size of 10.
[ INFO] [1616141252.368063359]: Velocity commands will be considered old if they are older than 0.25s.
[ INFO] [1616141252.370372969]: Allow mutiple cmd_vel publishers is enabled
[ INFO] [1616141252.373841894]: Base frame_id set to base_link
[ INFO] [1616141252.375285296]: Odometry frame_id set to odom
[ INFO] [1616141252.377349336]: Publishing to tf is enabled
[ERROR] [1616141252.427276016]: Device File not available. Aborting read
[ERROR] [1616141252.427424013]: Device File not available. Aborting read
[ INFO] [1616141252.430225838]: Odometry params : wheel separation 0.18, left wheel radius 0.04, right wheel radius 0.04
[ INFO] [1616141252.437641994]: Adding left wheel with joint name: left_wheel_joint and right wheel with joint name: right_wheel_joint
[ INFO] [1616141252.477879388]: Dynamic Reconfigure:
DynamicParams:
    Odometry parameters:
        left wheel radius multiplier: 1
        right wheel radius multiplier: 1
        wheel separation multiplier: 1
    Publication parameters:
        Publish executed velocity command: disabled
        Publication rate: 50
        Publish frame odom on tf: enabled
[ERROR] [1616141252.527265299]: Device File not available. Aborting read
[ERROR] [1616141252.527408167]: Device File not available. Aborting read
[INFO] [1616141252.528493]: Controller Spawner: Loaded controllers: /mobile_robot/joints_update, /mobile_robot/mobile_base_controller
[ERROR] [1616141252.627321803]: Device File not available. Aborting read
[ERROR] [1616141252.627481930]: Device File not available. Aborting read
[INFO] [1616141252.628878]: Started controllers: /mobile_robot/joints_update, /mobile_robot/mobile_base_controller
[ERROR] [1616141252.727312585]: Device File not available. Aborting read
[ERROR] [1616141252.727488953]: Device File not available. Aborting read

If you have a solution, I would appreciate it if you could let me know.

vijaybande commented 3 years ago

this issues resolved

mehmetaksu2034 commented 3 years ago

Hi, how can you solve this problem? Can you help me pls.

vijaybande commented 3 years ago

Kindly check your i2c buses are available or not??

On Fri, 21 May, 2021, 4:29 am mehmetaksu2034, @.***> wrote:

Hi, how can you solve this problem? Can you help me pls.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bandasaikrishna/Autonomous_Mobile_Robot/issues/4#issuecomment-845535715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIGR3LAF672I4KBEGDWSBGDTOWH57ANCNFSM4VL4JDHQ .