Re: [ros-users] Nodelets

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
CC: User discussions
Subject: Re: [ros-users] Nodelets
The question is how to do that. The problem is how the nodelet can periodically "wake up" and grab a frame from the camera, in order to publish it. One proposed technique was to set a timer.



On Dec 5, 2010, at 12:49 PM, Stuart Glaser <> wrote:

> Hi Nick,
>
> On Sun, Dec 5, 2010 at 8:44 AM, Nicholas Butko <> wrote:
>> Thanks Tully. This is helpful.
>> So the suggestion, as I understand it, is to have a "camera nodelet manager"
>> that (a) has a nodelet::Loader and (b) has a while (ros::ok()) {} loop.
>> Something like
>> {{{
>> ros::init(argc, argv, "CameraImageServer");
>> ros::NodeHandle n;
>> nodelet::Loader l; //This is what we need to be a nodelet manager
>> ...
>
> I think you could even write your camera driver as a nodelet itself,
> and just load it into a standard nodelet manager.
>
> Just adding another option to an already overflowing list.
>
> --
> Stuart Glaser
> sglaser -at- willowgarage -dot- com
> www.willowgarage.com
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users