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

basic build error with preprocessed_bus.yml ??? #255

Open
LudoJ49 opened this issue Jan 27, 2024 · 3 comments
Open

basic build error with preprocessed_bus.yml ??? #255

LudoJ49 opened this issue Jan 27, 2024 · 3 comments
Labels
question Further information is requested

Comments

@LudoJ49
Copy link

LudoJ49 commented Jan 27, 2024

Hi,
I'm tyrying to create a master following the datasheet.
I have done yml and launch file following the doc

Sans titre

I have the below error. Why is it looking for preprocessed_bus.yml not bus.yml ?

logs:

Starting >>> my_canopen

--- stderr: my_canopen                         

sed: can't read /home/ludo/build/my_canopen/config/myCanOpenBus/preprocessed_bus.yml: No such file or directory

gmake[2]: *** [CMakeFiles/myCanOpenBus.dir/build.make:74: myCanOpenBus] Error 2

gmake[1]: *** [CMakeFiles/Makefile2:165: CMakeFiles/myCanOpenBus.dir/all] Error 2

gmake: *** [Makefile:146: all] Error 2

---

Failed   <<< my_canopen [1.91s, exited with code 2]

                                

Summary: 0 packages finished [2.81s]

  1 package failed: my_canopen

  1 package had stderr output: my_canopen

Setup:

  • Device: virtual machine
  • OS: Ubuntu 22.04
  • ROS-Distro: Humble
  • Branch/Commit: Humble
@LudoJ49 LudoJ49 added the question Further information is requested label Jan 27, 2024
@ipa-vsp
Copy link
Member

ipa-vsp commented Jan 29, 2024

Hey @LudoJ49,

it seems like there's an issue with your 'bus.yml' file. Could you please share the contents of that file?

The preprocessed yml file is generated from the bus.yml.

@LudoJ49
Copy link
Author

LudoJ49 commented Jan 30, 2024

after renaming my bus directory, it seems to woek.

But I have another issue.

Where is that 1F85 object comming from ? I don't have it in my ESD file.

it seems the device does not go into operating stage...

Also, why do I have a timeout on 6061 ?

[device_container_node-1] [WARN] [1706640803.740556615] [my_canopen_bus]: Wait for device to boot.
[device_container_node-1] [ERROR] [1706640804.761704919] [my_canopen_bus]: Boot Issue: Value of object 1018:01 from CANopen device is different to value in object 1F85 (Vendor-ID).
[device_container_node-1] [INFO] [1706640804.761780391] [my_canopen_bus]: Driver booted and ready.
[device_container_node-1] [INFO] [1706640804.764332542] [my_canopen_bus]: Starting with event mode.
[device_container_node-1] sync_sdo_read_typed: id=4 index=0x6061 subindex=0 timed out.

@hellantos
Copy link
Member

This is because the object 1018 in eds and objct 1018 of your device on the bus are not the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants