Conversation
|
Hi, when I try to compile the package in ROS indigo, it fails. I don't know that's wrong with this. I installed aravis-0.6 instead of aravis-0.4. Is the 0.6 edition of aravis compatible for the package? Below is my issues: Please help!! |
|
Camnode code corrected: `/* -- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -- */ // camera_aravis #include <arv.h> #include #include <glib.h> #include <ros/ros.h> #include <dynamic_reconfigure/server.h> #include "XmlRpc.h" //#define TUNING // Allows tuning the gains for the timestamp controller. Publishes output on topic /dt, and receives gains on params /kp, /ki, /kd #define CLIP(x,lo,hi) MIN(MAX((lo),(x)),(hi)) #define TRIGGERSOURCE_SOFTWARE 0 #define ARV_PIXEL_FORMAT_BIT_PER_PIXEL(pixel_format) (((pixel_format) >> 16) & 0xff) static gboolean SoftwareTrigger_callback (void *); typedef struct // Global variables ------------------- #ifdef TUNING } global; typedef struct // Conversions from integers to Arv types. static void set_cancel (int signal) ArvGvStream *CreateStream(void) } // CreateStream() void RosReconfigure_callback(Config &config, uint32_t level) } // RosReconfigure_callback() static void NewBuffer_callback (ArvStream *pStream, ApplicationData *pApplicationdata) #ifdef TUNING #ifdef TUNING #endif #ifdef TUNING } // NewBuffer_callback() static void ControlLost_callback (ArvGvDevice *pGvDevice) } static gboolean SoftwareTrigger_callback (void *pCamera) } // PeriodicTask_callback() } // PeriodicTask_callback() // Get the child and the child's sibling, where <p___> indicates an indirection. } // GetGcFirstChild() // Get the sibling and the sibling's sibling, where <p___> indicates an indirection. } // GetGcNextSibling() // Walk the DOM tree, i.e. the tree represented by the XML file in the camera, and that contains all the various features, parameters, etc. } //PrintDOMTree() // WriteCameraFeaturesFromRosparam() // unsigned long typeValue = arv_gc_feature_node_get_value_type((ArvGcFeatureNode *)pGcNode); } // WriteCameraFeaturesFromRosparam() int main(int argc, char** argv) #ifdef TUNING // // Print the tree of camera features, with their values. } // main() |
updated code to compile with new api of aravis0.4