miniBloq drag-and-drop Test Release

The Easy Robot for Everyone!

Re: miniBloq drag-and-drop Test Release

Postby roboalchemist » Mon Feb 24, 2014 10:11 pm

Yeah, the example miniBloq made for us became out of date as they used old code. The included examples in the release will all be compatible.

@Mathew: Good call. We'll leave the driver update as an option in future installs, and publish a separate driver installer on the front page with the next round of updates.
---
Joseph Schlesinger - ArcBotics Co-Founder/CTO
roboalchemist
Site Admin
 
Posts: 668
Joined: Mon Jul 16, 2012 3:02 am

Re: miniBloq drag-and-drop Test Release

Postby brucew_o » Wed Feb 26, 2014 10:12 am

This looks great!
So, not using the out of date examples, but just the blocks to create my own program - when I try to run, I get errors.

C:\Program Files (x86)\miniBloq\work\_temp/comp1/output/SparkiWire.cpp.o: In function `TwoWire::write(unsigned char const*, unsigned int)':
C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:195: undefined reference to `twi_transmit'
C:\Program Files (x86)\miniBloq\work\_temp/comp1/output/SparkiWire.cpp.o: In function `TwoWire::write(unsigned char)':
C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:177: undefined reference to `twi_transmit'
C:\Program Files (x86)\miniBloq\work\_temp/comp1/output/SparkiWire.cpp.o: In function `TwoWire::endTransmission(unsigned char)':
C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:140: undefined reference to `twi_writeTo'
C:\Program Files (x86)\miniBloq\work\_temp/comp1/output/SparkiWire.cpp.o: In function `TwoWire::requestFrom(unsigned char, unsigned char, unsigned char)':
C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:85: undefined reference to `twi_readFrom'

There are errors.


But, when I take that code and put it into sparkiduino it works fine. So at the mo I can use it in a rather long winded fashion (although strangely I don't seem able to directly copy and paste for some reason - have to paste into word first, then copy and paste a second time (odd I know). Should I be worrying/letting you know that it won't compile and run directly, or just wait for the next release?

Thanks!
(It is still helping me teach myself and my daughters a bit of programming, so I still see this a success!)
brucew_o
 
Posts: 4
Joined: Wed Feb 12, 2014 9:51 am

Re: miniBloq drag-and-drop Test Release

Postby marajade » Fri Mar 28, 2014 7:04 pm

I have the same errors as brucew_o and I also tried copying and pasting the code generated by miniBloq into Sparkiduino.

But, when I take that code and put it into sparkiduino it works fine.


Surprisingly it works :) , and I was wondering if this issue would be fixed by the next update, so that we can run Sparki just from the miniBloq?
marajade
 
Posts: 2
Joined: Fri Feb 21, 2014 9:51 pm

Re: miniBloq drag-and-drop Test Release

Postby swyphcosmo » Thu May 29, 2014 9:38 pm

Just tried the new beta release. It seems that the additions were updating the Arduino Library, which fixes the TwoWire compiler errors noted by brucew_o, adding a couple examples, and updating the driver files. Is there a change log for the build in case there were other fixes?

The fix for the TwoWire issues is a little weird to me. It seems that the contents of `twi.h` and `twi.c` were copied into `SparkiWire.h` and `SparkiWire.cpp`, respectively. I fixed the compiler errors in the previous beta by adding `twi.c` to the Sparki build steps since the file was already included in the Sparki Library files (<Minibloq install dir>/libs/Arduino/Sparki/v1.0).

The build steps are found in `<Minibloq install dir>/hard/Sparki.v1.0/rel/action.020.0080.SparkiRobot.Arduino.v1.0.rel`. The following `<cmd>` block can be added inside the `<build>` block.

Code: Select all
<cmd>
    <s>"</s><s>toolsPath::</s>
    <s>/avr-gcc" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD</s>
    <s> -mmcu=</s><s>cpu::</s>
    <s> -DF_CPU=</s><s>clockFreq::</s>
    <s> -DARDUINO=</s><s>arduinoVersion::</s>
    <s> -I"</s> <s>toolsPath::</s>
    <s>" -I"</s><s>corePath::</s>
    <s>" -I"</s><s>corePath::</s><s>/avr-libc</s>
    <s>" -I"</s><s>corePath::</s><s>/variants/</s><s>arduinoVariant::</s>
    <s>" -I"</s><s>componentPath::</s>
    <s>" -I"</s><s>outputPath::</s><s>" </s>
    <s>-I"</s><s>libsPath::</s><s>/Arduino/Sparki/v1.0" </s>

    <s>"</s><s>libsPath::</s><s>/Arduino/Sparki/v1.0/twi.c" -o "</s><s>outputPath::</s><s>/twi.c.o"</s>
</cmd>
swyphcosmo
 
Posts: 1
Joined: Thu May 29, 2014 8:16 pm

Scratch/Enchanting

Postby jhodges » Thu Aug 14, 2014 8:32 am

Any chance of getting Scratch or it's robotic modification Enchanting http://enchanting.robotclub.ab.ca/tiki-index.php running on Sparki? We use it for Mindstorms and I know Arduino can run scratch so it seems like there should be a way to get that working?
THanks.
jhodges
 
