NenadZG / mBot-simulation

mBot simulation in V-REP
GNU General Public License v3.0
22 stars 10 forks source link

Connecting mBlock code to linefollower.ttt #5

Open vishlashkari opened 4 years ago

vishlashkari commented 4 years ago

I figured out how to connect my mBlock code to the mBot.ttm. File > Load Model. The script button doesn't appear in the same place for me as it does in your YouTube video. On my interface, the script icon shows up next to a child of mBot called mBotScript and when I double click the script icon it gives me a menu called User Parameters not Script Parameters (which is what shows up in your YouTube video). Anyway, I can still do the Com port name from that menu and get it connected. No issue there.

The problem comes when I try to do the same on linefollower.ttt. I go File > Open Scene. The script icon only shows up in one place after I do this. It shows up next to Camera_script. When I double click that I get the User Parameters menu like before, but this time, there is no Com port name option listed. The only options listed are Camera name, Object name, and Maximum distance. So I don't know how/where to do the Com port name thing from the linefollower.ttt scene. Any help would be appreciated.