Ask Your Question

Gus's profile - activity

2012-11-21 21:14:03 -0600 received badge  Famous Question (source)
2012-09-15 05:36:40 -0600 received badge  Notable Question (source)
2012-08-28 03:48:42 -0600 received badge  Popular Question (source)
2012-08-27 03:44:30 -0600 received badge  Necromancer (source)
2012-08-27 03:44:30 -0600 received badge  Teacher (source)
2012-08-26 12:41:55 -0600 asked a question Publishing range sensor readings from ROS to MATLAB simulation and vehicle dynamics from MATLAB to ROS

Hello everyone. And thank you for taking the time to read my question. I am trying to simualte the flight of a quadrotor in an indoor environment using MATLAB and ROS. How can I generate a 3D visualization of the quadrotor flight through ROS? and how can I have a range sensor publish values to MATLAB. I have set-up a complete simulation for a quadrotor in MATLAB, the simulation gives all the required states to display the position, velocity, and orientation of the quadrotor. I have also setup IPC_Bridge to publish/subscribe the MATLAB simulation with ROS. My question is how can I setup a 3D environment in ROS to publish range sensor data from a sensor on the quadrotor to the MATLAB simulation. And what should I use to visualize the quadrotor flight? Can I use gazebo? I am still new to ROS and since I have all the physics/dynamics setup in MATLAB how could that work?

Thank you for your time.

2012-08-26 12:10:21 -0600 answered a question Matlab-ROS Communication with ipc_bridge_ros

I had the exact same problem while using ROS Fuerte in Ubuntu 12.04, and MATLAB 2012a. You don’t need to roll back to an earlier version of Ubuntu the problem is in the the gcc and g++ symbolic links. On my Ubuntu 12.04 I had two versions so I changed the symbolic links in /usr/bin to the 4.4 versions by navigation to the directory and using the following code:

ln -s g++ g++-4.4 ln -s gcc gcc-4.4

I also changes the symbolic links to MATLAB's as shown in the answer at the link below:

Everything compiled fine and I was able to run the MATLAB publisher and subscriber tutorials at: