How to display a topic on a window
Hi,
I am trying to build a voice commands based navigation robot using tensor flow to spot key words, for example "Robot" ,"move" , "left", "right" etc. And also imagining to display a small GUI/window where it can display spoken track of single command to get a visual verification. Robot being an activation word and window keep tract of one full command - Robot move left / Robot move right etc. some thing like this .
| ---------------------|
| Robot |
|--------------------- |
| ---------------------|
| Robot move |
|--------------------- |
| ---------------------|
| Robot move left |
|--------------------- |
| ---------------------|
| Robot |
|--------------------- |
| ---------------------|
| Robot move |
|--------------------- |
| ---------------------|
| Robot move right |
|--------------------- |
Any suggestion on package or keywords for googling ?
Thanks
I'm not sure if it's what you want but you can use a rviz marker of type View-Oriented Text (see section 1.3.10). When you get your command you publish it as a marker in rviz so that you can see your robot and the command in the same window.
Actually i am using gazebo for the robot simulation.
Yes Gazebo is used for emulating the physics but you can still have rviz to display more informations (I'm using Gazebo too but I prefer to monitor the robot behavior in rviz because you have markers, maps, tf etc..)
But if you don't want to use rviz isn't it good enough for you to just print the command you give in the terminal ? Anyway I would suggest you to check the rqt tutorials to create a GUI and #q238095
The only reason that i am not using rviz to display robot is that my robot has many parallel links that are constrained in motion(4 bar link mechanisms) and hence chose to write model in SDF format(No URDF file).
Oh okay I didn't know you couldn't use rviz, sorry