上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 96 下一页
摘要: osg给节点染色 osg::ref_ptr<osg::ShapeDrawable> draw_h_bar_index = new osg::ShapeDrawable(new osg::Box(osg::Vec3(0.0, 0.0, 0.0), 1.0, 10.0, 10.0)); //设置材质 o 阅读全文
posted @ 2021-10-07 16:19 西北逍遥 阅读(469) 评论(0) 推荐(0)
摘要: ##################### 阅读全文
posted @ 2021-10-06 15:17 西北逍遥 阅读(51) 评论(0) 推荐(0)
摘要: 直线检测 void Hough_1(int, void*) { vector<Vec4i> vec_lines; HoughLinesP(img_canny1, vec_lines, 1, CV_PI / 360.0, hough_thread,1,50); for (size_t k = 0; k 阅读全文
posted @ 2021-10-06 12:42 西北逍遥 阅读(51) 评论(0) 推荐(0)
摘要: 发现ubuntu的ifconfig命令不能用了 bim@bim-ThinkPad-T440p:~$ bim@bim-ThinkPad-T440p:~$ ifconfig Command 'ifconfig' not found, but can be installed with: sudo apt 阅读全文
posted @ 2021-10-05 11:03 西北逍遥 阅读(803) 评论(0) 推荐(0)
摘要: 1.巡线(雷达避障)roslaunch simple_follower line_follower.launch 2.雷达跟随。roslaunch simple_follower laser_follower.launch 3.视觉跟踪。roslaunch simple_follower visua 阅读全文
posted @ 2021-10-04 21:38 西北逍遥 阅读(331) 评论(0) 推荐(0)
摘要: 纯黑色代表障碍物,纯黑色包围的墨绿色代表未探索区域,纯黑色周围的灰色是在障碍物上进行膨胀的区域,颜色越深代表越危险 #######################3 阅读全文
posted @ 2021-10-04 20:53 西北逍遥 阅读(59) 评论(0) 推荐(0)
摘要: ros小车网络设置 编辑 bashrc wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ nano .bashrc wheeltec@wheeltec:~$ export ROS_MASTER_URI=http://192.168.0.100:11311 expor 阅读全文
posted @ 2021-10-04 17:29 西北逍遥 阅读(637) 评论(0) 推荐(0)
摘要: ubuntu查看硬盘大小 bim@bim-ThinkPad-T440p:~$ df -hl 文件系统 容量 已用 可用 已用% 挂载点 udev 3.8G 0 3.8G 0% /dev tmpfs 766M 2.0M 764M 1% /run /dev/sda1 916G 16G 855G 2% / 阅读全文
posted @ 2021-10-04 17:15 西北逍遥 阅读(74) 评论(0) 推荐(0)
摘要: ssh 登录如果连接成功会提示需要输入从机的密码,输入密码后就可以登录从机了。密码:dongguan wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ wheeltec@wheelt 阅读全文
posted @ 2021-10-04 12:49 西北逍遥 阅读(84) 评论(0) 推荐(0)
摘要: osg Image转opencv Mat osg::ref_ptr<osg::Image> saveOsgImgObj = new osg::Image(); saveOsgImgObj = captureCallback2Obj->getOsgCameraImage(); cv::Mat open 阅读全文
posted @ 2021-10-03 18:53 西北逍遥 阅读(458) 评论(0) 推荐(0)
摘要: osg绘制圆锥体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUti 阅读全文
posted @ 2021-10-03 11:52 西北逍遥 阅读(521) 评论(0) 推荐(0)
摘要: osg绘制球体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUtil 阅读全文
posted @ 2021-10-02 12:15 西北逍遥 阅读(953) 评论(0) 推荐(0)
摘要: 基于BIM IFC osg的塔吊吊装对位模拟系统 osg::Matrix cameraMatrix = osg::Matrix::translate(-centerVec3d) *osg::Matrix::scale(1.0f, 1.0f, sz_value) *osg::Matrix::trans 阅读全文
posted @ 2021-10-01 21:19 西北逍遥 阅读(278) 评论(0) 推荐(0)
摘要: osg相机移动时一定要重写 // 得到逆矩阵,标准接口,控制场景 osg::Matrixd CameraController::getInverseMatrix(void) const { std::cout << " getInverseMatrix " << std::endl; osg::Ma 阅读全文
posted @ 2021-10-01 11:05 西北逍遥 阅读(208) 评论(0) 推荐(0)
摘要: Pset_PlateCommon IfcPlate所有引用的定义的公共属性。 NameTypeDescription Reference P_SINGLEVALUE / IfcIdentifier Bauteiltyp Bezeichnung zur Zusammenfassung gleichar 阅读全文
posted @ 2021-09-30 22:57 西北逍遥 阅读(44) 评论(0) 推荐(0)
摘要: Pset_RampCommon 所有IfcRamp引用的定义的公共属性。 NameTypeDescription Reference P_SINGLEVALUE / IfcIdentifier Bauteiltyp Bezeichnung zur Zusammenfassung gleicharti 阅读全文
posted @ 2021-09-30 19:24 西北逍遥 阅读(37) 评论(0) 推荐(0)
摘要: osg鼠标缩放 bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) { // 得到x的初始屏幕坐标 float mouseX = ea.getX(); // 得到y的初始屏幕坐标 float mouse 阅读全文
posted @ 2021-09-29 11:33 西北逍遥 阅读(479) 评论(0) 推荐(0)
摘要: osg鼠标滚轮类型 enum ScrollingMotion { SCROLL_NONE, SCROLL_LEFT, SCROLL_RIGHT, SCROLL_UP, SCROLL_DOWN, SCROLL_2D }; ########################### 阅读全文
posted @ 2021-09-29 10:23 西北逍遥 阅读(269) 评论(0) 推荐(0)
摘要: osg::AnimationPath enum LoopMode { SWING, LOOP, NO_LOOPING }; ################################# 阅读全文
posted @ 2021-09-28 16:52 西北逍遥 阅读(75) 评论(0) 推荐(0)
摘要: osg键盘编码 enum KeySymbol { KEY_Space = 0x20, KEY_0 = '0', KEY_1 = '1', KEY_2 = '2', KEY_3 = '3', KEY_4 = '4', KEY_5 = '5', KEY_6 = '6', KEY_7 = '7', KEY 阅读全文
posted @ 2021-09-28 08:49 西北逍遥 阅读(192) 评论(0) 推荐(0)
摘要: osg控制相机移动 viewer->getCameraManipulator()->setHomePosition(_homeEye,_homeCenter,_homeUp); osg::Vec3d _homeEye; osg::Vec3d _homeCenter; osg::Vec3d _home 阅读全文
posted @ 2021-09-27 20:09 西北逍遥 阅读(710) 评论(0) 推荐(0)
摘要: osg绘制胶囊体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUti 阅读全文
posted @ 2021-09-27 08:11 西北逍遥 阅读(113) 评论(0) 推荐(0)
摘要: Pset_RampFlightCommon 属性,该属性是所有IFT事件定义的公用属性。 NameTypeDescription Reference P_SINGLEVALUE / IfcIdentifier Bauteiltyp Bezeichnung zur Zusammenfassung gl 阅读全文
posted @ 2021-09-26 15:30 西北逍遥 阅读(43) 评论(0) 推荐(0)
摘要: osg抓图、截图、保存图片 #include <osgViewer/Viewer> #include <osgViewer/ViewerBase> #include <osgViewer/GraphicsWindow> #include <osg/Node> #include <osg/Geode> 阅读全文
posted @ 2021-09-25 16:35 西北逍遥 阅读(326) 评论(0) 推荐(0)
摘要: osg截取场景图片 #include <osgViewer/Viewer> #include <osgViewer/ViewerBase> #include <osgViewer/GraphicsWindow> #include <osg/Node> #include <osg/Geode> #in 阅读全文
posted @ 2021-09-25 12:03 西北逍遥 阅读(546) 评论(0) 推荐(0)
摘要: osg实现三视图 #include <osg/Geode> #include <osg/Geometry> #include <osg/LineWidth> #include <osgViewer/Viewer> #include <osgViewer/CompositeViewer> #inclu 阅读全文
posted @ 2021-09-24 16:21 西北逍遥 阅读(556) 评论(0) 推荐(0)
摘要: 桁架系统模拟 //键盘控制 void ControllerObjectByKeyBoard() { if (Input.GetKey(KeyCode.LeftShift) && Input.GetKey(KeyCode.W)) { // 获取Player变量指定的对象的三围坐标 Vector3 ar 阅读全文
posted @ 2021-09-23 17:46 西北逍遥 阅读(128) 评论(0) 推荐(0)
摘要: Pset_RoofCommon IfcRoof的所有引用的定义的公共属性。注:IFC 2x3中添加了ProjectedArea和TotalArea的属性 NameTypeDescription Reference P_SINGLEVALUE / IfcIdentifier Bauteiltyp Be 阅读全文
posted @ 2021-09-22 19:13 西北逍遥 阅读(46) 评论(0) 推荐(0)
摘要: Pset_ShadingDeviceCommon 与表示着色设备的元素关联的着色设备属性 NameTypeDescription Reference P_SINGLEVALUE / IfcIdentifier Bemusterungstyp Bemusterungstyp, wird als Att 阅读全文
posted @ 2021-09-21 13:11 西北逍遥 阅读(52) 评论(0) 推荐(0)
摘要: Pset_SlabCommon IfcSlab所有引用的定义的公共属性。注:IFC 2x3中添加了俯仰角的属性 NameTypeDescription Reference P_SINGLEVALUE / IfcIdentifier Bauteiltyp Bezeichnung zur Zusamme 阅读全文
posted @ 2021-09-20 18:59 西北逍遥 阅读(49) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 96 下一页