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

Oms 4 usb reset debugging #15

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

ecl1ipse
Copy link

@ecl1ipse ecl1ipse commented Apr 6, 2019

The program creates buttons for each device attached to the rover. When the button is pressed, the device is reset. The name of the device also appears next to the button. The devices are sent through a backend system OMS-1

Copy link
Member

@hjed hjed left a comment

Choose a reason for hiding this comment

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

Awesome. General logic looks good, but a few comments to make it integrate better with the rest of the repo.

Could you please attach a screenshot to the pr as well?

src/ros_video_components/package.xml Show resolved Hide resolved
src/usb_reset/include/usb_reset/owr_ros_components.hpp Outdated Show resolved Hide resolved
src/usb_reset/include/usb_reset/owr_ros_components.hpp Outdated Show resolved Hide resolved
src/usb_reset/include/usb_reset/ros_usb_reset.hpp Outdated Show resolved Hide resolved
src/usb_reset/package.xml Show resolved Hide resolved
src/usb_reset/src/ros_usb_reset.cpp Outdated Show resolved Hide resolved
src/usb_reset/src/ros_usb_reset.cpp Outdated Show resolved Hide resolved
src/usb_reset/src/ros_usb_reset.cpp Outdated Show resolved Hide resolved
curr_ctxt->setContextProperty("myModel", (list.size() - 1));
for (; i < list.size() - 1; i++) {
//write the name of the usb device
painter->drawText(75,(i*35) + 15, list[i]);
Copy link
Member

Choose a reason for hiding this comment

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

is it possible to do this through the model as well? Does this work if you resize the window?

src/usb_reset/src/ros_usb_reset.cpp Outdated Show resolved Hide resolved
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.

None yet

2 participants