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

updates for foxy #132

Merged
merged 7 commits into from
Mar 27, 2021
Merged

updates for foxy #132

merged 7 commits into from
Mar 27, 2021

Conversation

flynneva
Copy link
Collaborator

  • tested with usb camera on ROS2 foxy
  • functions as expected

@flynneva flynneva mentioned this pull request Oct 27, 2020
@flynneva
Copy link
Collaborator Author

so i added in some ROS2 github actions to this PR since I would guess the travis CI is still probably setup for ROS1.

not sure why they arent running....maybe there is a setting on this repo to enable github actions from a forked repo?

@Karsten1987
Copy link

great effort! Thanks for picking this up.

maybe there is a setting on this repo to enable github actions from a forked repo

There is an option to enable this but I believe it's generally not really recommended due to security risks:
https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/

@k-okada I would think it makes sense to merge this as a first version and come up with potential fixes to it later. Alternatively, you could push a copy of this branch upstream to validate the GH actions.

@flynneva
Copy link
Collaborator Author

im almost done fixing the ament_cpplint errors, give me like 10 more minutes! 😄

@flynneva
Copy link
Collaborator Author

here are the github actions running on my fork if you'd like to see them before merging

@flynneva flynneva marked this pull request as draft October 28, 2020 18:41
@flynneva flynneva marked this pull request as ready for review October 28, 2020 19:46
@flynneva
Copy link
Collaborator Author

flynneva commented Oct 28, 2020

so there are still some ament_copyright errors but i figured I would leave those for the maintainers.

ive fixed the ament_cpplint errors and confirmed functionality again using a usb camera and foxy. you can see the successful ROS2 CI running on this pr on my forked repo as well.

ive tested it locally again after all these changes and i can confirm it functions as expected and outputs an image stream from a usb camera.

@flynneva
Copy link
Collaborator Author

@Karsten1987 @k-okada @rctoris just added myself as a maintainer to my already-open PR.

Let me know what else is missing before getting this merged.

@Karsten1987
Copy link

I'd personally prefer a dedicated PR for the hand-off. That way we don't have to wait for the actual PR to land in order for you to take over some of the responsibilities.
Also, that way you can easily declare which branches you want to maintain.

lucasw and others added 7 commits March 16, 2021 15:26
usb_cam.cpp is building but untested #103

Builds but crashes immediately after running

data is getting published, no image shown

image shown, frame rate is very slow #103
try to fix low framerate #103

add ros parameters

loading more parameters from parameter server #103

use argparse to get arguments from command line

untested correction to args

ignore unknown args

set proper default device and look for more bad return values

trying to find why framerate is limited to about 8 fps

framerate ok for low-exposure settings

print list of valid formats #105
@flynneva
Copy link
Collaborator Author

i think this is ready for at least a cursory review @Karsten1987 or @lucasw or @k-okada .

you can see the new CI running over on my forked repo.

once merged we should see then ROS2 Github Actions run on all branches beginning with ros2/*. in the future we could add specific branches for distros if needed and add them to the list.

definitely going to be some some more change soon though as i still think the ROS2 version of this is barely usable as-is.

@flynneva flynneva closed this Mar 24, 2021
@flynneva flynneva reopened this Mar 24, 2021
@flynneva
Copy link
Collaborator Author

ok going to go ahead and merge this into the ros2 branch. this should give us a good baseline to build from.

@flynneva flynneva merged commit 66f04f7 into ros-drivers:ros2 Mar 27, 2021
@flynneva flynneva mentioned this pull request Mar 27, 2021
@Karsten1987
Copy link

a bit late here, but there's quite some commented code. Are you planning/willing to clean this up and address the outstanding TODOs?

It's a bit unfortunate that you introduced the boost dependency. We've been trying quite hard to not have a dependency on it for a while now in the context of ROS2. Not a show-stopper at all, I was just wondering if there's an alternative to the lexical cast.

@flynneva
Copy link
Collaborator Author

@Karsten1987 the reason why I merged this without "further improvements" is because the previous ros2 branch was still actually a ROS1 package. i just wanted a "base line" to build from.

removing boost dependencies will definitely take top priorty moving forward to bring up the driver.

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.

3 participants