Closed annimesh2809 closed 5 years ago
@KgpKubs/gui Install PyQt5
and QtDesigner
(or QtCreator
) (stable versions).
@KgpKubs/all For the current simple case, I was thinking of a simple API like:
rgb.msg
uint8 r
uint8 g
uint8 b
point.msg
int32 x
int32 y
path.msg
point[] vertices
rgb color
The gui will subscribe for path.msg
type data and will redraw the path everytime it recieves a ros message.
Some parameters for controlling step-size etc. (This msg should be defined by @KgpKubs/path)
err_f ssl::gui::debug_path(const path& p);
Does this look fine? Any changes?
LGTM
Let's change int32 x
, int32 y
in point.msg
to float x
, float y
. Have a look at this
@kvmanohar22 That makes sense for calculation of velocities and other floating point calculations. However for drawing lines, I think it would be more suitable to use integer values (until of course we start using anti-aliasing with xiaolin-wu
?). Take a look a this drawLine
function definiton from QPainter.
@KgpKubs/gui You guys can start working on this. Any queries should be posted on this issue.
@sipah00 see I have written the code #2 . Please start working on it.
@ashishkg0022 I have gone through code, and i am working on this.
This issue will serve for any queries and updates regarding the GUI development.