Posts: 1
Joined: Thu Aug 14, 2014 8:27 am

Re: miniBloq drag-and-drop Test Release

Postby roboalchemist » Thu Aug 14, 2014 7:45 pm

Its not technically unfeasible, but we don't currently have plans at this time to do so.
---
Joseph Schlesinger - ArcBotics Co-Founder/CTO
roboalchemist
Site Admin
 
Posts: 668
Joined: Mon Jul 16, 2012 3:02 am

Re: miniBloq drag-and-drop Test Release

Postby garfieldo » Wed Sep 24, 2014 10:54 am

I'm sure I'm being an idiot, but I can't actually work out how to actually upload the code from miniBloq into Sparki.

The best I've managed so far is to cut and paste the code into the arduino IDE.

That can't be right can it?

Thanks for your help. Well done with Sparki btw. It's great!
garfieldo
 
Posts: 5
Joined: Thu Aug 28, 2014 10:17 pm

Re: miniBloq drag-and-drop Test Release

Postby garfieldo » Thu Sep 25, 2014 6:43 am

Ok. I WAS an idiot.

I've got it now.

Under 'component' hit 'run'.

I found a really useful introductory guide here: http://blog.minibloq.org/2014/07/new-be ... t-and.html.

It's for a Pi bot (confusingly nothing to do with a Raspberry Pi). But it's useful anyway.

Perhaps Arcbotics could include a link to this site somewhere (you probably do already somewhere but I missed it).
garfieldo
 
Posts: 5
Joined: Thu Aug 28, 2014 10:17 pm

обувь спецодежда

Postby kapriolchb » Tue May 23, 2017 12:30 pm

Доброго времени суток дамы и господа!
Image
ОДО «БИТЕХ» работает на рынке с 2005 года. Более 10 лет компания является одним из самых надежных и стабильных поставщиков спецодежды, спецобуви, перчаток рабочих, рукавиц и средств индивидуальной защиты.
1)спецодежда минск – Рабочий костюм – это не просто удобная в использовании специализированная одежда для ваших сотрудников, но и возможность создать собственный фирменный имидж, выделить вашу компанию из числа конкурентов. Однако зачастую спецодежду используют для более практичных целей – к примеру, для защиты от пониженных температур, повышенной влажности воздуха или в качестве сигнального "маяка" в условиях плохой видимости.
2)летняя спецодежда Минск - Несмотря на достаточно низкие цены, у нас Вы приобретете удобную рабочую одежду высокого качества. Специалисты ОДО «БИТЕХ» всегда помогут Вам правильно подобрать удобную и практичную спецодежду, спецобувь, средства защиты и сопутствующие товары.
3)зимняя спецодежда Минск – На нашем складе всегда представлен широкий ассортимент готовой продукции:
+Спецодежда летняя
+Спецодежда зимняя
+Спецодежда сварщика
+Спецодежда для защиты от воды, кислот и щелочей
4)спецодежда каприол минск - Мы заботимся о том, чтобы предоставляемый нами сервис был высокого уровня. В этом нам помогает наличие главного офиса, складов для готовой продукции, сети дилеров. Кроме того, мы дорожим своей репутацией и несем ответственность за качество нашего товара.
Мы будем рады Вас видеть у нас на интернет ресурсе НАЖМИТЕ ССЫЛКУ
От всей души Вам всех благ!

спецодежда готовая
перчатки нитриловые одноразовые купить в минске
рабочая одежда куртки
ассортимент спецодежды
качественная спецодежда из европы для строительства
сапоги резиновые формовые
купить рабочие ботинки
прорезиненная спецодежда
костюмы спецодежда цена
сапоги ПВХ Минск
комбинезоны летние
брендовая спецодежда
купить перчатки рабочие в минске
спецодежда для мясного производства
полукомбинезон рабочий
спецобувь купить в минске в розницу
спецодежда работников магазина
купить модельные резиновые сапоги
спецодежда повара адреса
перчатки КЩС
рабочая одежда интернет магазин с бесплатной доставкой
халат женский
спецодежду для рабочих купить минск
резиновые сапоги женские купить интернет магазин недорого
можно выдавать спецодежду
военные резиновые сапоги
мужская спецодежда
перчатки нейлоновые белые
стецкевич-спецодежда - купить спецодежду в минске цена
спецодежда для промышленных альпинистов
спецодежда зимняя куртка цена
спецодежда бош
костюм рабочего
обувь специальное
сапоги резиновые с подноском цена
спецодежда по профессиям
спецодежда рабочая минск
спецодежда упаковщика
Черенок для лопаты
рабочая одежда адреса
костюм рабочий цена
спецодежда нормы рб
защита от падения с высоты купить
спецодежда недорого розницу
Куртка влагозащитная KAMP нейлон/ПВХ
Куртка влагозащитная удлиненная Saturn дорожник
высокие резиновые сапоги купить
перчатки хб 10 класс 5 нитка
купить спецодежду у производителя
купить спецодежду летнюю комбинезон
kapriolchb
 
Posts: 6
Joined: Thu May 18, 2017 8:51 pm
Location: Uruguay

Previous

Return to Sparki

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron