Skip to content

Connecting mBlock code to linefollower.ttt #5

@vishlashkari

Description

@vishlashkari

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions