Skip to content

Instantly share code, notes, and snippets.

View davetcoleman's full-sized avatar

Dave Coleman davetcoleman

View GitHub Profile
@davetcoleman
davetcoleman / CLASS_FILE_NAME_test.cpp
Created October 12, 2018 01:08
Example test files
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2018, PickNik LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
Errors << carbon_descartes_demo:make /home/dave/ros/current/ws_moveit/logs/carbon_descartes_demo/build.make.002.log
/home/dave/ros/current/ws_moveit/src/graphene_core/carbon_descartes_demo/src/carbon_descartes_demo.cpp: In member function ‘void carbon_descartes_demo::DescartesTester::addWaypointCallback(const ConstPtr&)’:
/home/dave/ros/current/ws_moveit/src/graphene_core/carbon_descartes_demo/src/carbon_descartes_demo.cpp:158:46: error: call of overloaded ‘publishAxis(geometry_msgs::Pose&)’ is ambiguous
visual_tools_->publishAxis(imarker_pose);
^
In file included from /home/dave/ros/current/ws_moveit/src/moveit_visual_tools/include/moveit_visual_tools/moveit_visual_tools.h:44:0,
from /home/dave/ros/current/ws_moveit/src/graphene_core/carbon_descartes_demo/src/carbon_descartes_demo.cpp:21:
/opt/ros/kinetic/include/rviz_v
<sdf version='1.6'>
<model name='baxter'>
<link name='base'>
<pose frame=''>0 0 0 0 -0 0</pose>
<inertial>
<pose frame=''>0 -0 3e-06 0 -0 0</pose>
<mass>96.2011</mass>
<inertia>
<ixx>6.91297</ixx>
<ixy>0.00068017</ixy>
[moveit_ros_perception:make] [==========] Running 24 tests from 2 test cases.
[moveit_ros_perception:make] [----------] Global test environment set-up.
[moveit_ros_perception:make] [----------] 12 tests from float_test/MeshFilterTestFloat
[moveit_ros_perception:make] [ RUN ] float_test/MeshFilterTestFloat.float/0
[moveit_ros_perception:make] /home/dave/ros/current/ws_moveit/src/moveit/moveit_ros/perception/mesh_filter/test/mesh_filter_test.cpp:234: Failure
[moveit_ros_perception:make] Value of: gt_depth[idx]
[moveit_ros_perception:make] Actual: 0
[moveit_ros_percepti
bloom-release --rosdistro kinetic --track kinetic moveit -pROS Distro index file associate with commit '3f1015ca4153730819b3db103cc6330c9847e18f'
New ROS Distro index url: 'https://raw.githubusercontent.com/ros/rosdistro/3f1015ca4153730819b3db103cc6330c9847e18f/index.yaml'
==> Fetching 'moveit' repository from 'https://github.com/ros-gbp/moveit-release.git'
Cloning into '/tmp/tmpGvWmg1'...
remote: Counting objects: 15680, done.
remote: Compressing objects: 100% (3997/3997), done.
remote: Total 15680 (delta 1155), reused 0 (delta 0), pack-reused 11267
Receiving objects: 100% (15680/15680), 8.94 MiB | 8.58 MiB/s, done.
Resolving deltas: 100% (4906/4906), done.
Checking connectivity... done.
> cat /proc/cpuinfo
processor : 11
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz
stepping : 2
microcode : 0x36
cpu MHz : 3420.156
Errors << warehouse_ros_mongo:make /home/dave/ros/current/ws_moveit/logs/warehouse_ros_mongo/build.make.002.log
In file included from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:41:0:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h:53:8: error: ‘MongoMetadata’ does not name a type
inline MongoMetadata& downcastMetadata(Metadata::ConstPtr metadata) const {
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h:57:8: error: ‘MongoQuery’ does not name a type
inline MongoQuery& downcastQuery(Query::ConstPtr query) const {
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp: In member function ‘virtual void MongoRos_MongoRos_Test::TestBody()’:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:81:61: error: no matching function for call to ‘warehouse_ros_mongo::MongoDatabaseConnection::openCollection(co
ros.moveit_ros_visualization: Waiting for MoveGroup action server (/recognize_objects)...
[Thread 0x7fffc1eb5700 (LWP 20353) exited]
rviz: /usr/include/boost/smart_ptr/shared_ptr.hpp:641: typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = const urdf::ModelInterface; typename boost::detail::sp_dereference<T>::type = const urdf::ModelInterface&]: Assertion `px != 0' failed.
Thread 18 "rviz" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc26b6700 (LWP 20403)]
0x00007ffff69d7418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[bloom] bloom version 0.5.21
[info] ROS Distro index file associate with commit 'dd92e570f3245209773543d31de658edc05a1c4e'
[info] New ROS Distro index url: 'https://raw.githubusercontent.com/ros/rosdistro/dd92e570f3245209773543d31de658edc05a1c4e/index.yaml'
[info] ==> Fetching 'rviz_visual_tools' repository from 'https://github.com/davetcoleman/rviz_visual_tools-release.git'
[debug] track_branches(bloom, None)
[debug] Tracking branches: []
[debug] Checking out to master
[debug] Requested checkout reference is the same as the current branch
[debug] /tmp/tmpDvaGkz:$ git ls-tree bloom
[debug] track_branches(['bloom', 'master'], None)
- git:
local-name: geometric_shapes
uri: https://github.com/ros-planning/geometric_shapes.git
version: kinetic-devel
- git:
local-name: household_objects_database_msgs
uri: https://github.com/ros-interactive-manipulation/household_objects_database_msgs.git
version: hydro-devel
- git:
local-name: manipulation_msgs