View unanswered posts | View active topics It is currently Mon Dec 22, 2014 9:32 am






Reply to topic  [ 10 posts ] 
HiTechnic sensors in V4.26--no luck 
Author Message
Rookie

Joined: Sat Nov 01, 2014 12:21 pm
Posts: 4
Post HiTechnic sensors in V4.26--no luck
Hi

Having no luck with either the HiTechnic Accel or HiTechnic Infrared Seeker V2.
Using v4.26 with latest kernel and firmware (*1.06X), and latest posting of
robotcdriversuite-master.zip (from today).

Both example programs hitechnic-accelerometer-test1.c and hitechnic-irseeker-v2-test1.c from the
driver suite compile and download fine but in both cases the first readSensor() call produces the Debug Stream
message "ERROR, You have not setup the sensor port correctly.
Please refer to one of the examples."

I have the sensor connected to S1 in both cases, and have tried changing S1 in the test programs (and sensor plugin) to S2,
and still get the same error. Have also tried this on two separate EV3 bricks (hardware v0.60). Other non-I2C sensors are working fine
so I know the EV3 brick ports are good, and the HiTechnic sensors are also known good (they work on my older NXT brick)

|Have tried the Robot menu Test I2C Sensors Utility dialog (with both sensorI2CCustom, and the specific HiTechnic sensor type), and output messages 0x02 0x42 and 0x10 0x42, respectively, for the accel and IR sensors and I always get I2C Bus errors ( I tried lots of other combos like asking for 0 or 1 or 6 bytes of reply , registers 0x08, 0x10 etc with same bus error)

Anyone had any success with either sensor?

Thanks


Mon Nov 03, 2014 12:53 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3297
Location: Rotterdam, The Netherlands
Post Re: HiTechnic sensors in V4.26--no luck
There is an issue currently with the EV3 and SensorType[]. We're very busy working on it. The sensor is basically not being configured properly. It is my #1 priority to fix this week.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Nov 03, 2014 2:18 pm
Profile WWW
Rookie

Joined: Sat Nov 01, 2014 12:21 pm
Posts: 4
Post Re: HiTechnic sensors in V4.26--no luck
Xander:

Great to see you guys are already on top of this. I found the new AutoID and SensorType[ ] behaviour strange as SensorType[ ] was always returning a zero sensorNone value.

Thanks!


Mon Nov 03, 2014 2:46 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3297
Location: Rotterdam, The Netherlands
Post Re: HiTechnic sensors in V4.26--no luck
Auto-id for non-EV3 sensors is not as functional as we'd like. Unfortunately, it's what LEGO implemented, so we're a little stuck with it. The extended firmware does have facilities do disable a LOT of the idiosyncrasies of the underlying LEGO VM.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Nov 03, 2014 2:49 pm
Profile WWW
Rookie

Joined: Sun Jan 23, 2011 3:14 am
Posts: 14
Post Re: HiTechnic sensors in V4.26--no luck
I am trying to use a MindSensors Ir-Dist Long range and it always outputs 3. Just wondering if this is a related issue?


Sun Nov 09, 2014 10:30 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3297
Location: Rotterdam, The Netherlands
Post Re: HiTechnic sensors in V4.26--no luck
If you're using an EV3 then the answer is yes.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Nov 10, 2014 12:38 am
Profile WWW
Rookie

Joined: Thu Nov 13, 2014 3:04 pm
Posts: 1
Post Re: HiTechnic sensors in V4.26--no luck
mightor, I had the robotcdriversuite-master.zip and as mentioned, it is compiling correctly. I had some issues while downloading it initially but it turned out to be a simple grounding issue.However, I’m still not being able to read the sensor status. Have you guys patched this small issue with the EV3 yet? I’m making a small project using V4.26. I’m posting in this thread since I’m using the exact same firmware.

_________________
quick-turn pcb assembly


Thu Nov 13, 2014 3:06 pm
Profile
Rookie

Joined: Sun Jan 23, 2011 3:14 am
Posts: 14
Post Re: HiTechnic sensors in V4.26--no luck
Sorry to be a bug Xander, how are you progressing with bringing 3rd party sensors online for EV3? I'm really looking forward to completing programming my EV3 project and starting on my target bot!
Take a look!
http://i.imgur.com/1Dwl83o.jpg

I heard that you will soon be working for Robomatter. I hope they treat you well this community is blessed by your knowledge & experience.


Fri Nov 14, 2014 1:44 pm
Profile
Rookie

Joined: Sun Jan 23, 2011 3:14 am
Posts: 14
Post Re: HiTechnic sensors in V4.26--no luck
Bump, any progress with 3rd Party sensors with EV3?


Mon Nov 24, 2014 1:10 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3297
Location: Rotterdam, The Netherlands
Post Re: HiTechnic sensors in V4.26--no luck
Yes, there is! I now have the EV3 I2C stuff working and will restart the development of the 3rd party driver suite for the EV3.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Wed Nov 26, 2014 12:43 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.