Skip to content

Spectro#124

Open
HGardiner1 wants to merge 14 commits into
umdloop:mainfrom
HGardiner1:spectro
Open

Spectro#124
HGardiner1 wants to merge 14 commits into
umdloop:mainfrom
HGardiner1:spectro

Conversation

@HGardiner1
Copy link
Copy Markdown
Contributor

No description provided.

@HGardiner1 HGardiner1 requested a review from IshanDutta11 May 16, 2026 00:56
Copy link
Copy Markdown
Contributor

@IshanDutta11 IshanDutta11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to continue reviewing this but there are major build problems:
`
CMake Error at CMakeLists.txt:28 (find_package):
By not providing "Findraman_msgs.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"raman_msgs", but CMake did not find one.

Could not find a package configuration file provided by "raman_msgs" with
any of the following names:

raman_msgsConfig.cmake
raman_msgs-config.cmake

Add the installation prefix of "raman_msgs" to CMAKE_PREFIX_PATH or set
"raman_msgs_DIR" to a directory containing one of the above files. If
"raman_msgs" provides a separate development package or SDK, be sure it has
been installed.
`

This is most likely happening because there is another raman_msgs package within the msgs package. Fix this and also describe how to use this to me. It will make it easier to test.

<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<xacro:macro name="laser_ros2_control" params="name can_interface:=can0">
<xacro:macro name="laser_ros2_control" params="name can_interface:=can0 port_id:=0">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just use node_id by a per HWI parameter basis?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a whole package for these messages? Can't you just put it in msgs?

</hardware>

<gpio name="${name}">
<command_interface name="capture_binary"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a param called node_id? I know we only have 1 spectrometer but it will keep everything consistent.

@@ -63,8 +72,10 @@ class LaserHardwareInterface : public hardware_interface::SystemInterface
};

void onCanMessage(const CANLib::CanFrame & frame);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicking but can we make this snake case?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for? I don't see it being used anywhere.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I needed to do this lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants