Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Original from bitbucket #2

Merged
merged 10 commits into from
Apr 12, 2022
Merged

Original from bitbucket #2

merged 10 commits into from
Apr 12, 2022

Conversation

andermi
Copy link
Collaborator

@andermi andermi commented Apr 8, 2022

This is the version of torque controller tested on the buoy. See #1 for updated design.

Need to do readme and test the python gain scheduler...

@andermi andermi self-assigned this Apr 8, 2022
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Just some high-level comments for the initial port.

I checked that:

  • The package builds with colcon build against buoy_msgs
  • I can run
    • ros2 run buoy_examples torque_controller
    • ros2 launch buoy_examples torque_controller.launch.py (with my suggested change to pbcontrol)

I can't run either of:

  • ros2 launch buoy_examples gain_scheduler.launch.py
  • ros2 run buoy_examples gain_scheduler_node.py

That's why I asked if we could move that script.

@@ -0,0 +1,75 @@
#!/usr/bin/python
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this file be moved to buoy_examples or does it need to be in scripts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@hamilton8415 and I have been pondering if the gain scheduler really serves as a good example or if we should just leave it in our internal repo.

If we do leave it here and test it on the buoy (should be tested soon), I just remembered I should make some rosdeps and/or a requirements.txt for it (there are a few python packages that are needed).

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it. I'll leave it up to you if you want to add that as part of this PR or in a follow up.

@chapulina chapulina mentioned this pull request Apr 8, 2022
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM as an initial port. The gain scheduler is still not working for me, but that could be fixed in follow up PRs.

@@ -0,0 +1,75 @@
#!/usr/bin/python
Copy link
Contributor

Choose a reason for hiding this comment

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

Got it. I'll leave it up to you if you want to add that as part of this PR or in a follow up.

@andermi
Copy link
Collaborator Author

andermi commented Apr 12, 2022

@chapulina , I fixed cpp lint for our files, but I don't think I can exclude JustInterp.hpp ... there is an open ticket to do so, though. Any ideas? Should I fix cpp lint for JustInterp.hpp?

@chapulina chapulina mentioned this pull request Apr 12, 2022
@andermi andermi merged commit 0d28da4 into main Apr 12, 2022
@chapulina
Copy link
Contributor

I don't think I can exclude JustInterp.hpp ... there is an ament/ament_lint#119 to do so, though. Any ideas? Should I fix cpp lint for JustInterp.hpp?

Yeah it's inconvenient not to have a quick way of excluding a file from all linters. On #6 I excluded it from cpplint and uncrustify with linter-specific markers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants