Comments: ReconBot with the Tessel 2

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #652490 / about 7 years ago / 2

    I am having problems establishing or sustaining a wifi connection on the tessel 2. It does work but only occasionally and briefly.

  • Dave_st / about 7 years ago * / 1

    Thanks Rick for the great tutorial! I had a lot of fun building this and running it around the house chasing the dog! I added the following line to .tesselinclude: node_modules/socket.io-client/dist/socket.io.min.js. That fixed it for me. The issue was that the file 'socket.io.min.js' was not getting moved to /tmp/remote-script/node_modules. I created a pull request: https://github.com/bocoup/j5ik-reconbot-tessel-edition/pull/3.

  • Member #557859 / about 7 years ago / 1

    I've built and wired this robot, I can successfully run the motors.js script (and the wheels spin in the right direction!)

    My problem is when I run index.js I get the following error:

    INFO Running index.js...
    module.js:327
        throw err;
    
    Error: Cannot find module 'socket.io-client/dist/socket.io.min.js'
        at Function.Module._resolveFilename (module.js:325:15)
        at Function.require.resolve (internal/module.js:16:19)
        at e.serveClient (/tmp/remote-script/node_modules/socket.io/lib/index.js:1:1327)
        at new e (/tmp/remote-script/node_modules/socket.io/lib/index.js:1:206)
        at Object.<anonymous> (/tmp/remote-script/index.js:22:16)
        at Module._compile (module.js:409:26)
        at Object.Module._extensions..js (module.js:416:10)
        at Module.load (module.js:343:32)
        at Function.Module._load (module.js:300:12)
        at Function.Module.runMain (module.js:441:10)
    

    My knowledge of javascript is very limited. I'm guessing that socket.io is installed improperly, or that it can't be found where it is, but I have no idea how to fix it.

    Any help is greatly appreciated.

    • Dave_st / about 7 years ago / 1

      I added the following line to .tesselinclude: node_modules/socket.io-client/dist/socket.io.min.js. That fixed it for me. The issue was that the file ‘socket.io.min.js’ was not getting moved to /tmp/remote-script/node_modules. I created a pull request: https://github.com/bocoup/j5ik-reconbot-tessel-edition/pull/3.

      • Member #879031 / about 7 years ago * / 1

        Yes, Yes, Yes!

        By including the line:

        node_modules/socket.io-client/dist/socket.io.min.js 
        

        into .tesselinclude allowed the project to compile and run successfully.

        Thank you for the update!

    • Member #879031 / about 7 years ago * / 1

      Greetings,

      I suffer from the same error:

      • Tried on both a Windows 10 and Windows 7 pc
      • node : v6.9.2
      • j5ik-reconbot-tessel-edition : 0.0.1
      • Shorted pathname to c:\jrtem and ran npm install from there

      with each try the following error shows:

      %USERPROFILE%\Documents\MyProjects\Tessel2\j5ik-reconbot-tessel-edition-master>t2 run index.js
      INFO Looking for your Tessel...
      INFO Connected to Tessel-Lime.
      INFO Building project.
      INFO Writing project to RAM on Tessel-Lime (1848.832 kB)...
      INFO Deployed.
      INFO Running index.js...
      module.js:327
          throw err;
          ^
      
      Error: Cannot find module 'socket.io-client/dist/socket.io.min.js'
          at Function.Module._resolveFilename (module.js:325:15)
          at Function.require.resolve (internal/module.js:16:19)
          at e.serveClient (/tmp/remote-script/node_modules/socket.io/lib/index.js:1:1327)
          at new e (/tmp/remote-script/node_modules/socket.io/lib/index.js:1:206)
          at Object.<anonymous> (/tmp/remote-script/index.js:22:16)
          at Module._compile (module.js:409:26)
          at Object.Module._extensions..js (module.js:416:10)
          at Module.load (module.js:343:32)
          at Function.Module._load (module.js:300:12)
          at Function.Module.runMain (module.js:441:10)
      

      Any new ideas?

  • mlov83 / about 7 years ago / 1

    I made a couple of changes to this project that I would recommend to anyone using this kit. Firstly the battery is too heavy it makes the back of the robot drag. This is especially hard when using on a rug. I ended up moving all the parts to a different kit. Here is the kit I used for the rover. https://www.amazon.com/gp/product/B00GLO5SMY/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1 Eveything else is the same but this kit included a back wheel wish makes it handy for dealing with the heavy battery.


If you've found an issue with this tutorial content, please send us your feedback!