This file contains hidden or 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
/* | |
* IKFast Demo | |
* | |
* Shows how to calculate FK from joint angles. | |
* Calculates IK from rotation-translation matrix, or translation-quaternion pose. | |
* Performance timing tests. | |
* | |
* Run the program to view command line parameters. | |
* | |
* |
This file contains hidden or 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
void MechanismInterface::attachObjectToGripper(std::string arm_name, std::string collision_object_name) | |
{ | |
arm_navigation_msgs::AttachedCollisionObject obj; | |
obj.object.header.stamp = ros::Time::now(); | |
obj.object.header.frame_id = handDescription().robotFrame(arm_name); | |
obj.object.operation.operation = arm_navigation_msgs::CollisionObjectOperation::ATTACH_AND_REMOVE_AS_OBJECT; | |
obj.object.id = collision_object_name; | |
obj.link_name = handDescription().attachLinkName(arm_name); | |
obj.touch_links = handDescription().gripperTouchLinkNames(arm_name); | |
attached_object_pub_.publish(obj); |
This file contains hidden or 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
if [ -e ~/ros_buildfarm_ws ] ; then | |
rm -rf ~/ros_buildfarm_ws | |
fi | |
mkdir ~/ros_buildfarm_ws && cd ~/ros_buildfarm_ws | |
virtualenv venv | |
. ./venv/bin/activate | |
git clone https://github.com/ros-infrastructure/ros_buildfarm.git | |
cd ros_buildfarm | |
python setup.py install |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<testsuite errors="0" failures="0" name="unittest.suite.TestSuite" tests="1" time="11.637"><testcase classname="rostest.runner.RosTest" name="testroswtf_command_line_online" time="11.6368" /><system-out><![CDATA[ | |
[ROSTEST]setup[/home/evenator/code/ros-kinetic/src/ros_comm/utilities/roswtf/test/roswtf.test] run_id[f7dd4dde-e86f-11e5-9c78-f46d049c6d09] starting | |
&#x001B;[1mstarted roslaunch server http://athena:34663/&#x001B;[0m | |
SUMMARY | |
======== | |
PARAMETERS | |
* /rosdistro: kinetic |
This file contains hidden or 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
unstaged=$(git status --porcelain | grep -oP '(?<=^\?\? )(.*)$'); echo "$unstaged" | xargs -rd'\n' git add -N; git diff; echo "$unstaged" | xargs -rd'\n' git reset HEAD |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[bloom] bloom version 0.5.21 | |
[info] ROS Distro index file associate with commit '143af2346275abbfbc94072366f9c149007fd634' | |
[info] New ROS Distro index url: 'https://raw.githubusercontent.com/ros/rosdistro/143af2346275abbfbc94072366f9c149007fd634/index.yaml' | |
[info] ==> Fetching 'marti_common' repository from 'https://github.com/swri-robotics-gbp/marti_common-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/tmp7ow7C_:$ git ls-tree bloom | |
[debug] track_branches(['bloom', 'master'], None) |
This file contains hidden or 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 <boost/lexical_cast.hpp> | |
#include <sstream> | |
#include <iostream> | |
std::string bool_to_str(bool b) | |
{ | |
return b ? "true" : "false"; | |
} | |
template <class T> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
#! /usr/bin/env python3 | |
import os | |
from pathlib import Path | |
import shutil | |
import eyed3 | |
tracks_dir = Path("/home/ed/Downloads/Takeout/Google Play Music/Tracks") | |
music_dir = Path.home()/'Music' |