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
Can "jsk_rviz_plugin/PieChart' change rotation direction? #781
Comments
this is because we develop this plugin for decreasing values such as battery capacity or voltage. |
Thank you for your reply, @knorth55. Could you please point me which file is for the current piechart implementation? I am happy to take a look and work on adding the direction selection feature. Thanks! |
@knorth55 That looks great! Really appreciate your prompt help! One last question, I installed the package using Can you please show me where to find that file and then how to recompile the package? :) Thanks a lot! |
@fuhuan26 You can install cd /path/to/your/catkin_ws/src # In the following, I use "catkin build" command. If you have a workspace using "catkin build", you can use that workspace. If you have a workspace using "catkin_make" and don't mind building time, you can use that workspace on condition that you use "catkin_make" instead of "catkin build". If you don't have a workspace, please create it by "mkdir -p /path/to/your/catkin_ws/src" and I recommend using "catkin build" in the following.
git clone https://github.com/knorth55/jsk_visualization.git
cd jsk_visualization
git checkout pie-chart-clockwise
cd /path/to/your/catkin_ws
rosdep update
rosdep install --from-paths src --ignore-src
sudo apt install python-catkin-tools # If you use "catkin build" for the first time
catkin build jsk_rviz_plugins # or just "catkin_make" if you choose to use "catkin_make"
source /path/to/your/catkin_ws/devel/setup.bash # This is required on every terminal launching rviz FYI |
@pazeshun That solved my problem. The new pie chart looks great! Thank you so much for your help! どうもありがとうございました! |
Hi,
The default rotation direction for pie chart is counterclockwise. I am wondering if there is a way to change it to clockwise.
As I would like to use it to mimic vehicle speedometer, which is more intuitive in clockwise.
Thanks!
The text was updated successfully, but these errors were encountered: