Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Infinite loop in I2C resetting #4

Open
pazeshun opened this issue May 6, 2019 · 3 comments
Open

Infinite loop in I2C resetting #4

pazeshun opened this issue May 6, 2019 · 3 comments

Comments

@pazeshun
Copy link
Owner

pazeshun commented May 6, 2019

[ERROR] [1557119513.096858608]: Failed to read data of VCNL4040 No. 7
[ INFO] [1557119513.597401347]: Try to re-initialize all I2C sensors
[ERROR] [1557119513.613449289]: Cannot set to channel 0 on Multiplexer 71
[ INFO] [1557119514.114598575]: Try to re-initialize all I2C sensors
[ERROR] [1557119515.114612654]: Cannot set to channel 0 on Multiplexer 70
[ INFO] [1557119515.614877881]: Try to re-initialize all I2C sensors
[ERROR] [1557119516.615321465]: Cannot set to channel 0 on Multiplexer 70
[ INFO] [1557119517.116060707]: Try to re-initialize all I2C sensors
...

The first and third errors are not always the same, but looping error is always the same.
3ac553f doesn't fix this issue.

@pazeshun
Copy link
Owner Author

pazeshun commented May 6, 2019

Re-launching doesn't solve this problem:

$ source ~/apc
_ws/devel/setup.bash && rossetip && rossetmaster baxter && roslaunch sphand_driv
er setup_gripper_v8.launch left_gripper:=true
...
terminate called after throwing an instance of 'std::invalid_argument'
  what():  Cannot set to channel 0 on Multiplexer 70. Check I2C cable connection
...
===============================================================================$
REQUIRED process [gripper_front/limb/left/loop-8] has died!
process has died [pid 4283, exit code -6, cmd /home/pazeshun/apc_ws/devel/lib/sp
hand_driver/gripper_v8_loop_node joint_states:=/robot/joint_states vacuum:=/vacu
um_gripper/limb/left __name:=loop __log:=/home/pazeshun/.ros/log/4d3196b0-6b16-1
1e9-913b-000af716d1cb/gripper_front-limb-left-loop-8.log].
log file: /home/pazeshun/.ros/log/4d3196b0-6b16-11e9-913b-000af716d1cb/gripper_f
ront-limb-left-loop-8*.log
Initiating shutdown!
================================================================================

@pazeshun
Copy link
Owner Author

pazeshun commented May 6, 2019

Current solution: re-plugging all I2C cables...
-> sometimes doesn't work. Then rebooting is needed.

@pazeshun
Copy link
Owner Author

pazeshun commented May 6, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant