-
Notifications
You must be signed in to change notification settings - Fork 50
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
how can we use rgc? #453
Comments
Yes, you need to recompile to use rgc.
But before you go to this direction , insert the following code and
check when GC runs. If euslisp slows only when it displays "gc ... "
then you can tell gc stops your process, otherwise, you need to
understand what is happening exactly...
(setq sys::*gc-hook* #'(lambda (a b) (format t ";; gc ~A ~A~%" a b)))
…--
◉ Kei Okada
--
◉ Kei Okada
2020年11月6日(金) 11:53 Shingo Kitagawa <[email protected]>:
@k-okada
How can we use rgc which is implemented in 2006?
http://www.jsk.t.u-tokyo.ac.jp/~k-okada/paper/2006_jssst_okada_rgc.pdf
Do we need to include Makefile.rgc and build by ourselves?
Some people says euslisp is slow because of gc in macro (I'm not sure), so I want to check it.
https://github.com/euslisp/EusLisp/blob/master/lisp/Makefile.Linux64#L96
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I checked gc with gc-hook and I remove all |
please share the code
--
◉ Kei Okada
2020年11月10日(火) 3:15 Shingo Kitagawa <[email protected]>:
… I checked gc with gc-hook and I remove all when unless dolist and stop
most of the gc in my control loop.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#453 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXCG37QL5ROB4VRVYA3SPAWVRANCNFSM4TMEQS4Q>
.
|
here, you can find the code. I'm also opening a PR. |
please let me know how to reproduce your problem on my local machine.
…--
◉ Kei Okada
2020年11月10日(火) 13:36 Shingo Kitagawa <[email protected]>:
here, you can find the code.
https://github.com/knorth55/eus_vive/blob/master/euslisp/lib/robot-vr-interface.l
I'm also opening a PR.
jsk-ros-pkg/jsk_control#731
<jsk-ros-pkg/jsk_control#731>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#453 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXEIMMPTLQ3NC6C6IOLSPC7LVANCNFSM4TMEQS4Q>
.
|
In order to try that, we need vr controller (vive controller). I set 10Hz to run the main loop for vr controller, but it wasn't running in 10Hz actually. |
how about using rosbag to publish vr controller - related topics ,and runs
euslisp code?
--
◉ Kei Okada
2020年11月10日(火) 15:07 Shingo Kitagawa <[email protected]>:
… In order to try that, we need vr controller (vive controller).
I will improve my code to work with other interface like rviz, too, so
please wait a week or a month.
I set 10Hz to run the main loop for vr controller, but it wasn't running
in 10Hz actually.
It depends on computer spec, so I just want to make my code faster.
Another way is compiling all the codes and make .so but I first tried
with removing macro method.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#453 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXBZMBFE6XNLTYQAUKTSPDKDTANCNFSM4TMEQS4Q>
.
|
that's a good idea. |
@k-okada
How can we use rgc which is implemented in 2006?
http://www.jsk.t.u-tokyo.ac.jp/~k-okada/paper/2006_jssst_okada_rgc.pdf
Do we need to include
Makefile.rgc
and build by ourselves?Some people says euslisp is slow because of gc in macro (I'm not sure), so I want to check it.
https://github.com/euslisp/EusLisp/blob/master/lisp/Makefile.Linux64#L96
The text was updated successfully, but these errors were encountered: