利基應用科技使用者論壇

無論是新朋友還是舊朋友,無論是大問題還是小bug,我們都將盡我們所能為您提供所有利基應用相關產品的解答喔!
現在的時間是 週五 9月 10, 2010 4:29 am

所有顯示的時間為 UTC + 8 小時




發表新文章 回覆主題  [ 6 篇文章 ] 
發表人 內容
 文章主題 : About ColorRGB Sensor
文章發表於 : 週五 5月 07, 2010 4:13 pm 
離線

註冊時間: 週五 5月 07, 2010 3:33 pm
文章: 3
In innoBASIC Workshop IDE, I tried to control COLOR RGB sensor by the example in product manual of COLOR RGB sensor.
Note:My computer doesn't support Unicode.Some how.

However, it comes the problem that output window shows the state of "????=1".
Even if the program as below:
Peripheral myC As ColorRGB @ 0 ' ³]©w¼Ò²Õ½s¸¹¬°0
Dim g_wC, g_wR, g_wG, g_wB As Word ' ³]©w·P´ú­ÈÀx¦s°Ñ¼Æ
Sub Main()
End Sub

It work until the program as below:
Dim g_wC, g_wR, g_wG, g_wB As Word ' ³]©w·P´ú­ÈÀx¦s°Ñ¼Æ
Sub Main()
End Sub

I guess that ColorRGB Sensor is later than the InnoBasic Workshop v1.0.2.9.
Therefore, I download the latest vertion of InnoBasic Workshop.
Yet, after compiler, output window shows "Error (L2001):unresolves external symble '_DEBUG...' in file '.....inb.obj'


回頂端
 個人資料  
 
 文章主題 : Re: About ColorRGB Sensor
文章發表於 : 週五 5月 07, 2010 6:31 pm 
離線

註冊時間: 週六 1月 26, 2008 12:32 am
文章: 543
來自: 利基北極玩具工坊南極分部
You may check if any character with fullwidth form in your code, especially note the space.
The innoBASIC workshop can't compiler the fullwidth form characters.
If any other problems, please post your code without unknown characters.


回頂端
 個人資料  
 
 文章主題 : Re: About ColorRGB Sensor
文章發表於 : 週六 5月 08, 2010 4:11 pm 
離線

註冊時間: 週五 5月 07, 2010 3:33 pm
文章: 3
我的問題換成PC電腦後解決了
我猜是我所用的平台並不支援Unicode
在抓取檔案時,因為編碼環境的不同而抓不到obj


回頂端
 個人資料  
 
 文章主題 : Re: About ColorRGB Sensor
文章發表於 : 週一 5月 10, 2010 9:54 am 
離線

註冊時間: 週六 1月 26, 2008 12:32 am
文章: 543
來自: 利基北極玩具工坊南極分部
請問原本用的平台是?
我猜是直接抓程式貼過去
可是貼的時候
有一些編碼變成亂碼
改掉我想就可以了


回頂端
 個人資料  
 
 文章主題 : Re: About ColorRGB Sensor
文章發表於 : 週日 6月 27, 2010 12:56 pm 
離線

註冊時間: 週五 5月 07, 2010 3:33 pm
文章: 3
終於到暑假,有時間了!

我沒有再對這問題做更深入的研究的說
目前正嘗試使用Web Cam擷取影像並處理的方式(用途是要在地上找紅球,新光保全所辦的比賽)
不過ColorRGB Sensor感測模組的有效距離
似乎不超過5cm的說,我有miss掉什麼嗎?

平台是老師從國外買回來的移動的平台(輪型機器人)
一開始就有灌xp的作業系統了,但沒辦法輸入中文
貌似也不是Unicode的原因(後來發現其路徑的編碼是使用Unicode~沒錯)


回頂端
 個人資料  
 
 文章主題 : Re: About ColorRGB Sensor
文章發表於 : 週日 6月 27, 2010 9:07 pm 
離線

註冊時間: 週六 1月 26, 2008 12:32 am
文章: 543
來自: 利基北極玩具工坊南極分部
Color的偵測並沒有給他一個偵測距離限制
因為他就是直接看各色光聚焦在晶片上的比例
直接輸出反應值
如果希望調整感測特定的距離
也許要考慮加一個聚焦的鏡頭


回頂端
 個人資料  
 
顯示文章 :  排序  
發表新文章 回覆主題  [ 6 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者: 沒有註冊會員 和 1 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯文章
不能 在這個版面刪除文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
正體中文語系由 竹貓星球 維護製作