Skip to content

Instantly share code, notes, and snippets.

@JHermosillaD
Last active May 26, 2023 09:24
Show Gist options
  • Save JHermosillaD/907f9c8eadf0174abc12fe34aa0e4385 to your computer and use it in GitHub Desktop.
Save JHermosillaD/907f9c8eadf0174abc12fe34aa0e4385 to your computer and use it in GitHub Desktop.
Resources
@JHermosillaD
Copy link
Author

JHermosillaD commented Apr 5, 2020

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

@JHermosillaD
Copy link
Author

JHermosillaD commented Jan 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment