Last active
August 20, 2024 19:47
-
-
Save JHermosillaD/907f9c8eadf0174abc12fe34aa0e4385 to your computer and use it in GitHub Desktop.
Resources
Frequently used commands π π
Pan-tilt-units (PTU) control:
rostopic pub -1 ptu/cmd sensor_msgs/JointState "{ header: { stamp: now }, name: [ 'ptu_pan_joint', 'ptu_tilt_joint' ], position: [ 0, -0.3 ], velocity: [ 0.1, 0.1 ] }"
Launch Asus camera drivers
roslaunch openni2_launch openni2.launch
Export callback data to txt file
#include <fstream>
using namespace std;
#define path "/home/user/data/output.txt"
ofstream file (path, ofstream::out);
void callback(const typedef& msg) {
file << msg << "\n";
}
Enable Husky simulator laser scan
export HUSKY_UST10_ENABLED=1
Set bash function to export ROS master ip
ros_master ()
{
export ROS_MASTER_URI=http://"$1":11311 &&
export ROS_IP="$1"
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lectures π
All the notes, resources and tasks that I may need in the future are stored here.
Useful hyperlinks to remember
Your Guide to the World of Robotics
C++ UI Libraries