Skip to content

Noetic#507

Closed
ahcorde wants to merge 12 commits intoros-perception:noeticfrom
ahcorde:noetic
Closed

Noetic#507
ahcorde wants to merge 12 commits intoros-perception:noeticfrom
ahcorde:noetic

Conversation

@ahcorde
Copy link
Copy Markdown
Contributor

@ahcorde ahcorde commented Mar 24, 2020

Following the guidelines to migrate packates to noetic

  • OpenCV 4
  • cmake_minimum_required((VERSION 3.0.2)
  • import setup from setuptools instead of distutils-core

ahcorde added 3 commits March 24, 2020 13:02
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@SteveMacenski
Copy link
Copy Markdown
Member

SteveMacenski commented Mar 24, 2020

@ahcorde you need to modify the circleci.yaml file to remove the kinetic / melodic CI and replace it with noetic. I'll review the code, but can't merge without knowing the compiles / works. I think we did a bunch of updates to support OpenCV4 but I'm not certain everything is just out of the box functional.

Edit: note to self: cherry pick #509 to noetic

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Mar 25, 2020

I'm working into create the container ros:noetic-perception

@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Apr 7, 2020

@ros-pull-request-builder retest this please

@SteveMacenski
Copy link
Copy Markdown
Member

Still says the noetic container doesn't exist - has that been pushed?

@JWhitleyWork
Copy link
Copy Markdown
Collaborator

@SteveMacenski / @ahcorde Here's the MR adding Noetic and Foxy images: osrf/docker_images#395

However, Mike says these won't be added until both the Noetic and Foxy betas are out.

@SteveMacenski
Copy link
Copy Markdown
Member

SteveMacenski commented Apr 9, 2020

Alright - what do you want to do here? I don't mind too much that Circle fails on the lack of image as long as there's some action behind it (seems like there is). I'm a little concerned by the tests failing in the build farm Noetic build though

@JWhitleyWork
Copy link
Copy Markdown
Collaborator

Alright - what do you want to do here? I don't mind too much that Circle fails on the lack of image as long as there's some action behind it (seems like there is). I'm a little concerned by the tests failing in the build farm Noetic build though

I think the simplest method is just to create our own Docker images for now and have CircleCI test against them until the official ones are available. @SteveMacenski or @ahcorde, any volunteers? I would love to do this but I haven't the time at the moment.

@SteveMacenski
Copy link
Copy Markdown
Member

I'm also pretty wrapped up right now. Vision processing is taking a back seat for me right now for depth processing.

@JWhitleyWork
Copy link
Copy Markdown
Collaborator

JWhitleyWork commented Apr 12, 2020

Done: https://hub.docker.com/repository/docker/jwhitleywork/ros/tags?page=1

Not sure that all of the dependencies are available yet but I guess we'll see when we try to build it! @ahcorde Can you please update your .circleci/config.yaml file to use the image jwhitleywork/ros:noetic-ros-base-focal? Then we can see what we're missing, if anything.

@JWhitleyWork
Copy link
Copy Markdown
Collaborator

Image and CI script updated. Looks like there is a problem when building, though.

@JWhitleyWork
Copy link
Copy Markdown
Collaborator

@ahcorde Please rebase your branch on this fork's noetic to get the update to the number of threads used in catkin_make.

@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Apr 13, 2020

I have removed (as it's already done in ROS 2) :

  • the fisheye camera model
  • rational polynomial model test from directed.py

@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Apr 13, 2020

circle CI is green ✔️

but there are two compiler warnings :

  • GTypeDebugFlags
1:11:49 /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
11:11:49   236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
11:11:49       |                                                                ^
11:11:49 In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
11:11:49                  from /usr/include/glib-2.0/gobject/gbinding.h:29,
11:11:49                  from /usr/include/glib-2.0/glib-object.h:22,
11:11:49                  from /usr/include/glib-2.0/gio/gioenums.h:28,
11:11:49                  from /usr/include/glib-2.0/gio/giotypes.h:28,
11:11:49                  from /usr/include/glib-2.0/gio/gio.h:26,
11:11:49                  from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
11:11:49                  from /usr/include/gtk-2.0/gdk/gdk.h:32,
11:11:49                  from /usr/include/gtk-2.0/gtk/gtk.h:32,
11:11:49                  from /tmp/ws/src/image_pipeline/image_view/src/nodelets/disparity_nodelet.cpp:42:
11:11:49 /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
11:11:49   685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
11:11:49       |   ^~~~~~~~~~~~~~~n;
  • GTimeVal
11:11:49 /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
11:11:49    73 |   GTimeVal last_popdown;
11:11:49       |            ^~~~~~~~~~~~
11:11:49 In file included from /usr/include/glib-2.0/glib/galloca.h:32,
11:11:49                  from /usr/include/glib-2.0/glib.h:30,
11:11:49                  from /usr/include/glib-2.0/gobject/gbinding.h:28,
11:11:49                  from /usr/include/glib-2.0/glib-object.h:22,
11:11:49                  from /usr/include/glib-2.0/gio/gioenums.h:28,
11:11:49                  from /usr/include/glib-2.0/gio/giotypes.h:28,
11:11:49                  from /usr/include/glib-2.0/gio/gio.h:26,
11:11:49                  from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
11:11:49                  from /usr/include/gtk-2.0/gdk/gdk.h:32,
11:11:49                  from /usr/include/gtk-2.0/gtk/gtk.h:32,
11:11:49                  from /tmp/ws/src/image_pipeline/image_view/src/nodelets/disparity_nodelet.cpp:42:
11:11:49 /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
11:11:49   545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
11:11:49       |                         ^~~~~~~~

@SteveMacenski
Copy link
Copy Markdown
Member

SteveMacenski commented Apr 13, 2020

I have removed (as it's already done in ROS 2)... the fisheye camera model, ... rational polynomial model test from directed.py

Why? These seem like important things to persist.

Those warnings look like they come from GTK internal, am I mistaken? I don't know that there are action items for this repo on it. Maybe we need to use a newer version of VTK?

Jekin's error seems related though


02:13:17 [GNU C Compiler (gcc)] [-ERROR-] - '/usr/include/gtk-2.0/gtk/gtktooltips.h', IO exception has been thrown: java.nio.file.NoSuchFileException: /usr/include/gtk-2.0/gtk/gtktooltips.h
02:13:17 [GNU C Compiler (gcc)] [-ERROR-] - '/usr/include/gtk-2.0/gtk/gtktypeutils.h', IO exception has been thrown: java.nio.file.NoSuchFileException: /usr/include/gtk-2.0/gtk/gtktypeutils.h
02:13:17 [GNU C Compiler (gcc)] [-ERROR-] - '/usr/include/gtk-2.0/gtk/gtktooltips.h', IO exception has been thrown: java.nio.file.NoSuchFileException: /usr/include/gtk-2.0/gtk/gtktooltips.h

@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Apr 13, 2020

Why? These seem like important things to persist.

I copied the file from ROS 2 which is already in Python3

@SteveMacenski
Copy link
Copy Markdown
Member

Why was removing fisheye and a test required for noetic? Its good capability we should be adding to ROS2, not removing from ROS1 between distributions.

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Contributor Author

ahcorde commented Apr 14, 2020

Restored fisheye camera model

@JWhitleyWork
Copy link
Copy Markdown
Collaborator

@ahcorde Even though it is now passing CI, I'm not sure that starting with the ROS2 version was the right approach here. There are quite a few things that were missing or modified for the ROS2 version that we want included (e.g. the max-chessboard-speed parameter). Can you please make sure this has feature parity with the Melodic version?

@JWhitleyWork JWhitleyWork mentioned this pull request Apr 24, 2020
3 tasks
@SteveMacenski
Copy link
Copy Markdown
Member

Hi, just pinging back here

@SteveMacenski SteveMacenski mentioned this pull request May 13, 2020
This was referenced May 13, 2020
@JWhitleyWork
Copy link
Copy Markdown
Collaborator

@SteveMacenski / @ahcorde Since our urgency has gone up on this, I'm going to incorporate the changes made on @ahcorde's branch into a new fix/noetic branch and re-add the missing features. Most of the changes look justified except for the removal of max-chessboard-speed. Should be quick.

@SteveMacenski
Copy link
Copy Markdown
Member

Sounds good to me

@JWhitleyWork JWhitleyWork mentioned this pull request May 14, 2020
@JWhitleyWork
Copy link
Copy Markdown
Collaborator

Superseded by #530. Thanks to @ahcorde for all of your work on this. I directly cherry-picked many of your commits for #530 but we are holding up part of the Noetic release and needed to get something that works but doesn't remove any features in ASAP. Thanks for your help!

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