Visualizing IMU

Deploy your simulated algorithms to real scenarios with Erle-Copter

Source code
imu

There're several ways to access Erle-Brain 2 but let's assume that you've purchased the WiFi dongle adapter and the brain itself is creating a WiFi network. Connect to it by using the password: holaerle.

If you are working with two different machines, for example: Erle-Brain and your laptop remember to configure ROS_MASTER_URI and ROS_IP. Maybe could be interesting to put this lines in your ~/.bashrc.

  • Erle-Brain:
export ROS_MASTER_URI=http://10.0.0.1:11311
export ROS_IP=10.0.0.1
  • Laptop or PC:
export ROS_MASTER_URI=http://10.0.0.1:11311
export ROS_IP=10.0.0.2

mkdir -p ~/erle_ws/src
cd ~/erle_ws/src
git clone https://github.com/erlerobot/gazebo_python_examples
cd ..
catkin_make --pkg erle_imu_visualizer

  • Laptop or PC: All right, ROS package launched, now in your computer, type:
source ~/erle_ws/devel/setup.bash
export ROS_MASTER_URI=http://<erle_brain_ip>:11311
rosrun erle_imu_visualizer imu_visu.py