Skip to content

Conversation

@enrico391
Copy link
Collaborator

Fix #4
Add license in core.py and package.xml

@Noel215
Copy link
Member

Noel215 commented Jul 3, 2025

@enrico391, it's best to keep pull requests focused on a single purpose. Since this one addresses a license fix, you should avoid including unrelated changes.

In the future, try to avoid mixing different features or modifications in the same PR to keep the review process straightforward and efficient.

@enrico391
Copy link
Collaborator Author

So, it's better to create a branch with only the files related to the issue and create a PR from it, right ?

@Noel215
Copy link
Member

Noel215 commented Jul 4, 2025

yes, just like that

self.robot = None

# frame where the external force is applied
self.frame_id = "arm_left_7_link"
Copy link
Member

Choose a reason for hiding this comment

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

Why is this frame hardcoded?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I remove it in the last version (in the last PR)

def robot_description_callback(self, msg):
self.get_logger().info('Received robot description')

self.robot = TorqueCalculator(robot_description = msg.data)
Copy link
Member

Choose a reason for hiding this comment

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

naming coherence is not present here. we shall talk about this in next meeting

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok yes, it is better to change that name

Comment on lines +163 to +182
# force = Marker()
# force.header.frame_id = frame_id
# force.header.stamp = self.get_clock().now().to_msg()
# force.ns = "external_force"
# force.id = id_force
# force.type = Marker.ARROW
# force.action = Marker.ADD
# force.scale.x = 0.20
# force.scale.y = 0.05
# force.scale.z = 0.05
# force.color.a = 1.0 # Alpha
# force.color.r = 0.0 # Red
# force.color.g = 0.0
# force.color.b = 1.0 # Blue
# # Set the direction of the arrow based on the external force
# force.pose.orientation.x = external_force[id_force].linear[0]
# force.pose.orientation.y = external_force[id_force].linear[1]
# force.pose.orientation.z = external_force[id_force].linear[2]
# force.pose.orientation.w = 0.0 # Set to 1.0 for a straight arrow
# self.publisher_force.publish(force)
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, I removed it in the last PR

],
install_requires=['setuptools'],
zip_safe=True,
maintainer='morolinux',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
maintainer='morolinux',
maintainer='Enrico Moro',

@saikishor saikishor merged commit 29341d0 into master Jul 10, 2025
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.

Update Apache 2.0 License on all headers and libraries

4 participants