Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Node Name when MAC address ends in 00 #144

Closed
acbuynak opened this issue Sep 2, 2023 · 3 comments · Fixed by #145
Closed

Invalid Node Name when MAC address ends in 00 #144

acbuynak opened this issue Sep 2, 2023 · 3 comments · Fixed by #145
Labels
bug Something isn't working dx200 ros2:humble rv:0.1.1 Reported in MotoROS2 0.1.1 yrc1000u yrc1000
Milestone

Comments

@acbuynak
Copy link

acbuynak commented Sep 2, 2023

Issue

My controller has a MAC ending of :6b:c8:00

When the motoros2_config.yaml node_name is set to default, the last MotoROS2 app loads the last byte (00) as a single zero with a space ( 0)

With a default motoros2_config.yaml, this results in...

Config: node_name = 'motoman_6b_c8_ 0'

and the subsequent rclc error code (rcl codes reference)

rclc_node_init_with_options = 201

Operational Patch

My solution was to just manually configure my node_name. This allows everything to work as expected.


State of system which produced issue

MotoROS2 v0.1.1

Hardware
YRC1000
Controller Version: YAS4.73.00A
Robot. 1 x GP20HL

Error on Teach Pendant:

ALARM 8011 - MotoROS2: Fatal Error [5]

Files
1 - 20230901T210604_motoros2_debug_log.txt
2 - micro_ros_terminal_output.txt
3 - PANELBOX.LOG

@acbuynak
Copy link
Author

acbuynak commented Sep 2, 2023

Realizing this could be related to #55?

@gavanderhoorn
Copy link
Collaborator

Thanks for reporting this @acbuynak. And thank you for the clear bug report.

I've opened #145 with what I believe would be the fix.

Realizing this could be related to #55?

The MAC of that controller does contain a zero in the third octet (client key is based on the MAC and is: 0x790A375F). That would indeed be formatted as A, just as in your case.

@gavanderhoorn
Copy link
Collaborator

Added YRC labels as well as this issue is not specific to any controller version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dx200 ros2:humble rv:0.1.1 Reported in MotoROS2 0.1.1 yrc1000u yrc1000
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants