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
#!/bin/bash | |
# Specify a partition. | |
#SBATCH --partition=bdgpu | |
# Request physical nodes (usually 1). | |
#SBATCH --nodes=1 | |
# Request tasks (usually 1). | |
#SBATCH --ntasks=1 | |
# Request processor cores (only if your program has multithreading/multiprocessing). | |
#SBATCH --cpus-per-task=3 | |
# Request GPUs (delete if not needed). |
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
#!/bin/bash | |
# Specify a partition | |
#SBATCH --partition=bdgpu | |
# Request nodes | |
#SBATCH --nodes=1 | |
# Request some processor cores | |
#SBATCH --ntasks=8 | |
# Request a GPU | |
#SBATCH --gpus=0 | |
# Request memory |
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
/** | |
* Makes all the non-planar things green, publishes the final result on the /obstacles topic. | |
*/ | |
#include <iostream> | |
#include <ros/ros.h> | |
#include <sensor_msgs/PointCloud2.h> | |
#include <pcl_conversions/pcl_conversions.h> | |
#include <pcl/ModelCoefficients.h> | |
#include <pcl/io/pcd_io.h> |
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
#ifndef FINGERTIP_TORQUE_OUTPUT_H_ | |
#define FINGERTIP_TORQUE_OUTPUT_H_ | |
#include <boost/asio/io_service.hpp> | |
#include <barrett/detail/ca_macro.h> | |
#include <barrett/products/product_manager.h> | |
#include <barrett/math/matrix.h> | |
#include <barrett/systems.h> | |
#include <barrett/systems/abstract/system.h> |
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
;; | |
;; Neil's Bot | |
;; | |
(defn- valid-empty-space? [board [r c]] | |
(cond | |
(not (< -1 r (count board))) false | |
(not (< -1 c (count (nth board r)))) false | |
:else (nil? (nth (nth board r) c)))) |