This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static struct rkcamera_platform_data new_camera[] = { | |
new_camera_device_ex(RK29_CAM_SENSOR_OV7740, | |
back, | |
INVALID_VALUE, | |
INVALID_VALUE, | |
INVALID_VALUE, | |
INVALID_VALUE, | |
INVALID_VALUE, | |
RK30_PIN3_PB4, | |
CONS(RK29_CAM_SENSOR_OV7740,_PWRDN_ACTIVE), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
V4L2_IDENT_OV7740 = 269, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define RK29_CAM_SENSOR_OV7740 ov7740 | |
#define RK29_CAM_SENSOR_NAME_OV7740 "ov7740" | |
#define ov7740_FULL_RESOLUTION 0x30000 // 0.3 megapixel | |
#define ov7740_I2C_ADDR 0x42 //0x21 | |
#define ov7740_PWRDN_ACTIVE 0x01 //should verify | |
#define ov7740_PWRSEQ sensor_PWRSEQ_DEFAULT //unsure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ns_piksi_gps/ns_piksi_gps.hpp> | |
PiksiGps::PiksiGps(): | |
Node("piksi"), | |
socket_desc_(-1) | |
{ | |
// Parameters declaration | |
this->declare_parameter<std::string>("addr", "192.168.50.222"); | |
this->declare_parameter<std::string>("port", "55555"); |