Hi Thanks for shaiding lights ina difficult topic like ROS. I was running the code webcamExample.m file bur I got following error- Error in webcamExampleMATLAB (line 13) params = ControlParams; Pls help-
Hey guys, great video! Just a quick question, I have the files downloaded and everything running in MATlab and Gazebo, however my robot in gazebo doesn't move or follow the detected circle. It highlights the detected blue cube with a yellow circle as demonstrated but the robot does not change velocity at any point to follow it once moved? Any idea? Thanks
Hi guys, very useful video. Now I was wondering where I can find the second part about generating a stand alone ROS node from matlab code. Also is there a way to go from Matlab to ROS writen in Python? Thank you very much.
Part 3 is the one about generating stand-alone C++ ROS nodes, which will be out in the near future. Keep in mind that the videos on the MathWorks Web site release earlier than the ones on UA-cam. We also communicate all new video releases on the Facebook group. ... and no, there is no Python code generator. However, the generated C++ node should be able to talk to other nodes written in Python. That's one of the big advantages of ROS.
It can definitely be another machine on the network. The example we show here uses a Windows host and a Linux virtual machine, which do have different IP addresses. You can use 'rosinit' to connect to another ROS master's IP address on the same network.
@@speedracer1702 theres alot more information about using ROS with python and c++ than there is MATLAB. There was no particular reason for it to have been MATLAB in my case. So I made my life easier.
Hello, Can I communicate between MATLAB and ROS's online version (i.e. rds.theconstructsim.com/#) ? I want to implement "Getting Started with MATLAB and ROS" example on online version of ROS. In MATLAB code I changed following commands as per my online machine's public ip but it didn't worked. ipaddress = "192.168.233.133:11311" rosinit(ipaddress) What shall I do to communicate with turtlebot existing in Gazebo on rds.theconstructsim.com/# using MATLAB?
I don't think you can communicate across the VM that the ROS Development Studio provides. I worked with The Construct a while ago and they were able to install MATLAB into the ROSJect itself, then you activate with your own license if it allows it. The issue with this is that MATLAB is kind of a massive install, so we found it took up to 20-30 minutes just to start a ROSJect with MATLAB in it... Anyways, it's been done and I think you should email The Construct if you want to know how, because they set this up for me back then.
@@roboticseabass Thanks for your prompt response 🙂. Kindly tell me one more thing that i m running VM provided in above example on my windows 10 laptop and my laptop gets very slow when i run VM on it. What can i do to get rid of this issue?
@@engr.bazghajabeen5428 Well, yes! A VM requires a lot of RAM as does MATLAB. Of course the best solution for performance is to have local installs of both ROS and MATLAB on an Ubuntu system. Else, get more RAM, reduce the RAM usage on the VM (really trades off your host vs. VM memory usage), use multiple computers and talk between them using ROS, etc.
Guys very good explanation, keep doing more videos :-)
Hello sir I wanted to ask one thing that, how can one introduce multiple robots in gazebo simulation and communicate with each of them using MATLAB?
I want to know the same, any idea if you did it. please let me know
Hi
Thanks for shaiding lights ina difficult topic like ROS.
I was running the code webcamExample.m file bur I got following error-
Error in webcamExampleMATLAB (line 13)
params = ControlParams;
Pls help-
Hey guys, great video! Just a quick question, I have the files downloaded and everything running in MATlab and Gazebo, however my robot in gazebo doesn't move or follow the detected circle. It highlights the detected blue cube with a yellow circle as demonstrated but the robot does not change velocity at any point to follow it once moved? Any idea? Thanks
Hi, how did you open the gazebo world with blue box, I couldn't find it as in the video?
Hi guys, very useful video. Now I was wondering where I can find the second part about generating a stand alone ROS node from matlab code. Also is there a way to go from Matlab to ROS writen in Python? Thank you very much.
Part 3 is the one about generating stand-alone C++ ROS nodes, which will be out in the near future.
Keep in mind that the videos on the MathWorks Web site release earlier than the ones on UA-cam. We also communicate all new video releases on the Facebook group.
... and no, there is no Python code generator. However, the generated C++ node should be able to talk to other nodes written in Python. That's one of the big advantages of ROS.
sebastian can i mail you ()samehmtcmtc@gmail.com
Does the IP address have to be local? Or can I control/ recieve data from a robot connected to another network?
It can definitely be another machine on the network. The example we show here uses a Windows host and a Linux virtual machine, which do have different IP addresses. You can use 'rosinit' to connect to another ROS master's IP address on the same network.
How do I even open up the virtual world of the turtlebot?
I have the same query, were you able to open it?
@@adilfarooq1430 i'm no longer using matlab for ROS
@@jertdw3646 Hi. Can you mention any reason why you aren't using it for ROS anymore?
@@speedracer1702 theres alot more information about using ROS with python and c++ than there is MATLAB. There was no particular reason for it to have been MATLAB in my case. So I made my life easier.
Hello,
Can I communicate between MATLAB and ROS's online version (i.e. rds.theconstructsim.com/#) ?
I want to implement "Getting Started with MATLAB and ROS" example on online version of ROS. In MATLAB code I changed following commands as per my online machine's public ip but it didn't worked.
ipaddress = "192.168.233.133:11311"
rosinit(ipaddress)
What shall I do to communicate with turtlebot existing in Gazebo on rds.theconstructsim.com/# using MATLAB?
I don't think you can communicate across the VM that the ROS Development Studio provides. I worked with The Construct a while ago and they were able to install MATLAB into the ROSJect itself, then you activate with your own license if it allows it. The issue with this is that MATLAB is kind of a massive install, so we found it took up to 20-30 minutes just to start a ROSJect with MATLAB in it... Anyways, it's been done and I think you should email The Construct if you want to know how, because they set this up for me back then.
@@roboticseabass Thanks for your prompt response 🙂. Kindly tell me one more thing that i m running VM provided in above example on my windows 10 laptop and my laptop gets very slow when i run VM on it. What can i do to get rid of this issue?
@@engr.bazghajabeen5428 Well, yes! A VM requires a lot of RAM as does MATLAB. Of course the best solution for performance is to have local installs of both ROS and MATLAB on an Ubuntu system. Else, get more RAM, reduce the RAM usage on the VM (really trades off your host vs. VM memory usage), use multiple computers and talk between them using ROS, etc.
@@roboticseabass Can I run ROS in this VM? or I can run gazebo simulations available on desktop only?
@@engr.bazghajabeen5428 Yes, the MathWorks VM has ROS installed.
sebastian , can i mail you about walking robots (hexapod)
You can email us at roboticsarena@mathworks.com if you have any questions about MATLAB and Simulink for robotic applications.
Cute