Re: [ros-users] combining OpenGL loops with ROS spin()

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: Re: [ros-users] combining OpenGL loops with ROS spin()
I don't have a complete example, but you should be able to simply drop
ros::spinOnce() in your main loop. See the spinning
section<http://www.ros.org/wiki/roscpp/Overview/Callbacks%20and%20Spinning>of
the roscpp overview.

Cheers,
Patrick

On Wed, Dec 1, 2010 at 4:07 AM, koen buys <>wrote:

> Does anybody have an example how I can combine the ROS spin() function
> with the callback routines of OpenGL?
> I have ROS callback routines on messages and I want to send a
> generated OpenGL image back in each of those callback routines.
>
> Greetings,
>
> Koen
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>