Thanks to repo https://ros-mobile-robots.com/ : Add vcstools: Install Rosparam Shortcuts: rosrun teleop_twist_keyboard teleop_twist_keyboard.py –ros-args -r /cmd_vel:=/diffbot/mobile_base_controller/cmd_vel
Month: January 2023
Raspberry Pi: add VS Code C++ and Debug funcionality
Install c++ extension: https://code.visualstudio.com/docs/cpp/config-linux Install ROS Extension by Microsoft:
ROS: rqt_plot for visualization
https://wiki.ros.org/rqt_plot Follow the setps on it! 😉
ROS: add IMU WT901B (12 of …)
Install pigpio: Follow instructions in: https://abyz.me.uk/rpi/pigpio/download.html Install EigenDense: Install ros-sensor_msgs_ext: ROS web page for IMU sensors: http://wiki.ros.org/Sensors/Pose%20Estimation http://wiki.ros.org/Sensors#Pose_Estimation_.28GPS.2FIMU.29 Install mpu9250 ros driver node: Clone repository to your catkin_ws/src/ Launch the node WIT repositories: git clone https://github.com/Rophier/WIT-IMU.git git clone https://github.com/yowlings/wit_node sudo apt install ros-noetic-ecl-* sudo apt install ros-noetic-geometry2 Install IMU-tools for get correct orientation Install complementary…
ROS: install SLAM and SLAM Toolbox
Install SLAM Install SLAM ToolBox: Copy configuration files in our catkin_ws folder: Save your map: Open you map: Convert the Map into png Format To convert the map to a png image file, you can use imagemagick.
ROS: add msg and tf graphs for debugging
Messages graphs: Show the messages graph: TF graphs: Install: Run the view tf2: Run in tf: In case of error “cannot use a string pattern on a bytes-like object”: Then modify the code in the VIM edit that opens To view the dpf: Check is a Tf is being published: TFs for a SLAM two…
ROS: use TurtleBot3 robot simulator
Clone TurtleBot3 msgs: Clone TurtleBot3 repo: Set Turtlebot model: export TURTLEBOT3_MODEL=burger Add TurtleBot3 gazebo for simulation without a real robot: