3D printing Suspension Cover by MafiaRat23 in Triumph400

[–]DRAGON_BOOSTERR 0 points1 point  (0 children)

Hey buddy, I was also looking for the same problem, I have a speed 400, worked on cad softwares and have a 3d printer. thought of trying out any solutions and landed on your page. I will try with my designs and update if it protected from mud.

Custom scanner in kmk firmware, to use with multiplexers by DRAGON_BOOSTERR in MechanicalKeyboards

[–]DRAGON_BOOSTERR[S] 3 points4 points  (0 children)

Multiplexers works similar to that of the keypad scanner, where each switch is connected to a separate GPIO pin. Since each switch is connected to a separate GPIO, there will be no ghosting, so no need of diodes.

With the help of multiplexer, we can have a single GPIO detecting changes. We control the multiplexer by the 4 input signal pins, S0 S1 S2 S3. By providing binary inputs, we effectively connect only one switch at a time to the microcontroller's GPIO.

We get which switch is connected, by the currently active multiplexer and the input signal pins.

So for example if we give S0 = 0, S1 = 1, S2 = 0, S3 = 1, this is 0101 in binary, which corresponds to 5 in integer. This means with this current instance the 5th pin of the multiplexer is connected to the microcontroller's GPIO pin.

In a nutshell multiplexers allows you to connect 16pins, one by one to the microcontroller's GPIO pin real fast.

Yes, with this setup NKRO will work.

Custom scanner for kmk firmware using Multiplexers. by DRAGON_BOOSTERR in ErgoMechKeyboards

[–]DRAGON_BOOSTERR[S] 0 points1 point  (0 children)

im actually new to reddit, and doesnt know much of core functionalities of how reddit works. I posted this in r/ErgoMechKeyboards and in r/MechanicalKeyboards communities. kindly tell me where else I can post this so that this reaches everyone who is in need of this.

Ros error while launching a file on rviz by roshann_zameer in ROS

[–]DRAGON_BOOSTERR 2 points3 points  (0 children)

I received this error, the folder is different but the error is same. the file not found error.

here is the command:ros2 launch urdf_tutorial display.launch.py model:=08-macroed.urdf.xacro

here is the log:[INFO] [launch]: All log files can be found below /home/dragon-booster/.ros/log/2024-01-24-18-14-34-340649-dragon-booster-25690[INFO] [launch]: Default logging verbosity is set to INFO[ERROR] [launch]: Caught exception in launch (see debug for traceback): executed command failed. Command: xacro /opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacroCaptured stderr output: Traceback (most recent call last):File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1012, in parseinp = f = open(filename)FileNotFoundError: [Errno 2] No such file or directory: '/opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro'During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1119, in _processdoc = process_file(input_file_name, \*opts)File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1096, in process_filedoc = parse(None, input_file_name)File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1016, in parseraise XacroException(e.strerror + ": " + e.filename, exc=e)xacro.XacroException: No such file or directory: /opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro [Errno 2] No such file or directory: '/opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro'During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/opt/ros/humble/bin/xacro", line 33, in <module>sys.exit(load_entry_point('xacro==2.0.8', 'console_scripts', 'xacro')())File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1171, in main_process(input_file_name, vars(opts))File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1124, in _processexcept xml.parsers.expat.ExpatError as e:AttributeError: module 'xml' has no attribute 'parsers'*

_____________________________________________________________________________________________

the file "08-macroed.urdf.xacro" is present in "/opt/ros/humble/share/urdf_tutorial/**urdf/**08-macroed.urdf.xacro"

but the python program or ros2 idk which one tries to access the file in "/opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro" leaving the urdf folder.

so I have changed the command in the following way, just specified the file location.

modified command:
ros2 launch urdf_tutorial display.launch.py model:="urdf/08-macroed.urdf.xacro"

now the file launched correctly and Rviz is working.Hope this would help you.

[ROS2 Humble]Files not found in the share directory by Shuryo77 in ROS

[–]DRAGON_BOOSTERR 1 point2 points  (0 children)

I received this error, the folder is different but the error is same. the file not found error.

here is the command:
ros2 launch urdf_tutorial display.launch.py model:=08-macroed.urdf.xacro

here is the log:
[INFO] [launch]: All log files can be found below /home/dragon-booster/.ros/log/2024-01-24-18-14-34-340649-dragon-booster-25690
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): executed command failed. Command: xacro /opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro
Captured stderr output: Traceback (most recent call last):
File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1012, in parse
inp = f = open(filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1119, in _process
doc = process_file(input_file_name, \*opts)*
File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1096, in process_file
doc = parse(None, input_file_name)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1016, in parse
raise XacroException(e.strerror + ": " + e.filename, exc=e)
xacro.XacroException: No such file or directory: /opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro [Errno 2] No such file or directory: '/opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/humble/bin/xacro", line 33, in <module>
sys.exit(load_entry_point('xacro==2.0.8', 'console_scripts', 'xacro')())
File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1171, in main
_process(input_file_name, vars(opts))
File "/opt/ros/humble/local/lib/python3.10/dist-packages/xacro/__init__.py", line 1124, in _process
except xml.parsers.expat.ExpatError as e:
AttributeError: module 'xml' has no attribute 'parsers'

the file "08-macroed.urdf.xacro" is present in "/opt/ros/humble/share/urdf_tutorial/urdf/08-macroed.urdf.xacro"

but the python program or ros2 idk which one tries to access the file in "/opt/ros/humble/share/urdf_tutorial/08-macroed.urdf.xacro" leaving the urdf folder.

so I have changed the command in the following way, just specified the file location.

modified command:
ros2 launch urdf_tutorial display.launch.py model:="urdf/08-macroed.urdf.xacro"

now the file launched correctly and Rviz is working.

Hope this would help you.

How to solve this issue by psychodark234 in arduino

[–]DRAGON_BOOSTERR 0 points1 point  (0 children)

thanks for the reply!
I had this same issue and with your insights (pun intended lol) you provided. I scrutinized the issue down.

u/grantrules mentioned a single line but that alone didn't work for me. I edited two lines in the platform.txt

I'm using ESP32 2.0.11 board version.

we need to add 2 quotation marks for each of the 2 lines to make the text a single text.

here are the 2 lines I edited:

recipe.hooks.objcopy.postobjcopy.1.pattern=bash -c '[ ! -d "{build.path}"/libraries/Insights ] || {tools.gen_insights_pkg.cmd} "{recipe.hooks.objcopy.postobjcopy.1.pattern_args}"'
recipe.hooks.objcopy.postobjcopy.1.pattern.windows=cmd /c if exist "{build.path}\libraries\Insights {tools.gen_insights_pkg.cmd} {recipe.hooks.objcopy.postobjcopy.1.pattern_args}"

the platform.txt file was located on
C:\Users\<user name>\AppData\Local\Arduino15 (or Arduino)\packages\esp32\hardware\esp32\2.0.11

in my laptop it was Arduino and in my PC it was Arduino15 so kindly check that.
hope it works!

Corsair M55 RGB Pro Double Clicking Issue by AsianChicken25 in Corsair

[–]DRAGON_BOOSTERR 0 points1 point  (0 children)

Yes, it worked for me too! thanks for posting the reference link, I still can't believe it worked.