tiiuae / rclgo

ROS Client Library for Golang
Apache License 2.0
81 stars 14 forks source link

Is Iron distro not supported? #24

Open markosoomets1 opened 1 month ago

markosoomets1 commented 1 month ago

So does this library only support humble distro or can Iron also be supported somehow? Tried to generate the messages by ignoring distro mismatch but the generated file is empty

go run github.com/tiiuae/rclgo/cmd/rclgo-gen generate -d msgs --include-go-package-deps ./... --ignore-ros-distro-mismatch

msgs/msgs.gen.go

// Code generated by rclgo-gen. DO NOT EDIT.

package msgs

import (
)
jan-ati commented 2 weeks ago

I am still working on updating the Github Actions for the repository but a work-in-progress for ros:iron can be found here: https://github.com/ATIinc/rclgo.

Ultimately, the only required changes are:

  1. Updating the defaultDistro value in the cmd/rclgo-gen/cmd/generate.go file

  2. Adding the additional include paths required by the updated ros2 distro in the pkg/gogen/gogen.go file

  3. Running make generate to update the files in the internal directory