Comments (7)
I missed the message about ros2_control_node in the launch screen output as follows
[ros2_control_node-1] [WARN] [1707454373.341672747] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
[ros2_control_node-1] [FATAL] [1707454373.352680649] [controller_manager]: System cannot communicate with servo motors. Error message: Permission denied
[ros2_control_node-1] terminate called after throwing an instance of 'std::runtime_error'
[ros2_control_node-1] what(): Failed to configure 'hsrb'
It seems to contain two problems.
- Publisher already registered for provided node name.
- System cannot communicate with servo motors. Error message: Permission denied
How do I solve tem?
from hsr_ros2_doc.
I followed the code and found that the servo's device file is /dev/ttyCTI2
.
https://github.com/hsr-project/hsrb_robot_hardware/blob/main/src/hsrb_robot_hardware/hsrb_hw.cpp#L43
ls -l /dev/ttyCTI2
crw-rw---- 1 root dialout 234, 2 2月 9 08:21 /dev/ttyCTI2
I ran the following, but it did not make any difference.
sudo adduser masutani dialout
where masutani
is my user name.
I did the following, then ros2_control_node
is not dead.
sudo chmod a+rw /dev/ttyCTI2
Is this procedure appropriate?
from hsr_ros2_doc.
Was the user "masutani" created using the adduser command?
If a user was created with the adduser command, the user should have the necessary permissions.
https://docs.hsr.io/hsrc_user_manual_en/howto/pc_setup_for_robot.html#id10
from hsr_ros2_doc.
Yes. I used adduser command to create the account.
from hsr_ros2_doc.
How can I check my permission on HSR?
I checked /etc/groups and tried add my account to some groups.
from hsr_ros2_doc.
The added user should have the following permissions.
You can check this by using the 'groups' command while logged in as that user.
dialaout, audio, video, plugdev, pulse, realtime-control, gpio
from hsr_ros2_doc.
Today I used the groups command to see which groups my account belongs to.
$ groups
masutani dialout sudo audio video plugdev pulse realtime-control gpio
I checked /dev/ttyCTI2.
$ ls -l /dev/ttyCTI2
crw-rw---- 1 root dialout 234, 2 2月 13 09:24 /dev/ttyCTI2
The permissions on /dev/ttyCTI2 were restored.
But, I stopped docker.hsrb.roscore.service
, released the stop button, and executed the following command,
$ ros2 launch hsrb_bringup hsrb.launch.py
Then I confirmed that ros2_control_node did not die, that the HSR arm worked through action communication, and that the camera nodes published Image topic.
I can't tell the difference from the last time.
from hsr_ros2_doc.
Related Issues (14)
- HSR-C simulator error in ROS2 HOT 2
- Cannot get the sensor information of HSR on Rviz HOT 4
- rosdep error on actual robot HOT 2
- Build problem for actual robot HOT 2
- Where are calibration files for hand_camera and head_center_camera driver? HOT 4
- The map does not show up on Rviz
- HSR in Gazebo hops HOT 22
- (Sim) Very strange movement for /omni_base_controller/command_velocity topic HOT 3
- [ERROR]Controller manager not available HOT 5
- Can't update static costmap layer, no map receive HOT 2
- [ERROR] [1711077612.076564900] [controller_server]: Failed to make progress HOT 1
- [ERROR] [1711077612.076564900] [controller_server]: Failed to make progress HOT 3
- The actual gripper does not close HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsr_ros2_doc.