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

jsk_spot_robot package for spot arm #1701

Open
wants to merge 258 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
451d2a4
[jsk_spot_robot] update README.md
sktometometo Nov 1, 2020
3c59eef
[jsk_spot_robot] update README.md
sktometometo Nov 1, 2020
fd0de6f
[jsk_spot_robot] update README.md
sktometometo Nov 1, 2020
552c4a3
[spoteus] support walking mode services
sktometometo Feb 16, 2021
c0a0d26
[spoteus] missing args , typo
k-okada Mar 16, 2021
2f2465b
[spoteus] add go-pos-nowait
sktometometo Mar 16, 2021
ae0eb5b
[spoteus] support trajectory action and add go-pos, go-pos-wait, go-p…
sktometometo Mar 16, 2021
12cc141
[spoteus] fix bugs in go-pos
sktometometo Mar 16, 2021
005dc7a
[jsk_spot_robot] update README.md
sktometometo Mar 18, 2021
5fa44b5
[jsk_spot_robot] update rosinstall
sktometometo Mar 18, 2021
796755a
[jsk_spot_robot] update README.md
sktometometo Mar 20, 2021
7f85b1e
[jsk_spot_robot] update .rosinstall file (#9)
sktometometo Apr 15, 2021
ab5f109
[spoteus] add .gitignore (#14)
sktometometo Apr 19, 2021
b57a930
[jsk_spot_robot] Add requirements.txt to explictly install bosdyn SDK…
tongtybj Apr 21, 2021
5e8398a
[spoteus] fix comment bug (#19)
mqcmd196 Apr 24, 2021
57270c7
[jsk_spot_startup] Refactor the function related the autowalk navigat…
tongtybj Apr 9, 2021
5ce069f
[jsk_spot_startup] Refactor the move-to sample using eus
tongtybj Apr 16, 2021
aac8205
[jsk_spot_startup] Fix the bug in spot eus move-to sample (#13)
tongtybj Apr 17, 2021
a4c842c
[spoteus] add body-pose method (#18)
mqcmd196 Apr 24, 2021
5b57f49
[spoteus][spoteus_demo] add spoteus_demo package (#15)
sktometometo Apr 25, 2021
6809334
[jsk_spot_robot] update README.md
sktometometo Nov 24, 2021
1f6860e
[jsk_spot_robot] some changes in README.md (#22)
tkmtnt7000 Apr 27, 2021
35a4acb
[spoteus] Fix bug about conversion from RPY Euler angle to Qauternion
tongtybj Apr 25, 2021
4d7d184
[spoteus] Make logging quiet when continuously execute :body-pose
tongtybj Apr 25, 2021
e44b1ee
[spoteus] Fix the dead lock in naming the slots about battery status …
tongtybj Jun 25, 2021
9bd5059
[jsk_spot_robot] update rosinstall
sktometometo Nov 24, 2021
08b7115
[jsk_spot_robot] add app_manager dependencies
sktometometo Nov 24, 2021
bc0658c
[jsk_spot_robot] add visualization_rwt to rosinstall
sktometometo Jul 3, 2021
818449b
[jsk_spot_robot] update rosinstall for jsk_3rdparty
sktometometo Jul 4, 2021
fb1ac73
[jsk_spot_robot] update rosinstall for jsk_demos
sktometometo Jul 4, 2021
421c6c3
[jsk_spot_robot] update README.md
sktometometo Nov 24, 2021
62c3d59
[jsk_spot_robot] add app_manager_utils
sktometometo Jul 11, 2021
3f82fe1
[jsk_spot_robot] add recorder plugin to rosinstall
sktometometo Nov 24, 2021
d38c483
[jsk_spot_robot] udpate rosinstall
sktometometo Jul 15, 2021
5f04da2
[spoteus_demo] add sample_basics.l
sktometometo Jul 22, 2021
8ace499
[spoteus_demo] remove autowalk data downloing
sktometometo Aug 11, 2021
f113b58
[jsk_spot_robot] update jsk_spot.rosinstall for aerial_robot
sktometometo Aug 25, 2021
d7c1ddf
[jsk_spot_robot] update README.md
sktometometo Sep 2, 2021
615d14c
[jsk_spot_robot] update README.md
sktometometo Sep 2, 2021
450add9
[jsk_spot_robot] update README.md
sktometometo Sep 2, 2021
a76338a
[jsk_spot_robot] update README.md
sktometometo Sep 3, 2021
8838bef
[jsk_spot_robot] update README and rosinstall
sktometometo Sep 18, 2021
f8557b9
[jsk_spot_robot] update README.md
sktometometo Sep 23, 2021
320a9a6
[jsk_spot_robot] update README.md
sktometometo Sep 23, 2021
3d4bb8d
[jsk_spot_robot] update README.md
sktometometo Sep 23, 2021
f24c54b
[jsk_spot_robot] Update udev rules installation instruction
sktometometo Nov 24, 2021
756c7a2
[jsk_spot_robot] update README.md
sktometometo Sep 24, 2021
6f20570
[jsk_spot_robot] update README.md
sktometometo Nov 24, 2021
0daa458
[jsk_spot_robot] update documentation
sktometometo Nov 24, 2021
edeac18
[jsk_spot_robot] add postfix setup
sktometometo Sep 27, 2021
a8756c5
[spoteus][spoteus_demo] add spoteus_demo package and move demo script…
sktometometo Nov 24, 2021
dfc482b
[jsk_spot_robot] update README.md
sktometometo Nov 24, 2021
7c97c23
[jsk_spot_robot] update jsk_recognition branch
sktometometo Oct 2, 2021
d7fee52
[jsk_spot_robot] remove audio_video_recorder from jsk_spot_user.rosin…
sktometometo Nov 9, 2021
1fd6ddc
[spoteus] Add body inverse kinematics to control spot pose in euslisp
708yamaguchi Nov 10, 2021
348009d
[spoteus] support body pose z by sending coords
mqcmd196 Nov 12, 2021
354d8b6
[spoteus] support both r p y and coords, still need test
mqcmd196 Nov 15, 2021
81c18ed
[spoteus] fix bugs and support both vec and coords
mqcmd196 Nov 16, 2021
c53c47e
[spoteus] fix log levec
mqcmd196 Nov 16, 2021
bda3852
[spoteus] support both vector and list
mqcmd196 Nov 16, 2021
bed052d
[spoteus] support new body pose in sample
mqcmd196 Nov 16, 2021
48e2a63
[spoteus] Restrict XY movement in spot :fullbody-inverse-kinematics
sktometometo Nov 23, 2021
59221ef
[jsk_spot_robot] add gdrive_ros to rosinstall
sktometometo Nov 24, 2021
9c05f93
[jsk_spot_robot] move jsk_spot_user.rosinstall to jsk_spot_dev and ad…
sktometometo Nov 24, 2021
e2465a7
[spoteus] update package.xml for dependencies
sktometometo Nov 24, 2021
37a57b4
[spoteus] add method for dock and undock
tkmtnt7000 Nov 25, 2021
6a6177b
[jsk_spot_startup] add jsk_spot_startup package
sktometometo Nov 1, 2020
5d8c065
[jsk_spot_startup] fix the filepath of a rviz config in rviz.launch
sktometometo Nov 2, 2020
c44a410
[jsk_spot_startup] update the package.xml to fix the version, a maint…
sktometometo Nov 2, 2020
a73d411
[jsk_spot_startup] add Install section, Testing Section to CMakeLists…
sktometometo Nov 2, 2020
eb8d2de
[jsk_spot_startup] add play.launch and record.launch
sktometometo Nov 18, 2020
fe45091
[jsk_spot_startup] update record.launch
sktometometo Feb 10, 2021
3c2ba4d
[jsk_spot_startup] add peripheral.launch to bringup peripheral devices
sktometometo Feb 16, 2021
8e5821d
[jsk_spot_startup] update driver.launch to add required property to s…
sktometometo Feb 16, 2021
e59a5ed
[jsk_spot_startup] add panoramma image topic to record.launch and add…
sktometometo Feb 16, 2021
e20c4ce
[jsk_spot_startup] change rviz view to robot centric and add panorama…
sktometometo Feb 17, 2021
d8679d1
[jsk_spot_startup] update rviz config to add base_link trajectory
sktometometo Feb 17, 2021
ed101c1
[jsk_spot_startup] update play.launch
sktometometo Feb 17, 2021
d8c7dab
[jsk_spot_startup] update rviz config to visualize battery percentage
sktometometo Feb 17, 2021
0b93284
[jsk_spot_startup] update play.launch
sktometometo Feb 17, 2021
286c074
[jsk_spot_startup] add jsk_spot_bringup.launch
sktometometo Feb 18, 2021
bd601f8
[jsk_spot_startup] update rviz config
sktometometo Feb 18, 2021
b7d46ac
[jsk_spot_startup] add resize node for panorama image
sktometometo Feb 25, 2021
73c2c4c
[jsk_spot_startup] update rviz.launch and add rviz config
sktometometo Feb 25, 2021
c8c3d27
[jsk_spot_startup] update spot_with_mot rviz config
sktometometo Mar 1, 2021
0c15d87
[jsk_spot_startup] add respeaker_node to peripheral.launch
sktometometo Mar 2, 2021
85c99a9
[jsk_spot_startup] removed unused launch
sktometometo Mar 2, 2021
f309cc1
[jsk_spot_startup] add interaction launch
sktometometo Mar 4, 2021
adec05d
[jsk_spot_startup] fix bugs in interaction.launch
sktometometo Mar 4, 2021
51fdb0c
[jsk_spot_startup] add rviz config
sktometometo Mar 4, 2021
c0f2adf
[jsk_spot_startup] fix typo
sktometometo Mar 4, 2021
dfcc816
[jsk_spot_startup] update rviz config
sktometometo Mar 4, 2021
de63e35
[jsk_spot_startup] use english by default to speech_recognition
sktometometo Mar 4, 2021
7e03402
[jsk_spot_startup] add japanese online speech recgonition
sktometometo Mar 4, 2021
9fd75fb
[jsk_spot_startup] fix topic name
sktometometo Mar 5, 2021
1f48aa4
[jsk_spot_startup] update twist_mux to add develop cmd_vel input
sktometometo Mar 5, 2021
5391d62
[jsk_spot_startup] add respawn attribute to spot_ros.py node in drive…
sktometometo Mar 5, 2021
b7ac7de
[jsk_spot_startup] fix audio topic name in interaction.launchg
sktometometo Mar 5, 2021
4e696c4
[jsk_spot_startup] mv basic launch to launch/include
sktometometo Mar 19, 2021
ed316d4
[jsk_spot_startup] fix jsk_spot_bringup.launch
sktometometo Mar 19, 2021
e4bd208
[jsk_spot_startup] add additional topics to record.launch
sktometometo Mar 19, 2021
ec9d9c8
[jsk_spot_startup] update rviz config
sktometometo Mar 20, 2021
e56f0db
[jsk_spot_startup] updte rviz config
sktometometo Mar 20, 2021
d2e11f3
[jsk_spot_startup] add cmd_vel_smoother
sktometometo Mar 22, 2021
9d570de
[jsk_spot_startup] add spot_recognition topics to record.launch
sktometometo Mar 22, 2021
4dbfc7a
[jsk_spot_startup] (#10)
tongtybj Apr 15, 2021
18bdf5e
[jsk_spot_startup] split credential to yaml file
sktometometo Nov 24, 2021
5074a65
[jsk_spot_startup] Add options to the files for rosbag and add depend…
mqcmd196 Apr 20, 2021
2d29ecb
[jsk_spot_startup] add laptop_battery_monitor.py to driver.launch
sktometometo Jun 15, 2021
2555a0f
[jsk_spot_startup] add laptop battery visualizer to rviz
sktometometo Jun 15, 2021
2260418
[jsk_spot_startup] add object detection visualization to rosbag_play
sktometometo Jun 17, 2021
9feadc5
[jsk_spot_startup] add front microphone (#27)
sktometometo Jul 4, 2021
b0fc828
[jsk_spot_startup] add shinjo to maintainers
sktometometo Nov 24, 2021
3318a2e
[jsk_spot_startup] add cable_connection\detector.py
sktometometo Jul 3, 2021
326361a
[jsk_spot_startup] update rviz config to use raw image
sktometometo Jul 15, 2021
4d0e520
[jsk_spot_startup] update battery scripts and update launch
sktometometo Aug 13, 2021
454bf63
[jsk_spot_startup] fix battery scripts
sktometometo Aug 13, 2021
68fbed9
[jsk_spot_startup] Add exec_depend packages to jsk_spot_startup
708yamaguchi Jun 29, 2021
16ad09d
[jsk_spot_startup] add launch_robot_state_publisher arg
sktometometo Aug 26, 2021
551a20c
[jsk_spot_startup] move battery visualization script to driver.launch
sktometometo Aug 29, 2021
172809e
[jsk_spot_startup] update package.xml
sktometometo Sep 8, 2021
393cd09
[jsk_spot_startup] add use_ args
sktometometo Sep 9, 2021
6f09d9f
[jsk_spot_startup] update spot rviz
sktometometo Sep 9, 2021
5b60500
[.travis] add spot_ros to .travis.rosinstall.melodic
sktometometo Sep 20, 2021
fc00435
[jsk_spot_startup] fix driver.launch for spot_ros
sktometometo Sep 17, 2021
538f988
[jsk_spot_startup] fix bugs
sktometometo Sep 24, 2021
2b43bba
[jsk_spot_startup] update cable_connection_detector.py
sktometometo Oct 1, 2021
50dd8cf
[jsk_spot_startup] fix bugs of cable_connection_detector
sktometometo Oct 2, 2021
31f074f
[jsk_spot_startup] changed spot_credential place to be loaded to /var…
sktometometo Oct 2, 2021
56d6de6
[jsk_spot_startup] add ros_speech_recognition node to interaction.launch
sktometometo Oct 6, 2021
6f956a1
[jsk_spot_startup] add battery temperature warning
tkmtnt7000 Oct 25, 2021
c561f0b
[jsk_spot_robot] fix typo __main_ -> __main__ and change error messages
tkmtnt7000 Oct 25, 2021
e4578ee
[jsk_spot_startup] suppress battery warning
knorth55 Oct 27, 2021
502459f
[jsk_spot_startup] add plug_server to driver.launch
sktometometo Oct 29, 2021
ef98fcf
[jsk_spot_startup] use voice_text as default
mqcmd196 Nov 24, 2021
8ece0e0
[jsk_spot_startup] update package.xml and CMakeLists.txt
sktometometo Nov 26, 2021
231c4fa
[jsk_spot_startup] add battery perceptage speech
sktometometo Dec 1, 2021
7d21dc9
[jsk_spot_startup] fix format for python
sktometometo Dec 3, 2021
648150d
[jsk_spot_startup] go back to dock when battery low
sktometometo Dec 3, 2021
29ee7f3
[jsk_spot_startup] update battery_notifier
sktometometo Dec 10, 2021
ea8aa1a
[jsk_spot_startup] remove quatered panorama image
sktometometo Dec 10, 2021
99cf9bb
[jsk_spot_startup] support audio device settings
sktometometo Dec 16, 2021
457906c
[spoteus] add sample script of :go-to-spot
tkmtnt7000 Dec 7, 2021
169a8b1
[jsk_spot_startup] fix battery notifier remapping
sktometometo Dec 17, 2021
1664a10
spoteus/CMakeLists.txt: use collada2eus to generate lisp from urdf, n…
k-okada Sep 27, 2022
dbbed97
jsk_spot_robot/requirements.txt: update bosdyn to 3.2.0
k-okada Sep 27, 2022
33f4595
spoteus: use https://github.com/cst0/spot_ros for arm-spot, update sp…
k-okada Sep 27, 2022
f73131d
[jsk_spot_robot] update rosinstall
sktometometo Sep 23, 2021
5cea467
update to use https://github.com/cst0/spot_ros, which has better arm …
k-okada Sep 27, 2022
fbf4000
[spoteus/spot-interface.l] support /spot/status/manipulator_state
k-okada Sep 30, 2022
f1af28e
jsk_spot_startup/launch/jsk_spot_bringup.launch: add launch_interacti…
k-okada Sep 30, 2022
2b81e2e
update jsk_spot_startup/launch/include/driver.launch to support teleop
k-okada Sep 30, 2022
78e33b8
jsk_spot_robot/jsk_spot_driver.rosinstall: add jsk_mode_tools with cu…
k-okada Sep 30, 2022
142f291
jsk_robot_common/jsk_robot_startup/config/dualsense_joystick_teleop.y…
k-okada Oct 15, 2022
4e8b24c
[jsk_spot_startup] add apps
k-okada Oct 20, 2022
1db780d
[quadruped_joystick_teleop.cpp] show response messages too
k-okada Oct 20, 2022
60cec34
[jsk_spot_driver.rosinstall] add robot_upstart, aques_talk, app_manager
k-okada Oct 20, 2022
d30eb9a
jsk_spot_startup/{battery_notifier.py, /cable_connection_detector.py]…
k-okada Oct 20, 2022
29ddbde
jsk_spot_startup/launch/rosbag_record.launch: we only needs compress,…
k-okada Oct 20, 2022
1fbad10
launch/jsk_spot_bringup.launch add robot/type, robot/name, see https:…
k-okada Oct 20, 2022
48e9a0f
[jsk_spot_startup/launch/include/driver.launch] update minimum driver…
k-okada Oct 20, 2022
592aac7
use jsk_spot_startup/config/head_teleop_twist_joy.yaml
k-okada Oct 20, 2022
0e61b90
add node_scripts/call_spot_dock_with_id.py, which support /spot/dock_…
k-okada Oct 20, 2022
f67dfca
jsk_spot_startup/node_scripts/battery_notifier.py: notify battery sta…
k-okada Oct 20, 2022
8cace0c
update jsk_spot_robot/SetupInternalPCAndSpotUser.md, some important i…
k-okada Oct 20, 2022
ac2e25d
update URL of spot_ros
k-okada Oct 20, 2022
511321f
add end_effector_to_joy.py
k-okada Oct 20, 2022
85d0223
end_effector_to_joy.py: use float for maxrange, add offset_x, offset_y
k-okada Oct 21, 2022
c0ba33c
call estop using raw rospy API
k-okada Oct 21, 2022
365c628
update head_teleop_joy param
k-okada Oct 21, 2022
966c49e
support min/max of x,y,yaw
k-okada Oct 21, 2022
698639d
jsk_spot_startup/launch/jsk_spot_bringup.launch: enable to pass all a…
k-okada Oct 21, 2022
6a8f54b
jsk_spot_robot/jsk_spot_driver.rosinstall:fix typo sques_atlk -> aque…
k-okada Oct 21, 2022
a8ff6e1
update README
k-okada Oct 24, 2022
55e875e
Merge branch 'master' into spot_arm
k-okada Oct 25, 2022
9de0873
add jsk_spot_user.rosinstall
k-okada Nov 1, 2022
5936a23
fix supervisor and app chooser URLs
a-ichikura Nov 3, 2022
9479e67
Merge pull request #81 from a-ichikura/fix_url_typo
k-okada Nov 3, 2022
a8f7645
add start-grasp/stop-grasp method
k-okada Nov 9, 2022
1d8d245
Merge pull request #83 from k-okada/add_grasp_method
k-okada Nov 9, 2022
70e3197
add missing dependencse, fix style
k-okada Nov 9, 2022
e02221d
Merge branch 'spot_arm' of github.com:k-okada/jsk_robot into spot_arm
k-okada Nov 9, 2022
1f2ec8f
jsk_robot_common/jsk_robot_startup/CMakeLists.txt: install python cod…
k-okada Nov 10, 2022
bebaba6
jsk_robot_startup/lifelog/common_logger.launch add save_faces and sav…
k-okada Nov 10, 2022
5a4314d
jsk_robot_startup/package.xml: update to version 3, add python3-* pac…
k-okada Nov 10, 2022
1ef195c
install orocos_kdl_python, mongodb_store, catkin for compile python3
k-okada Nov 10, 2022
0f7977f
SetupInternalPCAndSpotUser.md: add information for more python3 installs
k-okada Nov 10, 2022
f74dd98
add launch/include/lifelog.launch
k-okada Nov 10, 2022
9cc5bc8
use jsk_spot_startup/config/dualsense_teleop_twist_joy.yaml
k-okada Nov 16, 2022
9dc66f1
fix config/dualsense_teleop_twist_joy.yaml to speedup
k-okada Nov 16, 2022
0055322
end_effector_to_joy.py: use position, not force for better performance.
k-okada Nov 16, 2022
036be2f
fix jsk_spot_startup/config/head_teleop_twist_joy.yaml: head_teleop_j…
k-okada Nov 16, 2022
6fd0e05
use jsk_spot_robot/jsk_spot_startup/CMakeLists.txt: catkin_install_py…
k-okada Nov 16, 2022
17de7ac
head-lead-teleop.l: run start-func(set-impedance) when R Joy Stick is…
k-okada Nov 16, 2022
83d4a0b
use jsk_topic_tools/SynchronizedThrottle to generate compressed/thort…
k-okada Nov 17, 2022
37b4900
add sample_pick_object_in_image.launch ../node_scripts/sample_pick_ob…
k-okada Nov 17, 2022
f31842e
fix head-end-coords : set z-axis to up, to follow jsk style, suppot (…
k-okada Nov 26, 2022
cb48298
launch/include/driver.launch: fix /spot/status/battery_percentage typ…
k-okada Nov 26, 2022
43d80b9
use 'arm' branch of k-okada/spot_ros-arm reposity, instead of hash
k-okada Nov 26, 2022
d805954
add *ri* interface to :pick-object-in-image
k-okada Dec 7, 2022
cee1106
use logwarn for enable/distable center information
k-okada Dec 7, 2022
424121a
set respawn true for battery notifier
k-okada Dec 7, 2022
5c489a2
use google_chat ad dialogfow in interaction.launch
k-okada Dec 7, 2022
7cbacc2
save data only when /publish_trigger_mongodb_event published
k-okada Dec 7, 2022
2e68bf0
add ublox gps driver
k-okada Dec 7, 2022
bd3a72c
fix jsk_spot_startup/node_scripts instal location
k-okada Dec 7, 2022
e193510
fix config/dualsense_teleop_twist_joy.yaml parameters
k-okada Dec 7, 2022
bc32d34
update head-lead-teleop, add to play with dogtoy
k-okada Dec 7, 2022
eb92096
add google_chat_logger, fix /aws_auto_checkin_app/class location
k-okada Dec 7, 2022
a98eabd
add perception.launch, ncb_provier, aws_auto_checkin
k-okada Dec 7, 2022
6156065
Merge remote-tracking branch 'jsk-ros-pkg/master' into spot_arm
k-okada Dec 7, 2022
f82437e
add coreio extentions tools
k-okada Dec 8, 2022
0195454
add allow-other-keys for args
knorth55 Feb 10, 2023
8391f03
fix typo on jsk_spot_driver.rosinstall/ubox
k-okada Feb 10, 2023
5798d90
Merge pull request #89 from knorth55/spot_arm-interface
k-okada Feb 13, 2023
1ed14e3
add use_gps
k-okada Mar 30, 2023
d71c3a5
jsk_spot_robot/coreio/base: add development environment for CoreI/O, …
k-okada Mar 30, 2023
37fd4e2
Merge branch 'spot_arm' of https://github.com/k-okada/jsk_robot into …
k-okada Mar 30, 2023
7aea0a3
add script to buid network compute server docekr images, see https://…
k-okada Mar 30, 2023
df5c401
network_compute_server.py: fix network_compute_server.py for core i/o…
k-okada Mar 30, 2023
f0ab135
update Documents for CORE I/O
k-okada Mar 31, 2023
3b40a39
coreio/base/Dockerfile: set TimeZone
k-okada Mar 31, 2023
127b87a
coreio/base/Makefile: create and share ~/.ros directory
k-okada Apr 1, 2023
01f1df7
Update mongodb_replication_params.yaml
k-okada Apr 10, 2023
5caa58c
enable to query from extra server (replicate server), keep google_cha…
k-okada Apr 10, 2023
2c69055
add google cloud language and gdrive_ros, update credentials for strelka
k-okada Apr 10, 2023
75017d5
add ublox in rosbag record
k-okada Dec 16, 2022
f844aa1
update head-lead-teleop.l for ichikura demo
k-okada Dec 16, 2022
6806fc5
[jsk_spot_startup] unstow arm in every cases
k-okada Apr 4, 2023
25c963c
Merge pull request #93 from sktometometo/PR/spot_arm/update_internal_…
k-okada Apr 17, 2023
f1f1167
temp
k-okada Apr 18, 2023
12871ba
picks google cloud arg name
k-okada Apr 18, 2023
4e2bee5
Merge pull request #100 from a-ichikura/temp_20230418_internal_intera…
k-okada Apr 21, 2023
2670e32
[jsk_spot_robot] spoteus/test/test-spot.l enable test-spot-init
k-okada Nov 16, 2023
271991d
[spoteus] remove error in spot-init with kinematics simulator
keitayoneda Nov 15, 2023
1215375
Merge pull request #104 from k-okada/spot_arm_sim
k-okada Nov 16, 2023
e0c6053
Merge branch 'master' into spot_arm
k-okada Nov 16, 2023
df240b0
remove outdated comments
k-okada Nov 16, 2023
84fbe6a
Add R1 teleop
sktometometo Oct 16, 2023
9b68d99
[jsk_spot_startup] add switchbot
sktometometo Nov 10, 2023
d861c61
Merge pull request #109 from sktometometo/PR/spot_arm/add-R1-teleop
k-okada Nov 22, 2023
e145d50
Merge pull request #110 from sktometometo/PR/spot_arm/add-switchbot-c…
k-okada Nov 22, 2023
b3682c1
[spoteus] remove find_package(collada_urdf) from CMakeLists.txt
k-okada Nov 30, 2023
9882356
add launch/sample_walk_to_point_in_image.launch node_scripts/sample_w…
k-okada Oct 30, 2024
ed8a7bc
CMakeLists.txt add install command to work on
k-okada Nov 15, 2024
295c1e0
[coreio/base] update docker container for two-stage system, one for s…
k-okada Nov 15, 2024
97d253f
[jsk_spot_driver.rosinstall]: comment outed aques_talk due to missing…
k-okada Nov 15, 2024
47851a1
[jsk_spot_robot/SetupInternalPCAndSpotUser.md] update doc
k-okada Nov 15, 2024
f085ba3
[jsk_spot_robot] fix CMakeLists.txt to work on install layout
k-okada Nov 16, 2024
4e745e9
[jsk_spot_robot/coreio/base/Dockerfile] add example to install debian…
k-okada Nov 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.rosinstall.melodic
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,15 @@
local-name: DENSORobot/denso_cobotta_ros
uri: https://github.com/DENSORobot/denso_cobotta_ros.git
version: bb60e75adb8477ed3402561b4ec3ba687af3f397
# switchbot_ros is not correctly released.
# see: https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/356
- git:
local-name: jsk-ros-pkg/jsk_3rdparty
uri: https://github.com/jsk-ros-pkg/jsk_3rdparty.git
version: f0ab7bba54523b8f9945ed4a3e9c0efec0c8dde9
# for jsk_spot_teleop in jsk_robot
# spot_msgs is not released
- git:
local-name: clearpathrobotics/spot_ros
uri: https://github.com/clearpathrobotics/spot_ros.git
version: 8e1554b95cf2875a53f14fda8165957559b0ffb7
3 changes: 2 additions & 1 deletion jsk_aero_robot/aeroeus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ catkin_package(

## rosrun euscollada collada2eus_urdfmodel $(rospack find aero_description)/robots/aero.urdf $(rospack find aero_description)/robots/aero.yaml aero.l

install(FILES aero-interface.l aero-hand.l aero-wheels.l DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
file(GLOB LISP_FILES *.l)
install(FILES ${LISP_FILES} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
2 changes: 1 addition & 1 deletion jsk_aero_robot/jsk_aero_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif()
find_package(catkin REQUIRED)
catkin_package()

install(DIRECTORY launch raw_maps scripts
install(DIRECTORY launch raw_maps scripts config test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

Expand Down
3 changes: 2 additions & 1 deletion jsk_baxter_robot/baxtereus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ install(DIRECTORY euslisp test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

install(FILES baxter.l baxter-interface.l baxter-util.l baxter.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
file(GLOB LISP_FILES *.l)
install(FILES ${LISP_FILES} baxter.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

if(CATKIN_ENABLE_TESTING)
find_package(catkin REQUIRED COMPONENTS rostest)
Expand Down
5 changes: 3 additions & 2 deletions jsk_baxter_robot/jsk_baxter_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ include_directories(
catkin_add_env_hooks(99.jsk_baxter_startup SHELLS bash zsh
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/env-hooks)

install(DIRECTORY config jsk_baxter_joy jsk_baxter_lifelog jsk_baxter_moveit jsk_baxter_sensors jsk_baxter_tools
install(DIRECTORY config jsk_baxter_joy jsk_baxter_lifelog jsk_baxter_moveit jsk_baxter_sensors jsk_baxter_tools jsk_baxter_description jsk_baxter_machine jsk_baxter_udev
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

install(FILES baxter.launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
file(GLOB LAUNCH_FILES *.launch)
install(FILES ${LAUNCH_FILES} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

2 changes: 1 addition & 1 deletion jsk_baxter_robot/jsk_baxter_web/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ include_directories(
${catkin_INCLUDE_DIRS}
)

install(DIRECTORY launch
install(DIRECTORY launch www
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
5 changes: 3 additions & 2 deletions jsk_denso_robot/cobottaeus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/cobotta.l
add_custom_target(compile_cobotta ALL DEPENDS ${PROJECT_SOURCE_DIR}/cobotta.l)


install(DIRECTORY euslisp test
install(DIRECTORY sample test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

install(FILES cobotta.l cobotta-interface.l cobotta-util.l cobotta.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
file(GLOB LISP_FILES *.l)
install(FILES ${LISP_FILES} cobotta.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

if(CATKIN_ENABLE_TESTING)
find_package(catkin REQUIRED COMPONENTS rostest)
Expand Down
6 changes: 3 additions & 3 deletions jsk_denso_robot/jsk_cobotta_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ catkin_package()
#############
## Install ##
#############
install(DIRECTORY config launch scripts data
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

install(FILES jsk_cobotta.machine
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
# install(FILES jsk_cobotta.machine
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

#############
## Testing ##
Expand Down
2 changes: 1 addition & 1 deletion jsk_fetch_robot/jsk_fetch_gazebo_demo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(jsk_fetch_gazebo_demo)
find_package(catkin)
catkin_package()

install(DIRECTORY euslisp launch config
install(DIRECTORY euslisp launch config test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
Expand Down
10 changes: 9 additions & 1 deletion jsk_fetch_robot/jsk_fetch_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ catkin_add_env_hooks(99.jsk_fetch_startup SHELLS bash zsh sh
#############
## Install ##
#############
install(DIRECTORY config launch scripts data
file(GLOB_RECURSE SCRIPT_PROGRAMS scripts/*)
foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS})
if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$")
catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
else()
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/scripts/)
endif()
endforeach()
install(DIRECTORY config launch data apps euslisp robots supervisor_scripts tmuxinator_yaml udev_rules upstart_scripts
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

Expand Down
2 changes: 1 addition & 1 deletion jsk_kinova_robot/jsk_kinova_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ catkin_package()
#############
## Install ##
#############
install(DIRECTORY config launch
install(DIRECTORY config launch scripts
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

Expand Down
2 changes: 1 addition & 1 deletion jsk_kinova_robot/kinovaeus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ install(DIRECTORY test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

install(FILES kinova.l kinova-interface.l kinova-util.l DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(FILES kinova.l kinova-interface.l kinova-util.l gen3_robotiq_2f_85.yaml gen3_robotiq_2f_140.yaml gen3_lite_gen3_lite_2f.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

if(CATKIN_ENABLE_TESTING)
find_package(catkin REQUIRED COMPONENTS rostest)
Expand Down
2 changes: 1 addition & 1 deletion jsk_magni_robot/jsk_magni_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ catkin_package()
#############
## Install ##
#############
install(DIRECTORY launch
install(DIRECTORY launch data
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

Expand Down
21 changes: 20 additions & 1 deletion jsk_naoqi_robot/jsk_nao_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(catkin REQUIRED COMPONENTS)
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
catkin_python_setup()

################################################
## Declare ROS messages, services and actions ##
Expand Down Expand Up @@ -130,13 +130,32 @@ include_directories(
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
file(GLOB_RECURSE SCRIPT_PROGRAMS nodes/*)
foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS})
if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$")
catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
else()
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/nodes)
endif()
endforeach()
file(GLOB_RECURSE SCRIPT_PROGRAMS scripts/*)
foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS})
if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$")
catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
else()
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/scripts)
endif()
endforeach()

## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
# )
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
Expand Down
9 changes: 9 additions & 0 deletions jsk_naoqi_robot/jsk_nao_startup/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

# fetch values from package.xml
setup_args = generate_distutils_setup()

setup(**setup_args)
12 changes: 11 additions & 1 deletion jsk_naoqi_robot/jsk_pepper_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@ project(jsk_pepper_startup)

find_package(catkin REQUIRED COMPONENTS)

catkin_python_setup()

catkin_package()

install(DIRECTORY launch nodes sample
install(DIRECTORY launch nodes sample apps config
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
file(GLOB_RECURSE SCRIPT_PROGRAMS script/*)
foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS})
if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$")
catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
else()
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/script)
endif()
endforeach()

if(CATKIN_ENABLE_TESTING AND NOT $ENV{ROS_DISTRO} STREQUAL "hydro")
find_package(catkin REQUIRED COMPONENTS rostest roslaunch)
Expand Down
9 changes: 9 additions & 0 deletions jsk_naoqi_robot/jsk_pepper_startup/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

# fetch values from package.xml
setup_args = generate_distutils_setup()

setup(**setup_args)
10 changes: 10 additions & 0 deletions jsk_naoqi_robot/naoeus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,13 @@ compile_naoqi_model(nao naoV50_generated_urdf)
if(nao_meshes_FOUND)
add_rostest(test/naoeus.test)
endif()

###
### install
###
install(DIRECTORY patch test launch sample webots euslisp
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
file(GLOB LISP_FILES *.l)
install(FILES ${LISP_FILES} nao.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

9 changes: 8 additions & 1 deletion jsk_naoqi_robot/peppereus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ if(pepper_meshes_FOUND AND CATKIN_ENABLE_TESTING)
add_rostest(test/peppereus.test)
endif()


###
### install
###
install(DIRECTORY doc test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
file(GLOB LISP_FILES *.l)
install(FILES ${LISP_FILES} pepper.yaml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
4 changes: 4 additions & 0 deletions jsk_pr2_robot/jsk_pr2_calibration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ project(jsk_pr2_calibration)
find_package(catkin REQUIRED COMPONENTS)

catkin_package()

install(DIRECTORY scripts
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
4 changes: 3 additions & 1 deletion jsk_pr2_robot/jsk_pr2_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ catkin_add_env_hooks(99.jsk_pr2_startup SHELLS bash zsh

install(DIRECTORY config jsk_pr2_image_transport
jsk_pr2_joy jsk_pr2_lifelog jsk_pr2_move_base jsk_pr2_moveit
jsk_pr2_perception jsk_pr2_rocon jsk_pr2_teleop
jsk_pr2_sensors jsk_pr2_warning src sample
apps
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

file(GLOB _LAUNCH_FILES ${PROJECT_SOURCE_DIR}/ *.launch) # add / to avoid to get current directory
Expand All @@ -18,5 +20,5 @@ foreach(_LAUNCH_FILE ${_LAUNCH_FILES})
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
endforeach()

install(FILES install_pr1040_description.sh jsk_pr2.machine plugin.xml startup.app
install(FILES iai_kitchen.rosinstall jsk_pr2.rosinstall install_pr1040_description.sh jsk_pr2.machine plugin.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
7 changes: 6 additions & 1 deletion jsk_pr2_robot/pr2_base_trajectory_action/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ add_executable(pr2_base_trajectory_action
src/pr2_base_trajectory_action_controller_node.cpp)
target_link_libraries(pr2_base_trajectory_action ${catkin_LIBRARIES} ${Boost_LIBRARIES})

install(DIRECTORY config include launch
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
)

install(DIRECTORY config launch test
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

install(TARGETS pr2_base_trajectory_action
Expand Down
21 changes: 19 additions & 2 deletions jsk_robot_common/jsk_robot_startup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,35 @@ if($ENV{ROS_DISTRO} STRGREATER "indigo") # quadruped_joystick_teleop.cpp uses c+
)
endif()

install(DIRECTORY lifelog util launch images config cfg
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h")

install(DIRECTORY util launch images config cfg euslisp apps
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)

install(FILES lifelog_nodelet_plugins.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

file(GLOB_RECURSE SCRIPT_PROGRAMS lifelog/*)
foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS})
if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$")
catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
else()
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/lifelog)
endif()
endforeach()
file(GLOB_RECURSE SCRIPT_PROGRAMS scripts/*)
foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS})
if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$")
catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
else()
install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/scripts)
endif()
endforeach()


if(mongodb_store_FOUND)
install(TARGETS jsk_robot_lifelog
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mongodb_store_extras: [["robot-database.jsk.imi.i.u-tokyo.ac.jp", 27017],["musca.jsk.imi.i.u-tokyo.ac.jp",27017]]
mongodb_store_extras: [["robot-database.jsk.imi.i.u-tokyo.ac.jp", 27017]]
replication_client:
interval: 3600
delete_after_move: true
Expand Down
1 change: 1 addition & 0 deletions jsk_robot_common/jsk_robot_startup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<build_depend>sensor_msgs</build_depend>
<build_depend>dynamic_reconfigure</build_depend>
<build_depend>urdf</build_depend>

<exec_depend>actionlib_msgs</exec_depend>
<exec_depend>app_manager</exec_depend>
<exec_depend>dynamic_reconfigure</exec_depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def callback(self,msg):
rospy.loginfo("raw: x={:5.2f}, y={:5.2f}, v={:5.2f}, r={:5.2f} -> cmd: x={:5.2f}, y={:5.2f}, r={:5.2f}".format(x, y, v, r, xx, yy, rr))

msg.axes = list(msg.axes) # tuple to list
msg.axes[self.axis_linear_x] = xx
msg.axes[self.axis_linear_y] = yy
msg.axes[self.axis_angular] = rr
msg.axes[self.axis_linear_x] = max(min(xx, self.axis_linear_x_max), self.axis_linear_x_min)
msg.axes[self.axis_linear_y] = max(min(yy, self.axis_linear_y_max), self.axis_linear_y_min)
msg.axes[self.axis_angular] = max(min(rr, self.axis_angular_max), self.axis_angular_min)

self.pub.publish(msg)

Expand All @@ -74,13 +74,26 @@ def spin(self):
if rospy.Time.now() - self.last_publish_time > rospy.Duration(3.0):
self.pub.publish(msg)

def get_param(self, key1, key2, value):
p = rospy.get_param(key1)
if type(p) == dict and p.has_key(key2):
return p[key2]
else:
return value

def __init__(self):
rospy.init_node('joy_topic_completion')
self.pass_through = rospy.get_param('~pass_through', True)
self.enable_button = int(rospy.get_param('~enable_button', 0))
self.axis_linear_x = int(rospy.get_param('~axis_linear', {'x': 1})['x'])
self.axis_linear_y = int(rospy.get_param('~axis_linear', {'y': 2})['y'])
self.axis_angular = int(rospy.get_param('~axis_angular', {'yaw': 0})['yaw'])
self.axis_linear_x_min = float(self.get_param('~axis_linear', 'x_min', -1))
self.axis_linear_x_max = float(self.get_param('~axis_linear', 'x_max', 1))
self.axis_linear_y_min = float(self.get_param('~axis_linear', 'y_min', -1))
self.axis_linear_y_max = float(self.get_param('~axis_linear', 'y_max', 1))
self.axis_angular_min = float(self.get_param('~axis_angular', 'yaw_min', -0.5))
self.axis_angular_max = float(self.get_param('~axis_angular', 'yaw_max', 0.5))

self.last_publish_time = rospy.Time.now()

Expand Down
Loading
Loading