Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ir communication [BOLT] #30

Open
Dlawlet opened this issue Dec 19, 2022 · 3 comments
Open

Ir communication [BOLT] #30

Dlawlet opened this issue Dec 19, 2022 · 3 comments

Comments

@Dlawlet
Copy link

Dlawlet commented Dec 19, 2022

hello, has IR communication been implemented for sphero in general and bolt in particular? because it doesn't look like it has, I've been digging through the library files and I can't seem to find a way to operate the duo start_ir_broadcast(0,1) on one bolt and start_ir_follow(0,1) on another.

@superfashi
Copy link
Member

Similar to #22. Without a BOLT I cannot quite debug this, and a BOLT is somewhat expensive...

@jeffyjeffy1023
Copy link

I mean hey, I got windows 10 and a bolt of my own, buuuut no second bolt/RVR to receive/send IR stuff from/to the bolt. We'd technically need two robots to truly test out the IR..

@Dlawlet
Copy link
Author

Dlawlet commented Feb 15, 2023

By changing some methods into partial methods and reversing some arguments, I was able to correct some of the communication IR: Broadcasting, follow and evade work. But I still have difficulties to make the message sending work. I think the problem is at this level:
@staticmethod def send_robot_to_robot_infrared_message(toy, s, s2, s3, s4, s5, proc=None): # Untested / Unknown param names toy._execute(Sensor._encode(toy, 42, proc, [s, s2, s3, s4, s5])) [in Sensor.py]

for the moment I put this :
@staticmethod def send_robot_to_robot_infrared_message(toy, channel, intensity, proc=None): toy._execute(Sensor._encode(toy, 42, proc, [channel, intensity]))

but it doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants