!oehzxzJtyOucDIIRQs:matrix.org

dropbot-dev

6 Members
3 Servers

Load older messages


Timestamp Message
7 Aug 2017
21:34:41@ryanfobel:matrix.orgryan.fobel set a profile picture.
21:41:21Room Avatar Renderer.
8 Aug 2017
17:53:39@christian.fobel:matrix.orgchristian.fobel joined the room.
18:06:47@christian.fobel:matrix.orgchristian.fobel

I just tried uploading the latest dropbot.py using platformio-tool-teensy with teensy_loader_cli.exe removed, but it wasn't able to upload:

(dropbot.py) PS C:\Users\chris\Documents\GitHub\dropbot.py> paver upload
---> pavement.upload
pio run --target upload --target nobuild
[08/08/17 14:04:22] Processing teensy31 (platform: teensy, board: teensy31, framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Uploading .pioenvs\teensy31\firmware.hex
Opening Teensy Loader...
Rebooting...
Teensy did not respond to a USB-based request to automatically reboot.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
======================================================== [SUCCESS] Took 8.19 seconds ========================================================
18:07:18@christian.fobel:matrix.orgchristian.fobelIt pops up the GUI uploader, but says it can't reboot the teensy
18:11:12@christian.fobel:matrix.orgchristian.fobelNevermind
18:11:47@christian.fobel:matrix.orgchristian.fobel

It looks like it was just a bad USB cable. I swapped cables and now it is working as expected:

(dropbot.py) PS C:\Users\chris\Documents\GitHub\dropbot.py> paver upload
---> pavement.upload
pio run --target upload --target nobuild
[08/08/17 14:11:02] Processing teensy31 (platform: teensy, board: teensy31, framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Uploading .pioenvs\teensy31\firmware.hex
Opening Teensy Loader...
Rebooting...
======================================================== [SUCCESS] Took 4.52 seconds ========================================================
18:52:21@christian.fobel:matrix.orgchristian.fobel I've pushed up version 1.20.0 of dropbot.py to GitLab and the sci-bots Anaconda channel (as the package dropbot)
18:53:51@christian.fobel:matrix.orgchristian.fobel As of dropbot v1.20.0, platformio-tool-teensy >=1.21.0 is required, which excludes teensy_loader_cli.exe
18:54:40@ryanfobel:matrix.orgryan.fobelGreat! Thanks Christian.
18:54:45@christian.fobel:matrix.orgchristian.fobelNo problem
18:55:22@christian.fobel:matrix.orgchristian.fobel The corresponding platform-tool-teensy Conda build recipe can be found here: https://github.com/sci-bots/platformio-tool-teensy
12 Aug 2017
15:32:06@ryanfobel:matrix.orgryan.fobelLooking for some feedback on https://github.com/wheeler-microfluidics/base-node-rpc/issues/10
19 Sep 2017
15:09:13@christian:digiomics.comchristian joined the room.
15:09:39@lucaszw:matrix.orglucaszw joined the room.
22:27:50@christian.fobel:matrix.orgchristian.fobel ryan.fobel: I just got base-node-rpc compiling and running for Arduino micro
22:28:41@christian.fobel:matrix.orgchristian.fobel It seems like the micro doesn't support using the serialEvent callback to process incoming data on the serial interface
22:29:50@christian.fobel:matrix.orgchristian.fobelRedacted or Malformed Event
22:30:43@christian.fobel:matrix.orgchristian.fobel

I was able to make things work by replacing:

void serialEvent() { node_obj.serial_handler_.receiver()(Serial.available()); }

void loop() {
  if (node_obj.serial_handler_.packet_ready()) {
      node_obj.serial_handler_.process_packet(command_processor);
  }
}

with:

void loop() {
  if (Serial.available()) {
    node_obj.serial_handler_.receiver()(Serial.available());

    if (node_obj.serial_handler_.packet_ready()) {
        node_obj.serial_handler_.process_packet(command_processor);
    }
  }
}
20 Sep 2017
00:55:46@ryanfobel:matrix.orgryan.fobel Awesome, thanks Christian! I'll give it a try tomorrow...
12:19:09@ryanfobel:matrix.orgryan.fobelFigured out the problem with those control boards... They populated 2 capacitors that should have been left empty. Once I removed them, everything works as expected.
13:16:56@christian.fobel:matrix.orgchristian.fobelAwesome!
27 Sep 2017
21:24:21@ryanfobel:matrix.orgryan.fobelRe: the handling of the serialEvent above, any problem with making that change in the base-node-rpc project for all boards or should I do it conditionally for the micro using #defines
21:24:27@ryanfobel:matrix.orgryan.fobel?
21:32:49@christian.fobel:matrix.orgchristian.fobelI made the fix already. I've just pushed up the changes as v0.32 to the git repo and am just building the Conda package now
21:33:24@ryanfobel:matrix.orgryan.fobelOk, thanks!
21:38:43@christian.fobel:matrix.orgchristian.fobel I just ended up making the change without ifdefs, since it is basically how the serialEvent function is just called by serialEventRun after each iteration of loop anyways
21:39:47@ryanfobel:matrix.orgryan.fobelWorks for me
15 Oct 2018
06:41:15@voyager:t2bot.ioMatrix Traveler (bot) joined the room.
08:28:47@kasbah:matrix.orgkasbah joined the room.

There are no newer messages yet.


Back to Room List